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 intREPORTOUTPUTTYPE_AD_Reference_IDReportOutputType AD_Reference_ID=200169static StringREPORTOUTPUTTYPE_CSVCSV = CSVstatic StringREPORTOUTPUTTYPE_HTMLHTML = HTMLstatic StringREPORTOUTPUTTYPE_PDFPDF = PDFstatic StringREPORTOUTPUTTYPE_XLSXLS = XLSstatic StringREPORTOUTPUTTYPE_XLSXXLSX = 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 intget_AccessLevel()AccessLevelI_AD_PrintFormatgetAD_PrintFormat()intgetAD_PrintFormat_ID()Get Print Format.I_AD_ProcessgetAD_Process()intgetAD_Process_ID()Get Process.I_AD_SchedulegetAD_Schedule()intgetAD_Schedule_ID()Get Schedule.intgetAD_Scheduler_ID()Get Scheduler.StringgetAD_Scheduler_UU()Get AD_Scheduler_UU.I_AD_TablegetAD_Table()intgetAD_Table_ID()Get Table.TimestampgetDateLastRun()Get Date last run.TimestampgetDateNextRun()Get Date next run.StringgetDescription()Get Description.intgetKeepLogDays()Get Days to keep Log.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameStringgetName()Get Name.I_R_MailTextgetR_MailText()intgetR_MailText_ID()Get Mail Template.intgetRecord_ID()Get Record ID.StringgetReportOutputType()Get Report Output Type.ObjectgetSchedulerState()Get Scheduler State.I_AD_UsergetSupervisor()intgetSupervisor_ID()Get Supervisor.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisProcessing()Get Process Now.voidsetAD_PrintFormat_ID(int AD_PrintFormat_ID)Set Print Format.voidsetAD_Process_ID(int AD_Process_ID)Set Process.voidsetAD_Schedule_ID(int AD_Schedule_ID)Set Schedule.voidsetAD_Scheduler_ID(int AD_Scheduler_ID)Set Scheduler.voidsetAD_Scheduler_UU(String AD_Scheduler_UU)Set AD_Scheduler_UU.voidsetAD_Table_ID(int AD_Table_ID)Set Table.voidsetDateLastRun(Timestamp DateLastRun)Set Date last run.voidsetDateNextRun(Timestamp DateNextRun)Set Date next run.voidsetDescription(String Description)Set Description.voidsetKeepLogDays(int KeepLogDays)Set Days to keep Log.voidsetName(String Name)Set Name.voidsetProcessing(boolean Processing)Set Process Now.voidsetR_MailText_ID(int R_MailText_ID)Set Mail Template.voidsetRecord_ID(int Record_ID)Set Record ID.voidsetReportOutputType(String ReportOutputType)Set Report Output Type.voidsetSchedulerState(Object SchedulerState)Set Scheduler State.voidsetSupervisor_ID(int Supervisor_ID)Set Supervisor.StringtoString()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_AccessLevelin 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_PrintFormatin interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID)
Set Print Format.- Specified by:
setAD_PrintFormat_IDin 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_IDin interfaceI_AD_Scheduler- Returns:
- Data Print Format
-
getAD_Process
public I_AD_Process getAD_Process() throws RuntimeException
- Specified by:
getAD_Processin interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID)
Set Process.- Specified by:
setAD_Process_IDin interfaceI_AD_Scheduler- Parameters:
AD_Process_ID- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()
Get Process.- Specified by:
getAD_Process_IDin interfaceI_AD_Scheduler- Returns:
- Process or Report
-
getAD_Schedule
public I_AD_Schedule getAD_Schedule() throws RuntimeException
- Specified by:
getAD_Schedulein interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setAD_Schedule_ID
public void setAD_Schedule_ID(int AD_Schedule_ID)
Set Schedule.- Specified by:
setAD_Schedule_IDin interfaceI_AD_Scheduler- Parameters:
AD_Schedule_ID- Schedule
-
getAD_Schedule_ID
public int getAD_Schedule_ID()
Get Schedule.- Specified by:
getAD_Schedule_IDin interfaceI_AD_Scheduler- Returns:
- Schedule
-
setAD_Scheduler_ID
public void setAD_Scheduler_ID(int AD_Scheduler_ID)
Set Scheduler.- Specified by:
setAD_Scheduler_IDin interfaceI_AD_Scheduler- Parameters:
AD_Scheduler_ID- Schedule Processes
-
getAD_Scheduler_ID
public int getAD_Scheduler_ID()
Get Scheduler.- Specified by:
getAD_Scheduler_IDin 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_UUin 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_UUin interfaceI_AD_Scheduler- Returns:
- AD_Scheduler_UU
-
getAD_Table
public I_AD_Table getAD_Table() throws RuntimeException
- Specified by:
getAD_Tablein interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID)
Set Table.- Specified by:
setAD_Table_IDin interfaceI_AD_Scheduler- Parameters:
AD_Table_ID- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_IDin interfaceI_AD_Scheduler- Returns:
- Database Table information
-
setDateLastRun
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRunin interfaceI_AD_Scheduler- Parameters:
DateLastRun- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRunin interfaceI_AD_Scheduler- Returns:
- Date the process was last run.
-
setDateNextRun
public void setDateNextRun(Timestamp DateNextRun)
Set Date next run.- Specified by:
setDateNextRunin interfaceI_AD_Scheduler- Parameters:
DateNextRun- Date the process will run next
-
getDateNextRun
public Timestamp getDateNextRun()
Get Date next run.- Specified by:
getDateNextRunin interfaceI_AD_Scheduler- Returns:
- Date the process will run next
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_Scheduler- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_Scheduler- Returns:
- Optional short description of the record
-
setKeepLogDays
public void setKeepLogDays(int KeepLogDays)
Set Days to keep Log.- Specified by:
setKeepLogDaysin interfaceI_AD_Scheduler- Parameters:
KeepLogDays- Number of days to keep the log entries
-
getKeepLogDays
public int getKeepLogDays()
Get Days to keep Log.- Specified by:
getKeepLogDaysin interfaceI_AD_Scheduler- Returns:
- Number of days to keep the log entries
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_AD_Scheduler- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein 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:
setProcessingin interfaceI_AD_Scheduler- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessingin interfaceI_AD_Scheduler- Returns:
- Process Now
-
setRecord_ID
public void setRecord_ID(int Record_ID)
Set Record ID.- Specified by:
setRecord_IDin interfaceI_AD_Scheduler- Parameters:
Record_ID- Direct internal record ID
-
getRecord_ID
public int getRecord_ID()
Get Record ID.- Specified by:
getRecord_IDin interfaceI_AD_Scheduler- Returns:
- Direct internal record ID
-
setReportOutputType
public void setReportOutputType(String ReportOutputType)
Set Report Output Type.- Specified by:
setReportOutputTypein interfaceI_AD_Scheduler- Parameters:
ReportOutputType- Report Output Type
-
getReportOutputType
public String getReportOutputType()
Get Report Output Type.- Specified by:
getReportOutputTypein interfaceI_AD_Scheduler- Returns:
- Report Output Type
-
getR_MailText
public I_R_MailText getR_MailText() throws RuntimeException
- Specified by:
getR_MailTextin interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setR_MailText_ID
public void setR_MailText_ID(int R_MailText_ID)
Set Mail Template.- Specified by:
setR_MailText_IDin 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_IDin interfaceI_AD_Scheduler- Returns:
- Text templates for mailings
-
setSchedulerState
public void setSchedulerState(Object SchedulerState)
Set Scheduler State.- Specified by:
setSchedulerStatein interfaceI_AD_Scheduler- Parameters:
SchedulerState- State of this scheduler record (not scheduled, started or stopped)
-
getSchedulerState
public Object getSchedulerState()
Get Scheduler State.- Specified by:
getSchedulerStatein interfaceI_AD_Scheduler- Returns:
- State of this scheduler record (not scheduled, started or stopped)
-
getSupervisor
public I_AD_User getSupervisor() throws RuntimeException
- Specified by:
getSupervisorin interfaceI_AD_Scheduler- Throws:
RuntimeException
-
setSupervisor_ID
public void setSupervisor_ID(int Supervisor_ID)
Set Supervisor.- Specified by:
setSupervisor_IDin 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_IDin interfaceI_AD_Scheduler- Returns:
- Supervisor for this user/organization - used for escalation and approval
-
-