com.sapportals.wcm.service.reporting

Interface IReportInput

All Known Implementing Classes:
ReportInput

public interface IReportInput

Represents input for a report execution.

Copyright (c) SAP AG 2003-2004


Field Summary
static int UNLIMITED_RESULTS
           
 
Method Summary
 List getCommandInputs()
          Get list of IReportCommandInputs.
 int getMaxResults()
          Get the maximum number of results the report should produce.
 IPropertyMap getParameters()
          Get parameters for the report itself.
 IName getReportName()
          Get name of report that should handle this input
 List getScope()
          Get scope where report should be applied.
 IReportInput setCommandInputs(List commandInputs)
          Create a new IReportInput with the given command inputs.
 IReportInput setMaxResults(int max)
          Create a new IReportInput with the given number of maximum results.
 IReportInput setParameters(IPropertyMap params)
          Create a new IReportInput with the given parameters.
 IReportInput setScope(List scope)
          Create a new IReportInput with the given scope.
 IReportInputError verify(IResourceContext context)
          Verify that input is valid.
 

Field Detail

UNLIMITED_RESULTS

public static final int UNLIMITED_RESULTS
See Also:
Constant Field Values
Method Detail

getReportName

public IName getReportName()
Get name of report that should handle this input

Returns:
name of handling report

getParameters

public IPropertyMap getParameters()
Get parameters for the report itself.

Returns:
parameters for the report

getCommandInputs

public List getCommandInputs()
Get list of IReportCommandInputs.

Returns:
list of IReportCommandInputs

verify

public IReportInputError verify(IResourceContext context)
                         throws ResourceException
Verify that input is valid. The verification takes the context the report shall be executed in into account. There might be checks on access permissions or administrator rights necessary for the check.

Parameters:
context - the execution shall happen and the input needs to be valid in.
Returns:
null on success and detailed error description otherwise.
Throws:
ResourceException

getScope

public List getScope()
Get scope where report should be applied. If no special scope is set, an empty list is returned.

Returns:
list of RIDs with scope

getMaxResults

public int getMaxResults()
Get the maximum number of results the report should produce. A value of -1 indicates that there is no limit imposed on the number of produced results.

Returns:
maximum number of results

setScope

public IReportInput setScope(List scope)
Create a new IReportInput with the given scope. All other values are taken from this instance.

Parameters:
scope - list of RIDs with scope
Returns:
IReportInput with given parameters

setMaxResults

public IReportInput setMaxResults(int max)
Create a new IReportInput with the given number of maximum results.

Parameters:
max - results to produce
Returns:
IReportInput with given maxmimum results

setParameters

public IReportInput setParameters(IPropertyMap params)
Create a new IReportInput with the given parameters. All other values are taken from this instance.

Parameters:
params - new input parameter
Returns:
IReportInput with given parameters

setCommandInputs

public IReportInput setCommandInputs(List commandInputs)
Create a new IReportInput with the given command inputs. All other values are taken from this instance.

Parameters:
commandInputs - new input for commands
Returns:
IReportInput with given command inputs


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.