SAP NetWeaver '04

com.sapportals.wcm.util.controlstatus
Interface IControlStatus

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
All Known Subinterfaces:
IConfigurableRendererStatus, IRendererStatus
All Known Implementing Classes:
MetaStatus, ProxyStatus

public interface IControlStatus


Method Summary
 StatusInformation execute(IExecutable executable)
          carries out the action described by the given parameter.
 StatusInformation execute(java.lang.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.
 java.util.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.
 java.util.List getFields()
          returns a list with all fields defined by the implementing class
 java.lang.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(java.lang.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(java.lang.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 java.util.List getFields()
returns a list with all fields defined by the implementing class
Returns:
fields

getActions

public java.util.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 java.lang.String getID()
returns the ID under which this status was registered by the Service
Returns:
iD

setID

public void setID(java.lang.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

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
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.