|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.service.util.CurrentDate
atg.service.util.SchedulableDate
public class SchedulableDate
This service is an extension of the CurrentDate service, but adds the capability of having it's time fixed on a periodic basis through the scheduler.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.service.util.CurrentDate |
|---|
MONTH_NAMES, SHORT_MONTH_NAMES, SHORT_WEEKDAY_NAMES, WEEKDAY_NAMES |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
SchedulableDate()
Constructs an instanceof SchedulableDate |
|
| Method Summary | |
|---|---|
void |
doStartService()
Setup the schedule to periodically set the time |
void |
doStopService()
Stops the schedule for |
Scheduler |
getScheduler()
Returns property Scheduler |
java.lang.String |
getUpdateJobDescription()
Returns property UpdateJobDescription |
java.lang.String |
getUpdateJobName()
Returns property UpdateJobName |
Schedule |
getUpdateSchedule()
Returns property UpdateSchedule |
void |
performScheduledTask(Scheduler pScheduler,
ScheduledJob pJob)
Reload the global promotions |
void |
setScheduler(Scheduler pScheduler)
Sets property Scheduler |
void |
setUpdateJobDescription(java.lang.String pUpdateJobDescription)
Sets property UpdateJobDescription |
void |
setUpdateJobName(java.lang.String pUpdateJobName)
Sets property UpdateJobName |
void |
setUpdateSchedule(Schedule pUpdateSchedule)
Sets property UpdateSchedule |
| Methods inherited from class atg.service.util.CurrentDate |
|---|
getDate, getDateAsDate, getDayOfWeek, getDayOfWeekInMonth, getDayOfWeekName, getHour, getHourAsDate, getMinute, getMinuteAsDate, getMonth, getMonthName, getNextDate, getNextHour, getNextMinute, getNextSecond, getSecond, getSecondAsDate, getShortDayOfWeekName, getShortMonthName, getTime, getTimeAsDate, getTimeAsTimestamp, getWeekOfMonth, getYear, isMinimizeDateConstruction, setMinimizeDateConstruction, setTime, setTimeAsDate |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public SchedulableDate()
| Method Detail |
|---|
public void setScheduler(Scheduler pScheduler)
public Scheduler getScheduler()
public void setUpdateSchedule(Schedule pUpdateSchedule)
public Schedule getUpdateSchedule()
public void setUpdateJobName(java.lang.String pUpdateJobName)
public java.lang.String getUpdateJobName()
public void setUpdateJobDescription(java.lang.String pUpdateJobDescription)
public java.lang.String getUpdateJobDescription()
public void doStartService()
throws ServiceException
doStartService in class GenericServiceServiceException - if the Service had a problem starting up
public void doStopService()
throws ServiceException
doStopService in class GenericServiceServiceException - if an error occurred during the operation
public void performScheduledTask(Scheduler pScheduler,
ScheduledJob pJob)
performScheduledTask in interface SchedulablepScheduler - calling the jobpJob - the ScheduledJob
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||