Adempiere 3.5.2a

org.compiere.model
Class MRequestAction

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_R_RequestAction
          extended by org.compiere.model.MRequestAction
All Implemented Interfaces:
Serializable, Comparator, I_Persistent, I_R_RequestAction, Evaluatee

public class MRequestAction
extends X_R_RequestAction

Request History Model

Version:
$Id: MRequestAction.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.compiere.model.X_R_RequestAction
CONFIDENTIALTYPE_AD_Reference_ID, CONFIDENTIALTYPE_Internal, CONFIDENTIALTYPE_PartnerConfidential, CONFIDENTIALTYPE_PrivateInformation, CONFIDENTIALTYPE_PublicInformation, ISESCALATED_AD_Reference_ID, ISESCALATED_No, ISESCALATED_Yes, ISINVOICED_AD_Reference_ID, ISINVOICED_No, ISINVOICED_Yes, ISSELFSERVICE_AD_Reference_ID, ISSELFSERVICE_No, ISSELFSERVICE_Yes, M_PRODUCTSPENT_ID_AD_Reference_ID, PRIORITY_AD_Reference_ID, PRIORITY_High, PRIORITY_Low, PRIORITY_Medium, PRIORITY_Minor, PRIORITY_Urgent, PRIORITYUSER_AD_Reference_ID, PRIORITYUSER_High, PRIORITYUSER_Low, PRIORITYUSER_Medium, PRIORITYUSER_Minor, PRIORITYUSER_Urgent, SALESREP_ID_AD_Reference_ID, TASKSTATUS_0NotStarted, TASKSTATUS_100Complete, TASKSTATUS_20Started, TASKSTATUS_40Busy, TASKSTATUS_60GoodProgress, TASKSTATUS_80NearlyDone, TASKSTATUS_90Finishing, TASKSTATUS_95AlmostDone, TASKSTATUS_99CleaningUp, TASKSTATUS_AD_Reference_ID
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_R_RequestAction
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_ConfidentialType, COLUMNNAME_DateCompletePlan, COLUMNNAME_DateNextAction, COLUMNNAME_DateStartPlan, COLUMNNAME_EndDate, COLUMNNAME_IsEscalated, COLUMNNAME_IsInvoiced, COLUMNNAME_IsSelfService, COLUMNNAME_M_InOut_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductSpent_ID, COLUMNNAME_M_RMA_ID, COLUMNNAME_NullColumns, COLUMNNAME_Priority, COLUMNNAME_PriorityUser, COLUMNNAME_QtyInvoiced, COLUMNNAME_QtyPlan, COLUMNNAME_QtySpent, COLUMNNAME_R_Category_ID, COLUMNNAME_R_Group_ID, COLUMNNAME_R_Request_ID, COLUMNNAME_R_RequestAction_ID, COLUMNNAME_R_RequestType_ID, COLUMNNAME_R_Resolution_ID, COLUMNNAME_R_Status_ID, COLUMNNAME_SalesRep_ID, COLUMNNAME_StartDate, COLUMNNAME_Summary, COLUMNNAME_TaskStatus, Model, Table_ID, Table_Name
 
Constructor Summary
MRequestAction(MRequest request, boolean newRecord)
          Parent Action Constructor
MRequestAction(Properties ctx, int R_RequestAction_ID, String trxName)
          Persistency Constructor
MRequestAction(Properties ctx, ResultSet rs, String trxName)
          Load Construtor
 
Method Summary
 void addNullColumn(String columnName)
          Add Null Column
protected  boolean beforeSave(boolean newRecord)
          Before Save
 String getChangesHTML()
          Get Changes as HTML string
 String getCreatedByName()
          Get Name of creator
 
Methods inherited from class org.compiere.model.X_R_RequestAction
get_AccessLevel, getA_Asset_ID, getA_Asset, getAD_Role_ID, getAD_Role, getAD_User_ID, getAD_User, getC_Activity_ID, getC_Activity, getC_BPartner_ID, getC_BPartner, getC_Invoice_ID, getC_Invoice, getC_Order_ID, getC_Order, getC_Payment_ID, getC_Payment, getC_Project_ID, getC_Project, getConfidentialType, getDateCompletePlan, getDateNextAction, getDateStartPlan, getEndDate, getIsEscalated, getIsInvoiced, getIsSelfService, getM_InOut_ID, getM_InOut, getM_Product_ID, getM_Product, getM_ProductSpent_ID, getM_RMA_ID, getM_RMA, getNullColumns, getPriority, getPriorityUser, getQtyInvoiced, getQtyPlan, getQtySpent, getR_Category_ID, getR_Category, getR_Group_ID, getR_Group, getR_Request_ID, getR_Request, getR_RequestAction_ID, getR_RequestType_ID, getR_RequestType, getR_Resolution_ID, getR_Resolution, getR_Status_ID, getR_Status, getSalesRep_ID, getStartDate, getSummary, getTaskStatus, initPO, setA_Asset_ID, setAD_Role_ID, setAD_User_ID, setC_Activity_ID, setC_BPartner_ID, setC_Invoice_ID, setC_Order_ID, setC_Payment_ID, setC_Project_ID, setConfidentialType, setDateCompletePlan, setDateNextAction, setDateStartPlan, setEndDate, setIsEscalated, setIsInvoiced, setIsSelfService, setM_InOut_ID, setM_Product_ID, setM_ProductSpent_ID, setM_RMA_ID, setNullColumns, setPriority, setPriorityUser, setQtyInvoiced, setQtyPlan, setQtySpent, setR_Category_ID, setR_Group_ID, setR_Request_ID, setR_RequestAction_ID, setR_RequestType_ID, setR_Resolution_ID, setR_Status_ID, setSalesRep_ID, setStartDate, setSummary, setTaskStatus, toString
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Constructor Detail

MRequestAction

public MRequestAction(Properties ctx,
                      int R_RequestAction_ID,
                      String trxName)
Persistency Constructor

Parameters:
ctx - context
R_RequestAction_ID - id

MRequestAction

public MRequestAction(Properties ctx,
                      ResultSet rs,
                      String trxName)
Load Construtor

Parameters:
ctx - context
rs - result set

MRequestAction

public MRequestAction(MRequest request,
                      boolean newRecord)
Parent Action Constructor

Parameters:
request - parent
newRecord - new (copy all)
Method Detail

addNullColumn

public void addNullColumn(String columnName)
Add Null Column

Parameters:
columnName -

getCreatedByName

public String getCreatedByName()
Get Name of creator

Returns:
name

getChangesHTML

public String getChangesHTML()
Get Changes as HTML string

Returns:
changes

beforeSave

protected boolean beforeSave(boolean newRecord)
Before Save

Overrides:
beforeSave in class PO
Parameters:
newRecord - new
Returns:
true

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.