Package org.compiere.model
Class X_AD_Schedule
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Schedule
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Schedule
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MSchedule
Generated Model for AD_Schedule
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
FrequencyType AD_Reference_ID=221static final String
Day = Dstatic final String
Hour = Hstatic final String
Minute = Mstatic final int
ScheduleType AD_Reference_ID=318static final String
Cron Scheduling Pattern = Cstatic final String
Frequency = Fstatic final String
Month Day = Mstatic final String
Week Day = Wstatic final int
WeekDay AD_Reference_ID=167static final String
Friday = 5static final String
Monday = 1static final String
Saturday = 6static final String
Sunday = 7static final String
Thursday = 4static final String
Tuesday = 2static final String
Wednesday = 3Fields 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_Schedule
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Schedule_ID, COLUMNNAME_AD_Schedule_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CronPattern, COLUMNNAME_Description, COLUMNNAME_Frequency, COLUMNNAME_FrequencyType, COLUMNNAME_IsActive, COLUMNNAME_IsIgnoreProcessingTime, COLUMNNAME_IsSystemSchedule, COLUMNNAME_MonthDay, COLUMNNAME_Name, COLUMNNAME_RunOnlyOnIP, COLUMNNAME_ScheduleType, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WeekDay, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_Schedule
(Properties ctx, int AD_Schedule_ID, String trxName) Standard ConstructorX_AD_Schedule
(Properties ctx, int AD_Schedule_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Schedule
(Properties ctx, String AD_Schedule_UU, String trxName) Standard ConstructorX_AD_Schedule
(Properties ctx, String AD_Schedule_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Schedule
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Schedule.Get AD_Schedule_UU.Get Cron Scheduling Pattern.Get Description.int
Get Frequency.Get Frequency Type.Get Record ID/ColumnNameint
Get Day of the Month.getName()
Get Name.Get Run only on IP.Get Schedule Type.Get Day of the Week.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Ignore Processing Time.boolean
Get System Schedule.void
setAD_Schedule_ID
(int AD_Schedule_ID) Set Schedule.void
setAD_Schedule_UU
(String AD_Schedule_UU) Set AD_Schedule_UU.void
setCronPattern
(String CronPattern) Set Cron Scheduling Pattern.void
setDescription
(String Description) Set Description.void
setFrequency
(int Frequency) Set Frequency.void
setFrequencyType
(String FrequencyType) Set Frequency Type.void
setIsIgnoreProcessingTime
(boolean IsIgnoreProcessingTime) Set Ignore Processing Time.void
setIsSystemSchedule
(boolean IsSystemSchedule) Set System Schedule.void
setMonthDay
(int MonthDay) Set Day of the Month.void
Set Name.void
setRunOnlyOnIP
(String RunOnlyOnIP) Set Run only on IP.void
setScheduleType
(String ScheduleType) Set Schedule Type.void
setWeekDay
(String WeekDay) Set Day of the Week.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_Schedule
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
-
FREQUENCYTYPE_AD_Reference_ID
public static final int FREQUENCYTYPE_AD_Reference_IDFrequencyType AD_Reference_ID=221- See Also:
-
FREQUENCYTYPE_Day
Day = D- See Also:
-
FREQUENCYTYPE_Hour
Hour = H- See Also:
-
FREQUENCYTYPE_Minute
Minute = M- See Also:
-
SCHEDULETYPE_AD_Reference_ID
public static final int SCHEDULETYPE_AD_Reference_IDScheduleType AD_Reference_ID=318- See Also:
-
SCHEDULETYPE_CronSchedulingPattern
Cron Scheduling Pattern = C- See Also:
-
SCHEDULETYPE_Frequency
Frequency = F- See Also:
-
SCHEDULETYPE_MonthDay
Month Day = M- See Also:
-
SCHEDULETYPE_WeekDay
Week Day = W- See Also:
-
WEEKDAY_AD_Reference_ID
public static final int WEEKDAY_AD_Reference_IDWeekDay AD_Reference_ID=167- See Also:
-
WEEKDAY_Monday
Monday = 1- See Also:
-
WEEKDAY_Tuesday
Tuesday = 2- See Also:
-
WEEKDAY_Wednesday
Wednesday = 3- See Also:
-
WEEKDAY_Thursday
Thursday = 4- See Also:
-
WEEKDAY_Friday
Friday = 5- See Also:
-
WEEKDAY_Saturday
Saturday = 6- See Also:
-
WEEKDAY_Sunday
Sunday = 7- See Also:
-
-
Constructor Details
-
X_AD_Schedule
Standard Constructor -
X_AD_Schedule
Standard Constructor -
X_AD_Schedule
Standard Constructor -
X_AD_Schedule
public X_AD_Schedule(Properties ctx, String AD_Schedule_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_Schedule
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAD_Schedule_ID
public void setAD_Schedule_ID(int AD_Schedule_ID) Set Schedule.- Specified by:
setAD_Schedule_ID
in interfaceI_AD_Schedule
- Parameters:
AD_Schedule_ID
- Schedule
-
getAD_Schedule_ID
public int getAD_Schedule_ID()Get Schedule.- Specified by:
getAD_Schedule_ID
in interfaceI_AD_Schedule
- Returns:
- Schedule
-
setAD_Schedule_UU
Set AD_Schedule_UU.- Specified by:
setAD_Schedule_UU
in interfaceI_AD_Schedule
- Parameters:
AD_Schedule_UU
- AD_Schedule_UU
-
getAD_Schedule_UU
Get AD_Schedule_UU.- Specified by:
getAD_Schedule_UU
in interfaceI_AD_Schedule
- Returns:
- AD_Schedule_UU
-
setCronPattern
Set Cron Scheduling Pattern.- Specified by:
setCronPattern
in interfaceI_AD_Schedule
- Parameters:
CronPattern
- Cron pattern to define when the process should be invoked.
-
getCronPattern
Get Cron Scheduling Pattern.- Specified by:
getCronPattern
in interfaceI_AD_Schedule
- Returns:
- Cron pattern to define when the process should be invoked.
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_Schedule
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_Schedule
- Returns:
- Optional short description of the record
-
setFrequency
public void setFrequency(int Frequency) Set Frequency.- Specified by:
setFrequency
in interfaceI_AD_Schedule
- Parameters:
Frequency
- Frequency of events
-
getFrequency
public int getFrequency()Get Frequency.- Specified by:
getFrequency
in interfaceI_AD_Schedule
- Returns:
- Frequency of events
-
setFrequencyType
Set Frequency Type.- Specified by:
setFrequencyType
in interfaceI_AD_Schedule
- Parameters:
FrequencyType
- Frequency of event
-
getFrequencyType
Get Frequency Type.- Specified by:
getFrequencyType
in interfaceI_AD_Schedule
- Returns:
- Frequency of event
-
setIsIgnoreProcessingTime
public void setIsIgnoreProcessingTime(boolean IsIgnoreProcessingTime) Set Ignore Processing Time.- Specified by:
setIsIgnoreProcessingTime
in interfaceI_AD_Schedule
- Parameters:
IsIgnoreProcessingTime
- Do not include processing time for the DateNextRun calculation
-
isIgnoreProcessingTime
public boolean isIgnoreProcessingTime()Get Ignore Processing Time.- Specified by:
isIgnoreProcessingTime
in interfaceI_AD_Schedule
- Returns:
- Do not include processing time for the DateNextRun calculation
-
setIsSystemSchedule
public void setIsSystemSchedule(boolean IsSystemSchedule) Set System Schedule.- Specified by:
setIsSystemSchedule
in interfaceI_AD_Schedule
- Parameters:
IsSystemSchedule
- Schedule Just For System
-
isSystemSchedule
public boolean isSystemSchedule()Get System Schedule.- Specified by:
isSystemSchedule
in interfaceI_AD_Schedule
- Returns:
- Schedule Just For System
-
setMonthDay
public void setMonthDay(int MonthDay) Set Day of the Month.- Specified by:
setMonthDay
in interfaceI_AD_Schedule
- Parameters:
MonthDay
- Day of the month 1 to 28/29/30/31
-
getMonthDay
public int getMonthDay()Get Day of the Month.- Specified by:
getMonthDay
in interfaceI_AD_Schedule
- Returns:
- Day of the month 1 to 28/29/30/31
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_Schedule
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_Schedule
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRunOnlyOnIP
Set Run only on IP.- Specified by:
setRunOnlyOnIP
in interfaceI_AD_Schedule
- Parameters:
RunOnlyOnIP
- Run only on IP
-
getRunOnlyOnIP
Get Run only on IP.- Specified by:
getRunOnlyOnIP
in interfaceI_AD_Schedule
- Returns:
- Run only on IP
-
setScheduleType
Set Schedule Type.- Specified by:
setScheduleType
in interfaceI_AD_Schedule
- Parameters:
ScheduleType
- Type of schedule
-
getScheduleType
Get Schedule Type.- Specified by:
getScheduleType
in interfaceI_AD_Schedule
- Returns:
- Type of schedule
-
setWeekDay
Set Day of the Week.- Specified by:
setWeekDay
in interfaceI_AD_Schedule
- Parameters:
WeekDay
- Day of the Week
-
getWeekDay
Get Day of the Week.- Specified by:
getWeekDay
in interfaceI_AD_Schedule
- Returns:
- Day of the Week
-