|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISchedulerTimeTable
Timetables for the scheduler.
An ISchedulerTimeTable represents a timetable which specifies
the times, when an ISchedulerTask has to be executed by the
IScheduler. Such a timetable can have a start- and/or an end-
time and at least one ISchedulerTime which defines the
times.
Simply think of it like a school timetable, where the several entries (the
times) denote repeating lessings.
Copyright 2004 SAP AG
ISchedulerService,
ISchedulerTime| Method Summary | |
|---|---|
void |
addToTable(ISchedulerTime time)
Add an time to the times of the timetable. |
ISchedulerTimeTable |
copy()
Performs a deep copy of the time table. |
Date |
getStartTime()
Get the starting date for the timetable. |
Date |
getStopTime()
Get the ending date for the timetable. |
ISchedulerTimeList |
getTable()
Deprecated. since KM5.0SP6 |
ISchedulerTime |
getTime(Date date)
Returns a time object that matches the specific date. |
boolean |
isInTable(Date date)
Test, if a given date is in the timetable. |
ISchedulerTime |
removeFromTable(ISchedulerTime time)
Removes the specified time from the times of the timetable. |
void |
setStartTime(Date start)
Set the starting date for the timetable. |
void |
setStopTime(Date stop)
Set the ending date for the timetable. |
void |
setTable(ISchedulerTime time)
Deprecated. since KM5.0SP6 |
void |
setTable(ISchedulerTimeList timelist)
Deprecated. since KM5.0SP6 |
int |
size()
Returns the size of this table. |
ISchedulerTime[] |
toArray()
Converts the content of this time table to an array. |
| Method Detail |
|---|
boolean isInTable(Date date)
date - the Date to check.
boolean true if the date is in the
timetable, false if it's not.ISchedulerTime getTime(Date date)
date - the specific date
Date getStartTime()
Date with the starting point of the timetable
or null if not defined.
void setStartTime(Date start)
throws WcmException
start - a Date with the starting point for the
timetable or null if not start time defined.
WcmExceptionDate getStopTime()
Date with the ending point of the timetable.
or null if not defined.
void setStopTime(Date stop)
throws WcmException
stop - a Date with the ending point for the
timetable or null if not stop time defined.
WcmExceptionISchedulerTimeList getTable()
ISchedulerTimeList with the valid times of this
table for the scheduler.
void setTable(ISchedulerTimeList timelist)
throws WcmException
timelist - a ISchedulerTimeList with the valid times
for the scheduler.
WcmException
void setTable(ISchedulerTime time)
throws WcmException
time - a ISchedulerTime with the one time
for the scheduler.
WcmException
void addToTable(ISchedulerTime time)
throws WcmException
time - a ISchedulerTime with the one time
for the scheduler to add.
WcmException
ISchedulerTime removeFromTable(ISchedulerTime time)
throws WcmException
time - the specified time for a scheduler to be removed
WcmExceptionISchedulerTime[] toArray()
int size()
ISchedulerTimeTable copy()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||