Package org.compiere.model
Class X_AD_WorkflowProcessor
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_WorkflowProcessor
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_WorkflowProcessor
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MWorkflowProcessor
public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor, I_Persistent
Generated Model for AD_WorkflowProcessor- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
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_AD_WorkflowProcessor
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Schedule_ID, COLUMNNAME_AD_WorkflowProcessor_ID, COLUMNNAME_AD_WorkflowProcessor_UU, COLUMNNAME_AlertOverPriority, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateLastRun, COLUMNNAME_DateNextRun, COLUMNNAME_Description, COLUMNNAME_InactivityAlertDays, COLUMNNAME_IsActive, COLUMNNAME_KeepLogDays, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_RemindDays, COLUMNNAME_Supervisor_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_WorkflowProcessor(Properties ctx, int AD_WorkflowProcessor_ID, String trxName)
Standard ConstructorX_AD_WorkflowProcessor(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_AD_Schedule
getAD_Schedule()
int
getAD_Schedule_ID()
Get Schedule.int
getAD_WorkflowProcessor_ID()
Get Workflow Processor.String
getAD_WorkflowProcessor_UU()
Get AD_WorkflowProcessor_UU.int
getAlertOverPriority()
Get Alert over Priority.Timestamp
getDateLastRun()
Get Date last run.Timestamp
getDateNextRun()
Get Date next run.String
getDescription()
Get Description.int
getInactivityAlertDays()
Get Inactivity Alert Days.int
getKeepLogDays()
Get Days to keep Log.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.int
getRemindDays()
Get Reminder Days.I_AD_User
getSupervisor()
int
getSupervisor_ID()
Get Supervisor.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
Get Process Now.void
setAD_Schedule_ID(int AD_Schedule_ID)
Set Schedule.void
setAD_WorkflowProcessor_ID(int AD_WorkflowProcessor_ID)
Set Workflow Processor.void
setAD_WorkflowProcessor_UU(String AD_WorkflowProcessor_UU)
Set AD_WorkflowProcessor_UU.void
setAlertOverPriority(int AlertOverPriority)
Set Alert over Priority.void
setDateLastRun(Timestamp DateLastRun)
Set Date last run.void
setDateNextRun(Timestamp DateNextRun)
Set Date next run.void
setDescription(String Description)
Set Description.void
setInactivityAlertDays(int InactivityAlertDays)
Set Inactivity Alert Days.void
setKeepLogDays(int KeepLogDays)
Set Days to keep Log.void
setName(String Name)
Set Name.void
setProcessing(boolean Processing)
Set Process Now.void
setRemindDays(int RemindDays)
Set Reminder Days.void
setSupervisor_ID(int Supervisor_ID)
Set Supervisor.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_AD_WorkflowProcessor
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Constructor Detail
-
X_AD_WorkflowProcessor
public X_AD_WorkflowProcessor(Properties ctx, int AD_WorkflowProcessor_ID, String trxName)
Standard Constructor
-
X_AD_WorkflowProcessor
public X_AD_WorkflowProcessor(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_Schedule
public I_AD_Schedule getAD_Schedule() throws RuntimeException
- Specified by:
getAD_Schedule
in interfaceI_AD_WorkflowProcessor
- Throws:
RuntimeException
-
setAD_Schedule_ID
public void setAD_Schedule_ID(int AD_Schedule_ID)
Set Schedule.- Specified by:
setAD_Schedule_ID
in interfaceI_AD_WorkflowProcessor
- Parameters:
AD_Schedule_ID
- Schedule
-
getAD_Schedule_ID
public int getAD_Schedule_ID()
Get Schedule.- Specified by:
getAD_Schedule_ID
in interfaceI_AD_WorkflowProcessor
- Returns:
- Schedule
-
setAD_WorkflowProcessor_ID
public void setAD_WorkflowProcessor_ID(int AD_WorkflowProcessor_ID)
Set Workflow Processor.- Specified by:
setAD_WorkflowProcessor_ID
in interfaceI_AD_WorkflowProcessor
- Parameters:
AD_WorkflowProcessor_ID
- Workflow Processor Server
-
getAD_WorkflowProcessor_ID
public int getAD_WorkflowProcessor_ID()
Get Workflow Processor.- Specified by:
getAD_WorkflowProcessor_ID
in interfaceI_AD_WorkflowProcessor
- Returns:
- Workflow Processor Server
-
setAD_WorkflowProcessor_UU
public void setAD_WorkflowProcessor_UU(String AD_WorkflowProcessor_UU)
Set AD_WorkflowProcessor_UU.- Specified by:
setAD_WorkflowProcessor_UU
in interfaceI_AD_WorkflowProcessor
- Parameters:
AD_WorkflowProcessor_UU
- AD_WorkflowProcessor_UU
-
getAD_WorkflowProcessor_UU
public String getAD_WorkflowProcessor_UU()
Get AD_WorkflowProcessor_UU.- Specified by:
getAD_WorkflowProcessor_UU
in interfaceI_AD_WorkflowProcessor
- Returns:
- AD_WorkflowProcessor_UU
-
setAlertOverPriority
public void setAlertOverPriority(int AlertOverPriority)
Set Alert over Priority.- Specified by:
setAlertOverPriority
in interfaceI_AD_WorkflowProcessor
- Parameters:
AlertOverPriority
- Send alert email when over priority
-
getAlertOverPriority
public int getAlertOverPriority()
Get Alert over Priority.- Specified by:
getAlertOverPriority
in interfaceI_AD_WorkflowProcessor
- Returns:
- Send alert email when over priority
-
setDateLastRun
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRun
in interfaceI_AD_WorkflowProcessor
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRun
in interfaceI_AD_WorkflowProcessor
- Returns:
- Date the process was last run.
-
setDateNextRun
public void setDateNextRun(Timestamp DateNextRun)
Set Date next run.- Specified by:
setDateNextRun
in interfaceI_AD_WorkflowProcessor
- Parameters:
DateNextRun
- Date the process will run next
-
getDateNextRun
public Timestamp getDateNextRun()
Get Date next run.- Specified by:
getDateNextRun
in interfaceI_AD_WorkflowProcessor
- Returns:
- Date the process will run next
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_WorkflowProcessor
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_WorkflowProcessor
- Returns:
- Optional short description of the record
-
setInactivityAlertDays
public void setInactivityAlertDays(int InactivityAlertDays)
Set Inactivity Alert Days.- Specified by:
setInactivityAlertDays
in interfaceI_AD_WorkflowProcessor
- Parameters:
InactivityAlertDays
- Send Alert when there is no activity after days (0= no alert)
-
getInactivityAlertDays
public int getInactivityAlertDays()
Get Inactivity Alert Days.- Specified by:
getInactivityAlertDays
in interfaceI_AD_WorkflowProcessor
- Returns:
- Send Alert when there is no activity after days (0= no alert)
-
setKeepLogDays
public void setKeepLogDays(int KeepLogDays)
Set Days to keep Log.- Specified by:
setKeepLogDays
in interfaceI_AD_WorkflowProcessor
- Parameters:
KeepLogDays
- Number of days to keep the log entries
-
getKeepLogDays
public int getKeepLogDays()
Get Days to keep Log.- Specified by:
getKeepLogDays
in interfaceI_AD_WorkflowProcessor
- Returns:
- Number of days to keep the log entries
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_WorkflowProcessor
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_WorkflowProcessor
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_AD_WorkflowProcessor
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_AD_WorkflowProcessor
- Returns:
- Process Now
-
setRemindDays
public void setRemindDays(int RemindDays)
Set Reminder Days.- Specified by:
setRemindDays
in interfaceI_AD_WorkflowProcessor
- Parameters:
RemindDays
- Days between sending Reminder Emails for a due or inactive Document
-
getRemindDays
public int getRemindDays()
Get Reminder Days.- Specified by:
getRemindDays
in interfaceI_AD_WorkflowProcessor
- Returns:
- Days between sending Reminder Emails for a due or inactive Document
-
getSupervisor
public I_AD_User getSupervisor() throws RuntimeException
- Specified by:
getSupervisor
in interfaceI_AD_WorkflowProcessor
- Throws:
RuntimeException
-
setSupervisor_ID
public void setSupervisor_ID(int Supervisor_ID)
Set Supervisor.- Specified by:
setSupervisor_ID
in interfaceI_AD_WorkflowProcessor
- Parameters:
Supervisor_ID
- Supervisor for this user/organization - used for escalation and approval
-
getSupervisor_ID
public int getSupervisor_ID()
Get Supervisor.- Specified by:
getSupervisor_ID
in interfaceI_AD_WorkflowProcessor
- Returns:
- Supervisor for this user/organization - used for escalation and approval
-
-