com.sapportals.portal.appintegrator
Interface ILayerProcessor


public interface ILayerProcessor

Version:
$Revision: #1 $.

Method Summary
 void clear()
          clears this and all depended objects
 java.util.Set getAllParameterNames()
          Returns a set of the mandatory and optional parameter names of the whole layer stack.
 java.lang.Object getParameter(java.lang.String id)
          Returns the value of the parameter given by its id.
 void processActionPass()
          Processes pass 1 (action pass) of the layer stack
 void processContentPass(com.sapportals.portal.prt.component.IPortalComponentResponse response)
          processes pass2 (content pass) of the layer stack
 

Method Detail

getParameter

public java.lang.Object getParameter(java.lang.String id)
Returns the value of the parameter given by its id. At first the request is checked for the parameter. On failure the node is checked and finally the profile.
Parameters:
id - the parameter id
Returns:
the parameter value as defined by the request, the node or the profile

getAllParameterNames

public java.util.Set getAllParameterNames()
Returns a set of the mandatory and optional parameter names of the whole layer stack. Since the returned value is a set it will not contain duplicated entries.
Returns:
a set containing the mandatory and optional parameter names of the whole layer stack.

processActionPass

public void processActionPass()
                       throws ApplicationIntegratorException
Processes pass 1 (action pass) of the layer stack
See Also:
processContentPass(IPortalComponentResponse), IPortalComponentResponse

processContentPass

public void processContentPass(com.sapportals.portal.prt.component.IPortalComponentResponse response)
                        throws ApplicationIntegratorException
processes pass2 (content pass) of the layer stack
Parameters:
response - the Portal Component Response
See Also:
processActionPass(), IPortalComponentResponse

clear

public void clear()
clears this and all depended objects