|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Holds together IReportInput and
a future, possibly repeating, execution date.
Copyright (c) SAP AG 2003-2004
| Method Summary | |
IScheduledReport |
create(IResourceContext context)
Persist the scheduled report as a new resource and return a scheduled report instance where getResource() returns the resource the scheduled report was persisted in. |
Date |
getLastExecuted()
Get date/time when schedule was last executed. |
String |
getName()
Get name of scheduled report. |
Date |
getNextSchedule()
Get date/time when report execution is next due. |
ScheduleRepeat |
getRepeating()
Get repeating interval for repeated execution of report. |
IReportInput |
getReportInput()
Get the input for the scheduled report |
IResource |
getResource()
Get the resource, this scheduled report, is persisted in. |
Date |
getSchedule()
Get date/time when report execution is/was scheduled. |
boolean |
isActive()
Determine if scheduled report is activated. |
IScheduledReport |
setActive(boolean active)
Create a new scheduled report with given active state. |
IScheduledReport |
setInput(IReportInput input)
Create a new scheduled report with given input. |
IScheduledReport |
setLastExecuted(Date date)
Create a new scheduled report with given last execution date. |
IScheduledReport |
setName(String name)
Create a new scheduled report with given name set. |
IScheduledReport |
setRepeating(ScheduleRepeat repeat)
Create a new scheduled report with given repeat interval. |
IScheduledReport |
setSchedule(Date date)
Create a new scheduled report with given schedule date. |
IScheduledReport |
update(IResource resource)
Persist the scheduled report and return a scheduled report instance where getResource() returns the resource the scheduled report was persisted in. |
| Method Detail |
public String getName()
public Date getSchedule()
null is returned. The date reflects when
the report was first scheduled for execution. User getNextScheduled()
to retrieve the time of the next scheduled execution.
public Date getLastExecuted()
null is returned.
nullpublic ScheduleRepeat getRepeating()
public boolean isActive()
public Date getNextSchedule()
null is returned.
public IReportInput getReportInput()
public IResource getResource()
null
of schedule is not persisted.
null if report is not persisted yetpublic IScheduledReport setName(String name)
name - of new scheduled report
public IScheduledReport setInput(IReportInput input)
input - of new scheduled report
public IScheduledReport setSchedule(Date date)
date - date of new scheduled report
public IScheduledReport setLastExecuted(Date date)
date - of last schedule execution
public IScheduledReport setRepeating(ScheduleRepeat repeat)
repeat - repeat of new scheduled report
public IScheduledReport setActive(boolean active)
active - state of new scheduled report
public IScheduledReport update(IResource resource)
throws ResourceException
resource - to be overwritten with setting from scheduled report
ResourceException
public IScheduledReport create(IResourceContext context)
throws ResourceException
ResourceException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||