com.ibm.portal.state.accessors.action.engine.moveportlet
Interface MovePortletActionAccessorFactory

All Superinterfaces:
AccessorFactory

public interface MovePortletActionAccessorFactory
extends AccessorFactory

Factory interface which provides methods to obtain controllers that allow to set a "Move Portlet" action upon the given state holder or document model.
For instance the controllers may be used to create EngineURLs that trigger the movement of a portlet. Just request a controller that operates on the state holder /document model that has been associated with the respective EngineURL. NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.

Since:
5.1

Method Summary
 MovePortletActionAccessorController getMovePortletActionController(javax.servlet.http.HttpServletRequest request, StateHolderController state)
          Returns a MovePortletActionAccessorController in order to include a "Move Portlet" action into the given state holder.
 MovePortletActionAccessorController getMovePortletActionController(Node action, DocumentController model)
          Returns a MovePortletActionAccessorController in order to include a "Move Portlet" action into the state holder.
This controller should be used in case that no servlet request is available, e.g.
 MovePortletActionAccessorController getMovePortletActionController(StateHolderController state)
          Returns a MoveActionActionAccessorController in order to include a "Move Portlet" action into the given state holder.
This controller should be used in case that no servlet request is available, e.g.
 
Methods inherited from interface com.ibm.portal.state.accessors.AccessorFactory
compact
 

Method Detail

getMovePortletActionController

MovePortletActionAccessorController getMovePortletActionController(StateHolderController state)
Returns a MoveActionActionAccessorController in order to include a "Move Portlet" action into the given state holder.
This controller should be used in case that no servlet request is available, e.g. when generating a URL from within an EJB. Otherwise a controller should be requested via getMovePortletActionController(HttpServletRequest, StateHolderController).

Parameters:
state - Read-write interface to an untyped state document model. Must not be null.
Returns:
A MovePortletActionAccessorController instance.

getMovePortletActionController

MovePortletActionAccessorController getMovePortletActionController(javax.servlet.http.HttpServletRequest request,
                                                                   StateHolderController state)
Returns a MovePortletActionAccessorController in order to include a "Move Portlet" action into the given state holder.

Parameters:
request - The current servlet request. Must not be null.
state - Read-write interface to an untyped state document model. Must not be null.
Returns:
A MovePortletActionAccessorController instance.

getMovePortletActionController

MovePortletActionAccessorController getMovePortletActionController(Node action,
                                                                   DocumentController model)
Returns a MovePortletActionAccessorController in order to include a "Move Portlet" action into the state holder.
This controller should be used in case that no servlet request is available, e.g. when generating a URL from within an EJB. Otherwise a controller should be requested via getMovePortletActionController(HttpServletRequest, StateHolderController).

Parameters:
action - Node representing the "Move Portlet" action element (must not be null).
model - The state document model which contains root.
Returns:
A MovePortletActionAccessorController instance.