com.sapportals.wcm.util.controlstatus

Interface IControlStatus

All Known Subinterfaces:
IConfigurableRendererStatus, IRendererStatus
All Known Implementing Classes:
AbstractRendererStatus, MetaStatus, ProxyStatus, SingleDiscPersistenceData

public interface IControlStatus


Method Summary
 StatusInformation execute(IExecutable executable)
          carries out the action described by the given parameter.
 StatusInformation execute(String execution)
          different signature for this method.
 IExecutable getAction(FieldIdentifier ident)
          returns the IExecutable with the given ident-parameter or null , if no such instance could be found.
 List getActions()
          returns a list with all IExecutable s defined by the implementing class
 IField getField(FieldIdentifier ident)
          returns the field with the given ident-parameter or null , if no such instance could be found.
 List getFields()
          returns a list with all fields defined by the implementing class
 String getID()
          returns the ID under which this status was registered by the Service
 StatusInformation getStatusInformation()
          returns the status of the implementing class.
 void setID(String id)
          sets the ID under which this status was registered by the service this field is set by the service and must not be altered afterwards.
 

Method Detail

execute

public StatusInformation execute(IExecutable executable)
                          throws WcmException
carries out the action described by the given parameter.

Parameters:
executable - TBD: Description of the incoming method parameter
Returns:
the status of the execution - can be null.
Throws:
WcmException - Exception raised in failure situation

execute

public StatusInformation execute(String execution)
                          throws WcmException
different signature for this method. The implementation must iterate through its defined list of IExecutable objects. If the given parameter matches the IExecutable 's getIdentifier.getID , this IExecutable must be passed to the other signature of this method.

Parameters:
execution - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value
Throws:
WcmException - Exception raised in failure situation
WcmException, - if no matching class could be found.

getField

public IField getField(FieldIdentifier ident)
returns the field with the given ident-parameter or null , if no such instance could be found.

Parameters:
ident - TBD: Description of the incoming method parameter
Returns:
field

getAction

public IExecutable getAction(FieldIdentifier ident)
returns the IExecutable with the given ident-parameter or null , if no such instance could be found.

Parameters:
ident - TBD: Description of the incoming method parameter
Returns:
action

getFields

public List getFields()
returns a list with all fields defined by the implementing class

Returns:
fields

getActions

public List getActions()
returns a list with all IExecutable s defined by the implementing class

Returns:
actions

getStatusInformation

public StatusInformation getStatusInformation()
returns the status of the implementing class. This status is obtained by asking all of the fields of the implementing class for their status. The first class, that returns a status != null will be used and its status will be returned. Consequently, this method might return null

Returns:
statusInformation

getID

public String getID()
returns the ID under which this status was registered by the Service

Returns:
iD

setID

public void setID(String id)
sets the ID under which this status was registered by the service this field is set by the service and must not be altered afterwards.

Parameters:
id - iD to be set


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.