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
public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent
Generated Model for AD_Scheduler- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
REPORTOUTPUTTYPE_AD_Reference_ID
ReportOutputType AD_Reference_ID=200169static String
REPORTOUTPUTTYPE_CSV
CSV = CSVstatic String
REPORTOUTPUTTYPE_HTML
HTML = HTMLstatic String
REPORTOUTPUTTYPE_PDF
PDF = PDFstatic String
REPORTOUTPUTTYPE_XLS
XLS = XLSstatic String
REPORTOUTPUTTYPE_XLSX
XLSX = XLSX-
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_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
Constructors Constructor Description X_AD_Scheduler(Properties ctx, int AD_Scheduler_ID, String trxName)
Standard ConstructorX_AD_Scheduler(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_PrintFormat
getAD_PrintFormat()
int
getAD_PrintFormat_ID()
Get Print Format.I_AD_Process
getAD_Process()
int
getAD_Process_ID()
Get Process.I_AD_Schedule
getAD_Schedule()
int
getAD_Schedule_ID()
Get Schedule.int
getAD_Scheduler_ID()
Get Scheduler.String
getAD_Scheduler_UU()
Get AD_Scheduler_UU.I_AD_Table
getAD_Table()
int
getAD_Table_ID()
Get Table.Timestamp
getDateLastRun()
Get Date last run.Timestamp
getDateNextRun()
Get Date next run.String
getDescription()
Get Description.int
getKeepLogDays()
Get Days to keep Log.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.I_R_MailText
getR_MailText()
int
getR_MailText_ID()
Get Mail Template.int
getRecord_ID()
Get Record ID.String
getReportOutputType()
Get Report Output Type.Object
getSchedulerState()
Get Scheduler State.I_AD_User
getSupervisor()
int
getSupervisor_ID()
Get Supervisor.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
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
setName(String Name)
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.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_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 Detail
-
REPORTOUTPUTTYPE_AD_Reference_ID
public static final int REPORTOUTPUTTYPE_AD_Reference_ID
ReportOutputType AD_Reference_ID=200169- See Also:
- Constant Field Values
-
REPORTOUTPUTTYPE_CSV
public static final String REPORTOUTPUTTYPE_CSV
CSV = CSV- See Also:
- Constant Field Values
-
REPORTOUTPUTTYPE_HTML
public static final String REPORTOUTPUTTYPE_HTML
HTML = HTML- See Also:
- Constant Field Values
-
REPORTOUTPUTTYPE_PDF
public static final String REPORTOUTPUTTYPE_PDF
PDF = PDF- See Also:
- Constant Field Values
-
REPORTOUTPUTTYPE_XLS
public static final String REPORTOUTPUTTYPE_XLS
XLS = XLS- See Also:
- Constant Field Values
-
REPORTOUTPUTTYPE_XLSX
public static final String REPORTOUTPUTTYPE_XLSX
XLSX = XLSX- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_Scheduler
public X_AD_Scheduler(Properties ctx, int AD_Scheduler_ID, String trxName)
Standard Constructor
-
X_AD_Scheduler
public X_AD_Scheduler(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_PrintFormat
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
- 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
public I_AD_Process getAD_Process() throws RuntimeException
- 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
public I_AD_Schedule getAD_Schedule() throws RuntimeException
- 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
public void setAD_Scheduler_UU(String AD_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
public String getAD_Scheduler_UU()
Get AD_Scheduler_UU.- Specified by:
getAD_Scheduler_UU
in interfaceI_AD_Scheduler
- Returns:
- AD_Scheduler_UU
-
getAD_Table
public I_AD_Table getAD_Table() throws RuntimeException
- 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
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRun
in interfaceI_AD_Scheduler
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRun
in interfaceI_AD_Scheduler
- Returns:
- Date the process was last run.
-
setDateNextRun
public void setDateNextRun(Timestamp DateNextRun)
Set Date next run.- Specified by:
setDateNextRun
in interfaceI_AD_Scheduler
- Parameters:
DateNextRun
- Date the process will run next
-
getDateNextRun
public Timestamp getDateNextRun()
Get Date next run.- Specified by:
getDateNextRun
in interfaceI_AD_Scheduler
- Returns:
- Date the process will run next
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_Scheduler
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String 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
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_Scheduler
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_Scheduler
- 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_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
public void setReportOutputType(String ReportOutputType)
Set Report Output Type.- Specified by:
setReportOutputType
in interfaceI_AD_Scheduler
- Parameters:
ReportOutputType
- Report Output Type
-
getReportOutputType
public String getReportOutputType()
Get Report Output Type.- Specified by:
getReportOutputType
in interfaceI_AD_Scheduler
- Returns:
- Report Output Type
-
getR_MailText
public I_R_MailText getR_MailText() throws RuntimeException
- 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
public void setSchedulerState(Object SchedulerState)
Set Scheduler State.- Specified by:
setSchedulerState
in interfaceI_AD_Scheduler
- Parameters:
SchedulerState
- State of this scheduler record (not scheduled, started or stopped)
-
getSchedulerState
public Object getSchedulerState()
Get Scheduler State.- Specified by:
getSchedulerState
in interfaceI_AD_Scheduler
- Returns:
- State of this scheduler record (not scheduled, started or stopped)
-
getSupervisor
public I_AD_User getSupervisor() throws RuntimeException
- 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
-
-