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 intFREQUENCYTYPE_AD_Reference_IDFrequencyType AD_Reference_ID=221static StringFREQUENCYTYPE_DayDay = Dstatic StringFREQUENCYTYPE_HourHour = Hstatic StringFREQUENCYTYPE_MinuteMinute = Mstatic intSCHEDULETYPE_AD_Reference_IDScheduleType AD_Reference_ID=318static StringSCHEDULETYPE_CronSchedulingPatternCron Scheduling Pattern = Cstatic StringSCHEDULETYPE_FrequencyFrequency = Fstatic StringSCHEDULETYPE_MonthDayMonth Day = Mstatic StringSCHEDULETYPE_WeekDayWeek Day = Wstatic intWEEKDAY_AD_Reference_IDWeekDay AD_Reference_ID=167static StringWEEKDAY_FridayFriday = 5static StringWEEKDAY_MondayMonday = 1static StringWEEKDAY_SaturdaySaturday = 6static StringWEEKDAY_SundaySunday = 7static StringWEEKDAY_ThursdayThursday = 4static StringWEEKDAY_TuesdayTuesday = 2static StringWEEKDAY_WednesdayWednesday = 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 intget_AccessLevel()AccessLevelintgetAD_Schedule_ID()Get Schedule.StringgetAD_Schedule_UU()Get AD_Schedule_UU.StringgetCronPattern()Get Cron Scheduling Pattern.StringgetDescription()Get Description.intgetFrequency()Get Frequency.StringgetFrequencyType()Get Frequency Type.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetMonthDay()Get Day of the Month.StringgetName()Get Name.StringgetRunOnlyOnIP()Get Run only on IP.StringgetScheduleType()Get Schedule Type.StringgetWeekDay()Get Day of the Week.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisIgnoreProcessingTime()Get Ignore Processing Time.booleanisSystemSchedule()Get System Schedule.voidsetAD_Schedule_ID(int AD_Schedule_ID)Set Schedule.voidsetAD_Schedule_UU(String AD_Schedule_UU)Set AD_Schedule_UU.voidsetCronPattern(String CronPattern)Set Cron Scheduling Pattern.voidsetDescription(String Description)Set Description.voidsetFrequency(int Frequency)Set Frequency.voidsetFrequencyType(String FrequencyType)Set Frequency Type.voidsetIsIgnoreProcessingTime(boolean IsIgnoreProcessingTime)Set Ignore Processing Time.voidsetIsSystemSchedule(boolean IsSystemSchedule)Set System Schedule.voidsetMonthDay(int MonthDay)Set Day of the Month.voidsetName(String Name)Set Name.voidsetRunOnlyOnIP(String RunOnlyOnIP)Set Run only on IP.voidsetScheduleType(String ScheduleType)Set Schedule Type.voidsetWeekDay(String WeekDay)Set Day of the Week.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_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_AccessLevelin 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_IDin interfaceI_AD_Schedule- Parameters:
AD_Schedule_ID- Schedule
-
getAD_Schedule_ID
public int getAD_Schedule_ID()
Get Schedule.- Specified by:
getAD_Schedule_IDin 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_UUin 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_UUin interfaceI_AD_Schedule- Returns:
- AD_Schedule_UU
-
setCronPattern
public void setCronPattern(String CronPattern)
Set Cron Scheduling Pattern.- Specified by:
setCronPatternin 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:
getCronPatternin interfaceI_AD_Schedule- Returns:
- Cron pattern to define when the process should be invoked.
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_Schedule- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_Schedule- Returns:
- Optional short description of the record
-
setFrequency
public void setFrequency(int Frequency)
Set Frequency.- Specified by:
setFrequencyin interfaceI_AD_Schedule- Parameters:
Frequency- Frequency of events
-
getFrequency
public int getFrequency()
Get Frequency.- Specified by:
getFrequencyin interfaceI_AD_Schedule- Returns:
- Frequency of events
-
setFrequencyType
public void setFrequencyType(String FrequencyType)
Set Frequency Type.- Specified by:
setFrequencyTypein interfaceI_AD_Schedule- Parameters:
FrequencyType- Frequency of event
-
getFrequencyType
public String getFrequencyType()
Get Frequency Type.- Specified by:
getFrequencyTypein interfaceI_AD_Schedule- Returns:
- Frequency of event
-
setIsIgnoreProcessingTime
public void setIsIgnoreProcessingTime(boolean IsIgnoreProcessingTime)
Set Ignore Processing Time.- Specified by:
setIsIgnoreProcessingTimein interfaceI_AD_Schedule- Parameters:
IsIgnoreProcessingTime- Do not include processing time for the DateNextRun calculation
-
isIgnoreProcessingTime
public boolean isIgnoreProcessingTime()
Get Ignore Processing Time.- Specified by:
isIgnoreProcessingTimein interfaceI_AD_Schedule- Returns:
- Do not include processing time for the DateNextRun calculation
-
setIsSystemSchedule
public void setIsSystemSchedule(boolean IsSystemSchedule)
Set System Schedule.- Specified by:
setIsSystemSchedulein interfaceI_AD_Schedule- Parameters:
IsSystemSchedule- Schedule Just For System
-
isSystemSchedule
public boolean isSystemSchedule()
Get System Schedule.- Specified by:
isSystemSchedulein interfaceI_AD_Schedule- Returns:
- Schedule Just For System
-
setMonthDay
public void setMonthDay(int MonthDay)
Set Day of the Month.- Specified by:
setMonthDayin 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:
getMonthDayin interfaceI_AD_Schedule- Returns:
- Day of the month 1 to 28/29/30/31
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_AD_Schedule- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein 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:
setRunOnlyOnIPin interfaceI_AD_Schedule- Parameters:
RunOnlyOnIP- Run only on IP
-
getRunOnlyOnIP
public String getRunOnlyOnIP()
Get Run only on IP.- Specified by:
getRunOnlyOnIPin interfaceI_AD_Schedule- Returns:
- Run only on IP
-
setScheduleType
public void setScheduleType(String ScheduleType)
Set Schedule Type.- Specified by:
setScheduleTypein interfaceI_AD_Schedule- Parameters:
ScheduleType- Type of schedule
-
getScheduleType
public String getScheduleType()
Get Schedule Type.- Specified by:
getScheduleTypein interfaceI_AD_Schedule- Returns:
- Type of schedule
-
setWeekDay
public void setWeekDay(String WeekDay)
Set Day of the Week.- Specified by:
setWeekDayin interfaceI_AD_Schedule- Parameters:
WeekDay- Day of the Week
-
getWeekDay
public String getWeekDay()
Get Day of the Week.- Specified by:
getWeekDayin interfaceI_AD_Schedule- Returns:
- Day of the Week
-
-