com.sapportals.wcm.service.reporting

Class ResultItem

java.lang.Object
  extended bycom.sapportals.wcm.service.reporting.ResultItem
All Implemented Interfaces:
ILinkResultItem, IResultItem

public class ResultItem
extends Object
implements ILinkResultItem

Implements IResultItem.

Copyright (c) SAP AG 2003


Method Summary
static ResultItem getDeadInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription)
           
 String getDetails()
           
 List getExecutedCommands()
          Get list of executed commands.
static ResultItem getInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription)
           
static ResultItem getInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription, boolean isDead)
           
static ResultItem getInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription, boolean isDead, String linkText, String linkTarget, IUriReference linkReference)
           
static ResultItem getInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription, boolean isDead, String linkText, String linkTarget, IUriReference linkReference, String details)
           
static ResultItem getInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription, String details)
           
static ResultItem getLinkInstance(RID rid, Map properties, List executedCommands, boolean hadError, String statusDescription, String linkText, String linkTarget, IUriReference linkReference)
           
 IUriReference getLinkReference()
          Get reference (where the link points to) or null if not defined.
 String getLinkTarget()
          Get target of link reference (as in HTML anchor) or null if not defined
 String getLinkText()
          Get text displayed as link
 Map getProperties()
           
 RID getRID()
          Get RID of result item.
 String getStatusDescription()
          Get description of result status.
 boolean hadError()
          Indicates that this item was reported because an error was encountered.
 boolean isDead()
          The item, designated by its RID, is known to be dead, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ResultItem getInstance(RID rid,
                                     Map properties,
                                     List executedCommands,
                                     boolean hadError,
                                     String statusDescription,
                                     String details)

getInstance

public static ResultItem getInstance(RID rid,
                                     Map properties,
                                     List executedCommands,
                                     boolean hadError,
                                     String statusDescription,
                                     boolean isDead,
                                     String linkText,
                                     String linkTarget,
                                     IUriReference linkReference,
                                     String details)

getInstance

public static ResultItem getInstance(RID rid,
                                     Map properties,
                                     List executedCommands,
                                     boolean hadError,
                                     String statusDescription)

getInstance

public static ResultItem getInstance(RID rid,
                                     Map properties,
                                     List executedCommands,
                                     boolean hadError,
                                     String statusDescription,
                                     boolean isDead)

getInstance

public static ResultItem getInstance(RID rid,
                                     Map properties,
                                     List executedCommands,
                                     boolean hadError,
                                     String statusDescription,
                                     boolean isDead,
                                     String linkText,
                                     String linkTarget,
                                     IUriReference linkReference)

getDeadInstance

public static ResultItem getDeadInstance(RID rid,
                                         Map properties,
                                         List executedCommands,
                                         boolean hadError,
                                         String statusDescription)

getLinkInstance

public static ResultItem getLinkInstance(RID rid,
                                         Map properties,
                                         List executedCommands,
                                         boolean hadError,
                                         String statusDescription,
                                         String linkText,
                                         String linkTarget,
                                         IUriReference linkReference)

getRID

public RID getRID()
Description copied from interface: IResultItem
Get RID of result item.

Specified by:
getRID in interface IResultItem
Returns:
RID of result item

getProperties

public Map getProperties()
Specified by:
getProperties in interface IResultItem
Returns:
Map of IPropertyNames mapped to IProperties.

getExecutedCommands

public List getExecutedCommands()
Description copied from interface: IResultItem
Get list of executed commands.

Specified by:
getExecutedCommands in interface IResultItem
Returns:
list of INames of report commands

hadError

public boolean hadError()
Description copied from interface: IResultItem
Indicates that this item was reported because an error was encountered.

Specified by:
hadError in interface IResultItem
Returns:
if result was caused by error

getStatusDescription

public String getStatusDescription()
Description copied from interface: IResultItem
Get description of result status.

Specified by:
getStatusDescription in interface IResultItem
Returns:
status description of result item

isDead

public boolean isDead()
Description copied from interface: ILinkResultItem
The item, designated by its RID, is known to be dead, e.g. it no longer exists.

Specified by:
isDead in interface ILinkResultItem
Returns:

getLinkReference

public IUriReference getLinkReference()
Description copied from interface: ILinkResultItem
Get reference (where the link points to) or null if not defined.

Specified by:
getLinkReference in interface ILinkResultItem
Returns:
reference where link points to

getLinkTarget

public String getLinkTarget()
Description copied from interface: ILinkResultItem
Get target of link reference (as in HTML anchor) or null if not defined

Specified by:
getLinkTarget in interface ILinkResultItem
Returns:
target of link reference

getLinkText

public String getLinkText()
Description copied from interface: ILinkResultItem
Get text displayed as link

Specified by:
getLinkText in interface ILinkResultItem
Returns:
text displayed as link or null if not defined

getDetails

public String getDetails()


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.