Adempiere 3.5.2a

org.compiere.model
Class X_AD_Scheduler

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_AD_Scheduler
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int FREQUENCYTYPE_AD_Reference_ID
          FrequencyType AD_Reference_ID=221
static String FREQUENCYTYPE_Day
          Day = D
static String FREQUENCYTYPE_Hour
          Hour = H
static String FREQUENCYTYPE_Minute
          Minute = M
static int SCHEDULETYPE_AD_Reference_ID
          ScheduleType AD_Reference_ID=318
static String SCHEDULETYPE_Frequency
          Frequency = F
static String SCHEDULETYPE_MonthDay
          Month Day = M
static String SCHEDULETYPE_WeekDay
          Week Day = W
static int SUPERVISOR_ID_AD_Reference_ID
          Supervisor_ID AD_Reference_ID=316
static int WEEKDAY_AD_Reference_ID
          WeekDay AD_Reference_ID=167
static String WEEKDAY_Friday
          Friday = 5
static String WEEKDAY_Monday
          Monday = 1
static String WEEKDAY_Saturday
          Saturday = 6
static String WEEKDAY_Sunday
          Sunday = 7
static String WEEKDAY_Thursday
          Thursday = 4
static String WEEKDAY_Tuesday
          Tuesday = 2
static 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, 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_Process_ID, COLUMNNAME_AD_Scheduler_ID, COLUMNNAME_DateLastRun, COLUMNNAME_DateNextRun, COLUMNNAME_Description, COLUMNNAME_Frequency, COLUMNNAME_FrequencyType, COLUMNNAME_KeepLogDays, COLUMNNAME_MonthDay, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_ScheduleType, COLUMNNAME_Supervisor_ID, COLUMNNAME_WeekDay, Model, Table_ID, Table_Name
 
Constructor Summary
X_AD_Scheduler(Properties ctx, int AD_Scheduler_ID, String trxName)
          Standard Constructor
X_AD_Scheduler(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Process_ID()
          Get Process.
 I_AD_Process getAD_Process()
           
 int getAD_Scheduler_ID()
          Get Scheduler.
 Timestamp getDateLastRun()
          Get Date last run.
 Timestamp getDateNextRun()
          Get Date next run.
 String getDescription()
          Get Description.
 int getFrequency()
          Get Frequency.
 String getFrequencyType()
          Get Frequency Type.
 int getKeepLogDays()
          Get Days to keep Log.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getMonthDay()
          Get Day of the Month.
 String getName()
          Get Name.
 String getScheduleType()
          Get Schedule Type.
 int getSupervisor_ID()
          Get Supervisor.
 String getWeekDay()
          Get Day of the Week.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isProcessing()
          Get Process Now.
 void setAD_Process_ID(int AD_Process_ID)
          Set Process.
 void setAD_Scheduler_ID(int AD_Scheduler_ID)
          Set Scheduler.
 void setDateLastRun(Timestamp DateLastRun)
          Set Date last run.
 void setDateNextRun(Timestamp DateNextRun)
          Set Date next run.
 void setDescription(String Description)
          Set Description.
 void setFrequency(int Frequency)
          Set Frequency.
 void setFrequencyType(String FrequencyType)
          Set Frequency Type.
 void setKeepLogDays(int KeepLogDays)
          Set Days to keep Log.
 void setMonthDay(int MonthDay)
          Set Day of the Month.
 void setName(String Name)
          Set Name.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setScheduleType(String ScheduleType)
          Set Schedule Type.
 void setSupervisor_ID(int Supervisor_ID)
          Set Supervisor.
 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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_Minute

public static final String FREQUENCYTYPE_Minute
Minute = M

See Also:
Constant Field Values

FREQUENCYTYPE_Hour

public static final String FREQUENCYTYPE_Hour
Hour = H

See Also:
Constant Field Values

FREQUENCYTYPE_Day

public static final String FREQUENCYTYPE_Day
Day = D

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_Frequency

public static final String SCHEDULETYPE_Frequency
Frequency = F

See Also:
Constant Field Values

SCHEDULETYPE_WeekDay

public static final String SCHEDULETYPE_WeekDay
Week Day = W

See Also:
Constant Field Values

SCHEDULETYPE_MonthDay

public static final String SCHEDULETYPE_MonthDay
Month Day = M

See Also:
Constant Field Values

SUPERVISOR_ID_AD_Reference_ID

public static final int SUPERVISOR_ID_AD_Reference_ID
Supervisor_ID AD_Reference_ID=316

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_Sunday

public static final String WEEKDAY_Sunday
Sunday = 7

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
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 class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getAD_Process

public I_AD_Process getAD_Process()
                           throws Exception
Specified by:
getAD_Process in interface I_AD_Scheduler
Throws:
Exception

setAD_Process_ID

public void setAD_Process_ID(int AD_Process_ID)
Set Process.

Specified by:
setAD_Process_ID in interface I_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 interface I_AD_Scheduler
Returns:
Process or Report

setAD_Scheduler_ID

public void setAD_Scheduler_ID(int AD_Scheduler_ID)
Set Scheduler.

Specified by:
setAD_Scheduler_ID in interface I_AD_Scheduler
Parameters:
AD_Scheduler_ID - Schedule Processes

getAD_Scheduler_ID

public int getAD_Scheduler_ID()
Get Scheduler.

Specified by:
getAD_Scheduler_ID in interface I_AD_Scheduler
Returns:
Schedule Processes

setDateLastRun

public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.

Specified by:
setDateLastRun in interface I_AD_Scheduler
Parameters:
DateLastRun - Date the process was last run.

getDateLastRun

public Timestamp getDateLastRun()
Get Date last run.

Specified by:
getDateLastRun in interface I_AD_Scheduler
Returns:
Date the process was last run.

setDateNextRun

public void setDateNextRun(Timestamp DateNextRun)
Set Date next run.

Specified by:
setDateNextRun in interface I_AD_Scheduler
Parameters:
DateNextRun - Date the process will run next

getDateNextRun

public Timestamp getDateNextRun()
Get Date next run.

Specified by:
getDateNextRun in interface I_AD_Scheduler
Returns:
Date the process will run next

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_AD_Scheduler
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_AD_Scheduler
Returns:
Optional short description of the record

setFrequency

public void setFrequency(int Frequency)
Set Frequency.

Specified by:
setFrequency in interface I_AD_Scheduler
Parameters:
Frequency - Frequency of events

getFrequency

public int getFrequency()
Get Frequency.

Specified by:
getFrequency in interface I_AD_Scheduler
Returns:
Frequency of events

setFrequencyType

public void setFrequencyType(String FrequencyType)
Set Frequency Type.

Specified by:
setFrequencyType in interface I_AD_Scheduler
Parameters:
FrequencyType - Frequency of event

getFrequencyType

public String getFrequencyType()
Get Frequency Type.

Specified by:
getFrequencyType in interface I_AD_Scheduler
Returns:
Frequency of event

setKeepLogDays

public void setKeepLogDays(int KeepLogDays)
Set Days to keep Log.

Specified by:
setKeepLogDays in interface I_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 interface I_AD_Scheduler
Returns:
Number of days to keep the log entries

setMonthDay

public void setMonthDay(int MonthDay)
Set Day of the Month.

Specified by:
setMonthDay in interface I_AD_Scheduler
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 interface I_AD_Scheduler
Returns:
Day of the month 1 to 28/29/30/31

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_AD_Scheduler
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_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 interface I_AD_Scheduler
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_AD_Scheduler
Returns:
Process Now

setScheduleType

public void setScheduleType(String ScheduleType)
Set Schedule Type.

Specified by:
setScheduleType in interface I_AD_Scheduler
Parameters:
ScheduleType - Type of schedule

getScheduleType

public String getScheduleType()
Get Schedule Type.

Specified by:
getScheduleType in interface I_AD_Scheduler
Returns:
Type of schedule

setSupervisor_ID

public void setSupervisor_ID(int Supervisor_ID)
Set Supervisor.

Specified by:
setSupervisor_ID in interface I_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 interface I_AD_Scheduler
Returns:
Supervisor for this user/organization - used for escalation and approval

setWeekDay

public void setWeekDay(String WeekDay)
Set Day of the Week.

Specified by:
setWeekDay in interface I_AD_Scheduler
Parameters:
WeekDay - Day of the Week

getWeekDay

public String getWeekDay()
Get Day of the Week.

Specified by:
getWeekDay in interface I_AD_Scheduler
Returns:
Day of the Week

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.