com.sapportals.portal.appintegrator

Interface IParameterConveyor


public interface IParameterConveyor

The parameter conveyor keeps each parameter in a vector where the i-th slot contains the parameter for the i-th layer. The conveyor itself is a hashtable that is stored under this name in the node.


Method Summary
 Object getParameter(String id, int layerNo)
          Returns the value of the parameter inside the conveyor defined by its id for the given layerNo If the vat with the given layerNo is empty the slots above are searched until a non-null value is found.
 Set getParameterNames()
          Returns the over all set of parameter names that is available by the parameter conveyor
 void setLayerProperties(Map properties, int layerNo)
          Sets the properties for a given layer number
 void setParameter(String id, Object value)
          Sets the parameter defined by id and value for the top layer.
 void setParameter(String id, Object value, int layerNo)
          Sets the parameter defined by id and value for the given layer number.
 

Method Detail

setParameter

void setParameter(String id,
                  Object value,
                  int layerNo)
Sets the parameter defined by id and value for the given layer number.

Parameters:
id - parameter id (name)
value - parameter value
layerNo - the layer number

setParameter

void setParameter(String id,
                  Object value)
Sets the parameter defined by id and value for the top layer.

Parameters:
id - parameter id (name)
value - parameter value

getParameter

Object getParameter(String id,
                    int layerNo)
Returns the value of the parameter inside the conveyor defined by its id for the given layerNo If the vat with the given layerNo is empty the slots above are searched until a non-null value is found. If all slots are empty the POM-node is asked for the value.

Parameters:
id - parameter id (name)
layerNo - the layer number, if layerNo is greater or equal 0. If layerNo less than 0 the POM-node is looked up
Returns:
the value of the layerNoth slot of the vat with id=id. If no value could be found, the above layers are searched as far as the POM node itself is looked up.

getParameterNames

Set getParameterNames()
Returns the over all set of parameter names that is available by the parameter conveyor

Returns:
set of all parameter names

setLayerProperties

void setLayerProperties(Map properties,
                        int layerNo)
Sets the properties for a given layer number

Parameters:
properties - the layer properties
layerNo - the layer number
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/appintegration/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice