|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.scheduler.ScheduleItemUtil
Field Summary | |
private boolean |
bSchedHistory
|
private int |
iTotalRecords
|
private QueryResult |
queryResult
|
private ScheduleHistory |
schedHistory
|
private ScheduleItem |
schedItem
|
Constructor Summary | |
ScheduleItemUtil()
|
|
ScheduleItemUtil(boolean bSchedHist)
This constructor is used to set the query so as to not return the schedule history result set. |
Method Summary | |
Timestamp |
computeStartDate(String sStartDate,
String sStartTime,
boolean bSchedule)
Create start date timestamp. |
void |
deleteScheduledItem()
Delete the scheduled item |
MethodArgument[] |
getArgs()
This method retrieves all of the schedule method arguments for the current record. |
ScheduleHistory |
getHistoryRecord()
This method gets the ScheduleHistory object for the current record. |
ScheduleItem |
getItemRecord()
This method gets the ScheduleItem object for the current record. |
static ScheduleHistory |
getLatestSchedHistory(ScheduleItem schedItem)
Return the ScheduleHistory for the item |
int |
getTotalRecords()
Return the total number of records retrieved by the query. |
boolean |
hasMoreElements()
This method tests if there are any more records in the result set. |
boolean |
nextRecord()
This method gets the next record in the result set an off loads the ScheduleItem and ScheduleHistory objects for that record. |
void |
querySchedItem(String sClassName,
String sMethodName,
Vector vArgs)
This method will query the ScheduleItem table retrieving a result set. |
void |
resumeScheduledItem()
Resume the scheduled item |
void |
setScheduleItem(ScheduleItem sItem)
Set the schedItem member |
void |
suspendScheduledItem()
Suspend the scheduled item |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ScheduleItem schedItem
private ScheduleHistory schedHistory
private QueryResult queryResult
private boolean bSchedHistory
private int iTotalRecords
Constructor Detail |
public ScheduleItemUtil()
public ScheduleItemUtil(boolean bSchedHist)
Method Detail |
public void querySchedItem(String sClassName, String sMethodName, Vector vArgs) throws QueryException, WTException
sClassName
- A String which is the fully qualified class name.sMethodName
- A String which is the target method name.
QueryException
WTException
public boolean hasMoreElements()
public boolean nextRecord()
public ScheduleHistory getHistoryRecord()
public ScheduleItem getItemRecord()
public MethodArgument[] getArgs() throws WTException
WTException
public Timestamp computeStartDate(String sStartDate, String sStartTime, boolean bSchedule) throws ParseException
ParseException
public int getTotalRecords()
public void setScheduleItem(ScheduleItem sItem)
public void suspendScheduledItem() throws WTException
WTException
public void resumeScheduledItem() throws WTException
WTException
public void deleteScheduledItem() throws WTException
WTException
public static ScheduleHistory getLatestSchedHistory(ScheduleItem schedItem) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |