public interface IScheduledReport
IReportInput and
a future, possibly repeating, execution date.
Copyright (c) SAP AG 2003-2004
| Modifier and Type | Method and Description |
|---|---|
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.
|
String getName()
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.Date getLastExecuted()
null is returned.nullScheduleRepeat getRepeating()
boolean isActive()
Date getNextSchedule()
null is returned.IReportInput getReportInput()
IResource getResource()
null
of schedule is not persisted.null if report is not persisted yetIScheduledReport setName(String name)
name - of new scheduled reportIScheduledReport setInput(IReportInput input)
input - of new scheduled reportIScheduledReport setSchedule(Date date)
date - date of new scheduled reportIScheduledReport setLastExecuted(Date date)
date - of last schedule executionIScheduledReport setRepeating(ScheduleRepeat repeat)
repeat - repeat of new scheduled reportIScheduledReport setActive(boolean active)
active - state of new scheduled reportIScheduledReport update(IResource resource) throws ResourceException
resource - to be overwritten with setting from scheduled reportResourceException - if an error occurredIScheduledReport create(IResourceContext context) throws ResourceException
context - The resource contextResourceException - if an error occurred| 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
|
Copyright 2017 SAP AG Complete Copyright Notice