|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
AbstractIntegrationLayer| Field Summary | |
static java.lang.String |
PROPNAME_MANDATORY_PARAMETERS
name of MandatoryParameters property |
static java.lang.String |
PROPNAME_NEXT_LAYER
name of NextLayer property |
static java.lang.String |
PROPNAME_OPTIONAL_PARAMETERS
name of OptionalParameters property |
| Method Summary | |
void |
epilog()
This method is used to provide the result of this layer for the subsequent layers and it has to be called after prolog and processLayer() and
before render(). |
java.lang.Exception |
getException()
Returns the exception the occured during the processing of this layer or null
if the processing was succesful. |
java.lang.String |
getLayerId()
Returns the (hopefully unique) id of this layer. |
int |
getLayerNo()
Returns the number of this layer that is the position of this layer in the layer stack. |
java.util.Enumeration |
getMandatoryParameters()
Returns an enumeration over the mandatory parameters of this layer |
java.lang.String |
getNextLayer()
Returns the id of the next layer in the layer stack. |
java.util.Enumeration |
getOptionalParameters()
Returns an enumeration over the optional parameters of this layer |
java.util.Enumeration |
getValidValues(java.lang.String parameter)
Returns an enumeration over the valid values of the given parameter. |
boolean |
hasException()
Returns true if an exception occured during the processing of this layer |
void |
init(com.sapportals.portal.prt.component.IPortalComponentRequest request,
IParameterConveyor conveyor,
int layerNo,
java.lang.String layerName)
Initializes this layer. |
boolean |
isDebugMode()
Returns whether debug mode is on or off |
boolean |
missingParameters()
Returns true, if there are one or more mandatory parameters missing to process this layer. |
void |
processLayer()
This method is used to do the real job of this layer (ie. |
void |
prolog()
This method is used to retrieve the input parameters for this layer and it is called before processLayer(), epilog and render(). |
void |
render(com.sapportals.portal.prt.component.IPortalComponentResponse response)
This method is used to produce the output of this layer. |
void |
setException(java.lang.Exception e)
set the exception for this layer |
boolean |
stopProcessing()
Returns whether the layer processing should stop at this layer or not |
| Field Detail |
public static final java.lang.String PROPNAME_NEXT_LAYER
public static final java.lang.String PROPNAME_MANDATORY_PARAMETERS
public static final java.lang.String PROPNAME_OPTIONAL_PARAMETERS
| Method Detail |
public void init(com.sapportals.portal.prt.component.IPortalComponentRequest request,
IParameterConveyor conveyor,
int layerNo,
java.lang.String layerName)
request - the Portal Component Requestconveyor - the Parameter Conveyor that will provide this layer with its parameterlayerNo - the number of this layer - i.e. the position in the layer stacklayerId - the (unique) id of this layerIParameterConveyorpublic int getLayerNo()
init(IPortalComponentRequest, IParameterConveyor, int, String)public java.lang.String getLayerId()
init(IPortalComponentRequest, IParameterConveyor, int, String)public java.lang.String getNextLayer()
getLayerId()public void prolog()
processLayer(), epilog and render().processLayer(),
epilog(),
render(IPortalComponentResponse)public void processLayer()
epilog and before render() and
processLayer().prolog(),
epilog(),
render(IPortalComponentResponse)public void epilog()
prolog and processLayer() and
before render().prolog(),
processLayer(),
render(IPortalComponentResponse)public void render(com.sapportals.portal.prt.component.IPortalComponentResponse response)
prolog, processLayer() and epilog.prolog(),
epilog(),
processLayer()public void setException(java.lang.Exception e)
public boolean hasException()
getException()public java.lang.Exception getException()
null
if the processing was succesful.hasException()public boolean missingParameters()
public java.util.Enumeration getMandatoryParameters()
getOptionalParameters()public java.util.Enumeration getOptionalParameters()
getMandatoryParameters()public java.util.Enumeration getValidValues(java.lang.String parameter)
public boolean isDebugMode()
public boolean stopProcessing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||