com.sapportals.wcm.service.reporting

Interface IReportStore


public interface IReportStore

Manages persistence of report objects.

Copyright (c) SAP AG 2003-2004


Method Summary
 IReportResult create(IReportResult rr, IResourceContext context)
          Create a new resource representing the given report result.
 IScheduledReport create(IScheduledReport sr, IResourceContext context)
          Create a new resource representing the given scheduled report.
 Set getScheduledReports(IResourceContext context)
          Return the set of scheduled reports.
 IResource linkTo(IResource target)
          Create a new flex link which points to the given resource.
 IReportResult update(IReportResult rr, IResource resource)
          Update the given resource with the report result.
 IScheduledReport update(IScheduledReport sr, IResource resource)
          Update the given resource with the scheduled report.
 

Method Detail

create

public IScheduledReport create(IScheduledReport sr,
                               IResourceContext context)
                        throws ResourceException
Create a new resource representing the given scheduled report. Return the scheduled report with the resource set to the persisted one.

Parameters:
sr - the scheduled report to persist
context - to work in
Returns:
updated scheduled report with resource set
Throws:
ResourceException

update

public IScheduledReport update(IScheduledReport sr,
                               IResource resource)
                        throws ResourceException
Update the given resource with the scheduled report.

Parameters:
sr - the scheduled report
resource - to overwrite
Returns:
scheduled report with updated values (if necessary)
Throws:
ResourceException

getScheduledReports

public Set getScheduledReports(IResourceContext context)
                        throws ResourceException
Return the set of scheduled reports.

Parameters:
context - to work in
Returns:
set of scheduled reports
Throws:
ResourceException

create

public IReportResult create(IReportResult rr,
                            IResourceContext context)
                     throws ResourceException
Create a new resource representing the given report result. Return the report result with the resource set to the persisted one.

Parameters:
rr - the report result to persist
context - to work in
Returns:
updated report result with resource set
Throws:
ResourceException

update

public IReportResult update(IReportResult rr,
                            IResource resource)
                     throws ResourceException
Update the given resource with the report result.

Parameters:
rr - the report result
resource - to overwrite
Returns:
report result with updated values (if necessary)
Throws:
ResourceException

linkTo

public IResource linkTo(IResource target)
                 throws ResourceException
Create a new flex link which points to the given resource.

Parameters:
target - of link
Returns:
created flex link
Throws:
ResourceException - on general failure


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.