com.sapportals.wcm.service.reporting

Interface IReportCollection


public interface IReportCollection

Manages a collection of IReports.

Copyright (c) SAP AG 2003-2004


Method Summary
 com.sapportals.wcm.util.uri.RID getActiveSchedulesCollection()
          Get collection, containing all active scheduled reports
 IReport getReport(com.sapportals.wcm.util.name.IName name, IResourceContext context)
          Return IReport with given name or null if not found.
 com.sapportals.wcm.util.uri.RID getReportCollection()
          Get collection, containing all reports
 com.sapportals.wcm.util.uri.RID getReportRID(com.sapportals.wcm.util.name.IName name)
          Return RID of report resource with given name or null if not found.
 Set getReportSet(IResourceContext context)
          Return set of available IReports.
 IRunningReportCollection getRunningReportCollection()
          Get running collection, managing all running reports
 Set getSchedulesDue()
          Get set of IScheduledReports which are due for execution.
 com.sapportals.wcm.util.uri.RID registerIDMapping(com.sapportals.wcm.util.name.IName name, IResourceContext context)
          Reserves a unique and persistent namespace prefix for the given name.
 

Method Detail

getReportSet

Set getReportSet(IResourceContext context)
                 throws ResourceException
Return set of available IReports.

Parameters:
context - to operate in
Returns:
set of available IReports
Throws:
ResourceException - on general failure

getReport

IReport getReport(com.sapportals.wcm.util.name.IName name,
                  IResourceContext context)
                  throws ResourceException
Return IReport with given name or null if not found.

Parameters:
name - of report to look up
Returns:
IReport with given name or null
Throws:
ResourceException - on general failure

getReportRID

com.sapportals.wcm.util.uri.RID getReportRID(com.sapportals.wcm.util.name.IName name)
                                             throws ResourceException
Return RID of report resource with given name or null if not found.

Parameters:
name - of report to look up RID for
Returns:
RID if report with given name or null
Throws:
ResourceException - on general failure

getRunningReportCollection

IRunningReportCollection getRunningReportCollection()
Get running collection, managing all running reports

Returns:
RID of running collection

getReportCollection

com.sapportals.wcm.util.uri.RID getReportCollection()
Get collection, containing all reports

Returns:
RID of reports collection

getActiveSchedulesCollection

com.sapportals.wcm.util.uri.RID getActiveSchedulesCollection()
Get collection, containing all active scheduled reports

Returns:
RID of active scheduled reports collection

getSchedulesDue

Set getSchedulesDue()
                    throws ResourceException
Get set of IScheduledReports which are due for execution.

Returns:
set of IScheduledReports due for execution
Throws:
ResourceException

registerIDMapping

com.sapportals.wcm.util.uri.RID registerIDMapping(com.sapportals.wcm.util.name.IName name,
                                                  IResourceContext context)
                                                  throws ResourceException
Reserves a unique and persistent namespace prefix for the given name. Once registered, the RID will stay the same forever on this server.

Parameters:
name - to register id mapping for
Returns:
RID prefix reserved for this name
Throws:
ResourceException - when mapping could not be persisted
Access Rights

This class can be accessed from:


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 2012 SAP AG Complete Copyright Notice