Package org.compiere.model
Class X_AD_Scheduler
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Scheduler
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Scheduler
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MScheduler
Generated Model for AD_Scheduler
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ReportOutputType AD_Reference_ID=200169static final String
CSV = CSVstatic final String
HTML = HTMLstatic final String
PDF = PDFstatic final String
XLS = XLSstatic final String
XLSX = XLSXFields 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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_AD_Scheduler
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Schedule_ID, COLUMNNAME_AD_Scheduler_ID, COLUMNNAME_AD_Scheduler_UU, COLUMNNAME_AD_Table_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateLastRun, COLUMNNAME_DateNextRun, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_KeepLogDays, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_R_MailText_ID, COLUMNNAME_Record_ID, COLUMNNAME_ReportOutputType, COLUMNNAME_SchedulerState, COLUMNNAME_Supervisor_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_Scheduler
(Properties ctx, int AD_Scheduler_ID, String trxName) Standard ConstructorX_AD_Scheduler
(Properties ctx, int AD_Scheduler_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Scheduler
(Properties ctx, String AD_Scheduler_UU, String trxName) Standard ConstructorX_AD_Scheduler
(Properties ctx, String AD_Scheduler_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Scheduler
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Print Format.int
Get Process.int
Get Schedule.int
Get Scheduler.Get AD_Scheduler_UU.int
Get Table.Get Date Last Run.Get Date Next Run.Get Description.int
Get Days to keep Log.Get Record ID/ColumnNamegetName()
Get Name.int
Get Mail Template.int
Get Record ID.Get Report Output Type.Get Scheduler State.int
Get Supervisor.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Process Now.void
setAD_PrintFormat_ID
(int AD_PrintFormat_ID) Set Print Format.void
setAD_Process_ID
(int AD_Process_ID) Set Process.void
setAD_Schedule_ID
(int AD_Schedule_ID) Set Schedule.void
setAD_Scheduler_ID
(int AD_Scheduler_ID) Set Scheduler.void
setAD_Scheduler_UU
(String AD_Scheduler_UU) Set AD_Scheduler_UU.void
setAD_Table_ID
(int AD_Table_ID) Set Table.void
setDateLastRun
(Timestamp DateLastRun) Set Date Last Run.void
setDateNextRun
(Timestamp DateNextRun) Set Date Next Run.void
setDescription
(String Description) Set Description.void
setKeepLogDays
(int KeepLogDays) Set Days to keep Log.void
Set Name.void
setProcessing
(boolean Processing) Set Process Now.void
setR_MailText_ID
(int R_MailText_ID) Set Mail Template.void
setRecord_ID
(int Record_ID) Set Record ID.void
setReportOutputType
(String ReportOutputType) Set Report Output Type.void
setSchedulerState
(Object SchedulerState) Set Scheduler State.void
setSupervisor_ID
(int Supervisor_ID) Set Supervisor.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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_Scheduler
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
-
Field Details
-
REPORTOUTPUTTYPE_AD_Reference_ID
public static final int REPORTOUTPUTTYPE_AD_Reference_IDReportOutputType AD_Reference_ID=200169- See Also:
-
REPORTOUTPUTTYPE_CSV
CSV = CSV- See Also:
-
REPORTOUTPUTTYPE_HTML
HTML = HTML- See Also:
-
REPORTOUTPUTTYPE_PDF
PDF = PDF- See Also:
-
REPORTOUTPUTTYPE_XLS
XLS = XLS- See Also:
-
REPORTOUTPUTTYPE_XLSX
XLSX = XLSX- See Also:
-
-
Constructor Details
-
X_AD_Scheduler
Standard Constructor -
X_AD_Scheduler
public X_AD_Scheduler(Properties ctx, int AD_Scheduler_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_Scheduler
Standard Constructor -
X_AD_Scheduler
public X_AD_Scheduler(Properties ctx, String AD_Scheduler_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_Scheduler
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_PrintFormat
- Specified by:
getAD_PrintFormat
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID) Set Print Format.- Specified by:
setAD_PrintFormat_ID
in interfaceI_AD_Scheduler
- Parameters:
AD_PrintFormat_ID
- Data Print Format
-
getAD_PrintFormat_ID
public int getAD_PrintFormat_ID()Get Print Format.- Specified by:
getAD_PrintFormat_ID
in interfaceI_AD_Scheduler
- Returns:
- Data Print Format
-
getAD_Process
- Specified by:
getAD_Process
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID) Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_Scheduler
- Parameters:
AD_Process_ID
- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()Get Process.- Specified by:
getAD_Process_ID
in interfaceI_AD_Scheduler
- Returns:
- Process or Report
-
getAD_Schedule
- Specified by:
getAD_Schedule
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setAD_Schedule_ID
public void setAD_Schedule_ID(int AD_Schedule_ID) Set Schedule.- Specified by:
setAD_Schedule_ID
in interfaceI_AD_Scheduler
- Parameters:
AD_Schedule_ID
- Schedule
-
getAD_Schedule_ID
public int getAD_Schedule_ID()Get Schedule.- Specified by:
getAD_Schedule_ID
in interfaceI_AD_Scheduler
- Returns:
- Schedule
-
setAD_Scheduler_ID
public void setAD_Scheduler_ID(int AD_Scheduler_ID) Set Scheduler.- Specified by:
setAD_Scheduler_ID
in interfaceI_AD_Scheduler
- Parameters:
AD_Scheduler_ID
- Schedule Processes
-
getAD_Scheduler_ID
public int getAD_Scheduler_ID()Get Scheduler.- Specified by:
getAD_Scheduler_ID
in interfaceI_AD_Scheduler
- Returns:
- Schedule Processes
-
setAD_Scheduler_UU
Set AD_Scheduler_UU.- Specified by:
setAD_Scheduler_UU
in interfaceI_AD_Scheduler
- Parameters:
AD_Scheduler_UU
- AD_Scheduler_UU
-
getAD_Scheduler_UU
Get AD_Scheduler_UU.- Specified by:
getAD_Scheduler_UU
in interfaceI_AD_Scheduler
- Returns:
- AD_Scheduler_UU
-
getAD_Table
- Specified by:
getAD_Table
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID) Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_Scheduler
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()Get Table.- Specified by:
getAD_Table_ID
in interfaceI_AD_Scheduler
- Returns:
- Database Table information
-
setDateLastRun
Set Date Last Run.- Specified by:
setDateLastRun
in interfaceI_AD_Scheduler
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
Get Date Last Run.- Specified by:
getDateLastRun
in interfaceI_AD_Scheduler
- Returns:
- Date the process was last run.
-
setDateNextRun
Set Date Next Run.- Specified by:
setDateNextRun
in interfaceI_AD_Scheduler
- Parameters:
DateNextRun
- Date the process will run next
-
getDateNextRun
Get Date Next Run.- Specified by:
getDateNextRun
in interfaceI_AD_Scheduler
- Returns:
- Date the process will run next
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_Scheduler
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_Scheduler
- Returns:
- Optional short description of the record
-
setKeepLogDays
public void setKeepLogDays(int KeepLogDays) Set Days to keep Log.- Specified by:
setKeepLogDays
in interfaceI_AD_Scheduler
- 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_Scheduler
- Returns:
- Number of days to keep the log entries
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_Scheduler
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_Scheduler
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_AD_Scheduler
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_AD_Scheduler
- Returns:
- Process Now
-
setRecord_ID
public void setRecord_ID(int Record_ID) Set Record ID.- Specified by:
setRecord_ID
in interfaceI_AD_Scheduler
- Parameters:
Record_ID
- Direct internal record ID
-
getRecord_ID
public int getRecord_ID()Get Record ID.- Specified by:
getRecord_ID
in interfaceI_AD_Scheduler
- Returns:
- Direct internal record ID
-
setReportOutputType
Set Report Output Type.- Specified by:
setReportOutputType
in interfaceI_AD_Scheduler
- Parameters:
ReportOutputType
- Report Output Type
-
getReportOutputType
Get Report Output Type.- Specified by:
getReportOutputType
in interfaceI_AD_Scheduler
- Returns:
- Report Output Type
-
getR_MailText
- Specified by:
getR_MailText
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setR_MailText_ID
public void setR_MailText_ID(int R_MailText_ID) Set Mail Template.- Specified by:
setR_MailText_ID
in interfaceI_AD_Scheduler
- Parameters:
R_MailText_ID
- Text templates for mailings
-
getR_MailText_ID
public int getR_MailText_ID()Get Mail Template.- Specified by:
getR_MailText_ID
in interfaceI_AD_Scheduler
- Returns:
- Text templates for mailings
-
setSchedulerState
Set Scheduler State.- Specified by:
setSchedulerState
in interfaceI_AD_Scheduler
- Parameters:
SchedulerState
- State of this scheduler record (not scheduled, started or stopped)
-
getSchedulerState
Get Scheduler State.- Specified by:
getSchedulerState
in interfaceI_AD_Scheduler
- Returns:
- State of this scheduler record (not scheduled, started or stopped)
-
getSupervisor
- Specified by:
getSupervisor
in interfaceI_AD_Scheduler
- Throws:
RuntimeException
-
setSupervisor_ID
public void setSupervisor_ID(int Supervisor_ID) Set Supervisor.- Specified by:
setSupervisor_ID
in interfaceI_AD_Scheduler
- 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_Scheduler
- Returns:
- Supervisor for this user/organization - used for escalation and approval
-