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
public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent
Generated Model for AD_Schedule- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FREQUENCYTYPE_AD_Reference_ID
FrequencyType AD_Reference_ID=221static String
FREQUENCYTYPE_Day
Day = Dstatic String
FREQUENCYTYPE_Hour
Hour = Hstatic String
FREQUENCYTYPE_Minute
Minute = Mstatic int
SCHEDULETYPE_AD_Reference_ID
ScheduleType AD_Reference_ID=318static String
SCHEDULETYPE_CronSchedulingPattern
Cron Scheduling Pattern = Cstatic String
SCHEDULETYPE_Frequency
Frequency = Fstatic String
SCHEDULETYPE_MonthDay
Month Day = Mstatic String
SCHEDULETYPE_WeekDay
Week Day = Wstatic int
WEEKDAY_AD_Reference_ID
WeekDay AD_Reference_ID=167static String
WEEKDAY_Friday
Friday = 5static String
WEEKDAY_Monday
Monday = 1static String
WEEKDAY_Saturday
Saturday = 6static String
WEEKDAY_Sunday
Sunday = 7static String
WEEKDAY_Thursday
Thursday = 4static String
WEEKDAY_Tuesday
Tuesday = 2static String
WEEKDAY_Wednesday
Wednesday = 3-
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_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
Constructors Constructor Description X_AD_Schedule(Properties ctx, int AD_Schedule_ID, String trxName)
Standard ConstructorX_AD_Schedule(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()
AccessLevelint
getAD_Schedule_ID()
Get Schedule.String
getAD_Schedule_UU()
Get AD_Schedule_UU.String
getCronPattern()
Get Cron Scheduling Pattern.String
getDescription()
Get Description.int
getFrequency()
Get Frequency.String
getFrequencyType()
Get Frequency Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getMonthDay()
Get Day of the Month.String
getName()
Get Name.String
getRunOnlyOnIP()
Get Run only on IP.String
getScheduleType()
Get Schedule Type.String
getWeekDay()
Get Day of the Week.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isIgnoreProcessingTime()
Get Ignore Processing Time.boolean
isSystemSchedule()
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
setName(String Name)
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.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_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 Detail
-
FREQUENCYTYPE_AD_Reference_ID
public static final int FREQUENCYTYPE_AD_Reference_ID
FrequencyType AD_Reference_ID=221- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Day
public static final String FREQUENCYTYPE_Day
Day = D- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Hour
public static final String FREQUENCYTYPE_Hour
Hour = H- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Minute
public static final String FREQUENCYTYPE_Minute
Minute = M- See Also:
- Constant Field Values
-
SCHEDULETYPE_AD_Reference_ID
public static final int SCHEDULETYPE_AD_Reference_ID
ScheduleType AD_Reference_ID=318- See Also:
- Constant Field Values
-
SCHEDULETYPE_CronSchedulingPattern
public static final String SCHEDULETYPE_CronSchedulingPattern
Cron Scheduling Pattern = C- See Also:
- Constant Field Values
-
SCHEDULETYPE_Frequency
public static final String SCHEDULETYPE_Frequency
Frequency = F- See Also:
- Constant Field Values
-
SCHEDULETYPE_MonthDay
public static final String SCHEDULETYPE_MonthDay
Month Day = M- See Also:
- Constant Field Values
-
SCHEDULETYPE_WeekDay
public static final String SCHEDULETYPE_WeekDay
Week Day = W- See Also:
- Constant Field Values
-
WEEKDAY_AD_Reference_ID
public static final int WEEKDAY_AD_Reference_ID
WeekDay AD_Reference_ID=167- See Also:
- Constant Field Values
-
WEEKDAY_Monday
public static final String WEEKDAY_Monday
Monday = 1- See Also:
- Constant Field Values
-
WEEKDAY_Tuesday
public static final String WEEKDAY_Tuesday
Tuesday = 2- See Also:
- Constant Field Values
-
WEEKDAY_Wednesday
public static final String WEEKDAY_Wednesday
Wednesday = 3- See Also:
- Constant Field Values
-
WEEKDAY_Thursday
public static final String WEEKDAY_Thursday
Thursday = 4- See Also:
- Constant Field Values
-
WEEKDAY_Friday
public static final String WEEKDAY_Friday
Friday = 5- See Also:
- Constant Field Values
-
WEEKDAY_Saturday
public static final String WEEKDAY_Saturday
Saturday = 6- See Also:
- Constant Field Values
-
WEEKDAY_Sunday
public static final String WEEKDAY_Sunday
Sunday = 7- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_Schedule
public X_AD_Schedule(Properties ctx, int AD_Schedule_ID, String trxName)
Standard Constructor
-
X_AD_Schedule
public X_AD_Schedule(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
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
public void setAD_Schedule_UU(String AD_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
public String getAD_Schedule_UU()
Get AD_Schedule_UU.- Specified by:
getAD_Schedule_UU
in interfaceI_AD_Schedule
- Returns:
- AD_Schedule_UU
-
setCronPattern
public void setCronPattern(String CronPattern)
Set Cron Scheduling Pattern.- Specified by:
setCronPattern
in interfaceI_AD_Schedule
- Parameters:
CronPattern
- Cron pattern to define when the process should be invoked.
-
getCronPattern
public String getCronPattern()
Get Cron Scheduling Pattern.- Specified by:
getCronPattern
in interfaceI_AD_Schedule
- Returns:
- Cron pattern to define when the process should be invoked.
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_Schedule
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String 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
public void setFrequencyType(String FrequencyType)
Set Frequency Type.- Specified by:
setFrequencyType
in interfaceI_AD_Schedule
- Parameters:
FrequencyType
- Frequency of event
-
getFrequencyType
public String 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
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_Schedule
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_Schedule
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRunOnlyOnIP
public void setRunOnlyOnIP(String RunOnlyOnIP)
Set Run only on IP.- Specified by:
setRunOnlyOnIP
in interfaceI_AD_Schedule
- Parameters:
RunOnlyOnIP
- Run only on IP
-
getRunOnlyOnIP
public String getRunOnlyOnIP()
Get Run only on IP.- Specified by:
getRunOnlyOnIP
in interfaceI_AD_Schedule
- Returns:
- Run only on IP
-
setScheduleType
public void setScheduleType(String ScheduleType)
Set Schedule Type.- Specified by:
setScheduleType
in interfaceI_AD_Schedule
- Parameters:
ScheduleType
- Type of schedule
-
getScheduleType
public String getScheduleType()
Get Schedule Type.- Specified by:
getScheduleType
in interfaceI_AD_Schedule
- Returns:
- Type of schedule
-
setWeekDay
public void setWeekDay(String WeekDay)
Set Day of the Week.- Specified by:
setWeekDay
in interfaceI_AD_Schedule
- Parameters:
WeekDay
- Day of the Week
-
getWeekDay
public String getWeekDay()
Get Day of the Week.- Specified by:
getWeekDay
in interfaceI_AD_Schedule
- Returns:
- Day of the Week
-
-