Package org.compiere.model
Class MRequestAction
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_R_RequestAction
-
- org.compiere.model.MRequestAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,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, ISSELFSERVICE_AD_Reference_ID, ISSELFSERVICE_No, ISSELFSERVICE_Yes, 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, 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, LOCAL_TRX_PREFIX, 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_Client_ID, COLUMNNAME_AD_Org_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_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateCompletePlan, COLUMNNAME_DateNextAction, COLUMNNAME_DateStartPlan, COLUMNNAME_EndDate, COLUMNNAME_IsActive, 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_RequestAction_UU, COLUMNNAME_R_RequestType_ID, COLUMNNAME_R_Resolution_ID, COLUMNNAME_R_Status_ID, COLUMNNAME_SalesRep_ID, COLUMNNAME_StartDate, COLUMNNAME_Summary, COLUMNNAME_TaskStatus, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description MRequestAction(Properties ctx, int R_RequestAction_ID, String trxName)
Persistency ConstructorMRequestAction(Properties ctx, ResultSet rs, String trxName)
Load ConstrutorMRequestAction(MRequest request, boolean newRecord)
Parent Action Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNullColumn(String columnName)
Add Null Columnprotected boolean
beforeSave(boolean newRecord)
Before SaveString
getChangesHTML()
Get Changes as HTML stringString
getCreatedByName()
Get Name of creator-
Methods inherited from class org.compiere.model.X_R_RequestAction
get_AccessLevel, getA_Asset, getA_Asset_ID, getAD_Role, getAD_Role_ID, getAD_User, getAD_User_ID, getC_Activity, getC_Activity_ID, getC_BPartner, getC_BPartner_ID, getC_Invoice, getC_Invoice_ID, getC_Order, getC_Order_ID, getC_Payment, getC_Payment_ID, getC_Project, getC_Project_ID, getConfidentialType, getDateCompletePlan, getDateNextAction, getDateStartPlan, getEndDate, getIsEscalated, getIsSelfService, getM_InOut, getM_InOut_ID, getM_Product, getM_Product_ID, getM_ProductSpent, getM_ProductSpent_ID, getM_RMA, getM_RMA_ID, getNullColumns, getPriority, getPriorityUser, getQtyInvoiced, getQtyPlan, getQtySpent, getR_Category, getR_Category_ID, getR_Group, getR_Group_ID, getR_Request, getR_Request_ID, getR_RequestAction_ID, getR_RequestAction_UU, getR_RequestType, getR_RequestType_ID, getR_Resolution, getR_Resolution_ID, getR_Status, getR_Status_ID, getSalesRep, getSalesRep_ID, getStartDate, getSummary, getTaskStatus, initPO, isInvoiced, 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_RequestAction_UU, 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, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Methods inherited from interface org.compiere.model.I_R_RequestAction
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
-
-
-
Constructor Detail
-
MRequestAction
public MRequestAction(Properties ctx, int R_RequestAction_ID, String trxName)
Persistency Constructor- Parameters:
ctx
- contextR_RequestAction_ID
- id
-
MRequestAction
public MRequestAction(Properties ctx, ResultSet rs, String trxName)
Load Construtor- Parameters:
ctx
- contextrs
- result set
-
MRequestAction
public MRequestAction(MRequest request, boolean newRecord)
Parent Action Constructor- Parameters:
request
- parentnewRecord
- 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 classPO
- Parameters:
newRecord
- new- Returns:
- true
-
-