|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Manages execution of reports and persistence of report objects.
Copyright (c) SAP AG 2003-2004
| Method Summary | |
IScheduledReport |
create(IScheduledReport sr,
IResourceContext context)
Create a scheduled report at a new storage location. |
RID |
getActiveSchedulesCollection()
Get RID of collection containing active scheduled reports. |
IReport |
getReport(IName name,
IResourceContext context)
Lookup a report by name. |
IReportResult |
getReportResult(IResource resource)
Convert a resource to a IReportResult. |
Set |
getReports(IResourceContext context)
Get the set of all known IReports. |
RID |
getReportsCollection()
Get RID of collection containing reports. |
IResource |
getResource(IReport report,
IResourceContext context)
Get the resource representing the report |
IRunningReport |
getRunningReport(String id,
IResourceContext context)
Get running report with given id. |
List |
getRunningReports(IResourceContext context)
Get the list of all currently running reports. |
RID |
getRunningReportsCollection()
Get RID of collection displaying running reports. |
IScheduledReport |
getScheduledReport(IResource resource)
Convert a resource to a IScheduledReport. |
RID |
registerIDMapping(IName name)
Reserves a unique and persistent namespace prefix for the given name. |
IRunningReport |
run(String name,
IReportInput input,
IResourceContext context)
Run a IReportInput immediately in the given context. |
IRunningReport |
run(String name,
IReportInput input,
IRIDIterator iter,
IResourceContext context)
Run a IReportInput immediately in the given context. |
IReportResult |
update(IReportResult result,
IResourceContext context)
Persist a report result at the default storage location. |
IScheduledReport |
update(IScheduledReport sr,
IResource resource)
Persist a scheduled report at the resource. |
| Method Detail |
public IReport getReport(IName name,
IResourceContext context)
throws ResourceException
name - of the report
null if not found.
ResourceException
public Set getReports(IResourceContext context)
throws ResourceException
IReports. The list
is unmodifiable and not live, e.g. will not reflect future
changes.
IReports
ResourceException
public IResource getResource(IReport report,
IResourceContext context)
throws ResourceException
report - to get resource for
ResourceNotFoundException - if resource does not exist
ResourceException
public IReportResult update(IReportResult result,
IResourceContext context)
throws ResourceException
result - to persistcontext - to work in
ResourceNotFoundException - if report could not be located
NotSupportedException - if report resource does not support persistence
ResourceException
public IScheduledReport update(IScheduledReport sr,
IResource resource)
throws ResourceException
sr - scheduled report to persistresource - to update
ResourceNotFoundException - if report could not be located
NotSupportedException - if report resource does not support persistence
ResourceException
public IScheduledReport create(IScheduledReport sr,
IResourceContext context)
throws ResourceException
sr - scheduled report to persistcontext - to use for persistence
ResourceNotFoundException - if report could not be located
NotSupportedException - if report resource does not support persistence
ResourceException
public IScheduledReport getScheduledReport(IResource resource)
throws ResourceException
IScheduledReport.
resource - to convert
IScheduledReport represented by given resource or null if resource is of wrong type
ResourceException
public IReportResult getReportResult(IResource resource)
throws ResourceException
IReportResult.
resource - to convert
IReportResult represented by given resource or null if resource is of wrong type
ResourceException
public List getRunningReports(IResourceContext context)
throws ResourceException
context - to work in
IRunningReports
ResourceException
public IRunningReport getRunningReport(String id,
IResourceContext context)
throws ResourceException
id - of running reportcontext - to work in
null if not found.
ResourceException
public RID getRunningReportsCollection()
throws ResourceException
ResourceException
public IRunningReport run(String name,
IReportInput input,
IResourceContext context)
throws ResourceException
IReportInput immediately in the given context. Use the given name
for the running report and its produced result. The report is run asynchronously and
the method returns IRunningReport.
name - of running report and result resourceinput - report input to executecontext - to work in
ResourceException
public IRunningReport run(String name,
IReportInput input,
IRIDIterator iter,
IResourceContext context)
throws ResourceException
IReportInput immediately in the given context. Use the given name
for the running report and its produced result. The report is run asynchronously and
the method returns IRunningReport.
name - of running report and result resourceinput - for report executioniter - gives RIDs of resource to apply report tocontext - to work in
ResourceException
public RID getReportsCollection()
throws ResourceException
ResourceException
public RID getActiveSchedulesCollection()
throws ResourceException
ResourceException
public RID registerIDMapping(IName name)
throws ResourceException
name - to register id mapping for
ResourceException - when mapping could not be persisted
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||