com.sapportals.wcm.service.reporting

Interface IReportCollection


public interface IReportCollection

Manages a collection of IReports.

Copyright (c) SAP AG 2003-2004


Method Summary
 RID getActiveSchedulesCollection()
          Get collection, containing all active scheduled reports
 IReport getReport(IName name, IResourceContext context)
          Return IReport with given name or null if not found.
 RID getReportCollection()
          Get collection, containing all reports
 RID getReportRID(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.
 RID registerIDMapping(IName name, IResourceContext context)
          Reserves a unique and persistent namespace prefix for the given name.
 

Method Detail

getReportSet

public 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

public IReport getReport(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

public RID getReportRID(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

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

Returns:
RID of running collection

getReportCollection

public RID getReportCollection()
Get collection, containing all reports

Returns:
RID of reports collection

getActiveSchedulesCollection

public RID getActiveSchedulesCollection()
Get collection, containing all active scheduled reports

Returns:
RID of active scheduled reports collection

getSchedulesDue

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

Returns:
set of IScheduledReports due for execution
Throws:
ResourceException

registerIDMapping

public RID registerIDMapping(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


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.