|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogoutActionAccessorFactory
Factory interface which provides methods to obtain controllers
that allow to set a "Logout" action upon the given
state holder or document model.
For instance the controllers may be used to create EngineURL
s
that trigger the portal logout. 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.
Method Summary | |
---|---|
LogoutActionAccessorController |
newLogoutActionController(javax.servlet.http.HttpServletRequest request,
StateHolderController state)
Returns a LogoutActionActionAccessorController in order to
include a "Logout" action into the given state holder. |
LogoutActionAccessorController |
newLogoutActionController(Node action,
DocumentController model)
Returns a LogoutActionAccessorController in order to
include a "Logout" action into the state holder.This controller should be used in case that no servlet request is available, e.g. |
LogoutActionAccessorController |
newLogoutActionController(StateHolderController state)
Returns a LogoutActionActionAccessorController in order
to include a "Logout" 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 |
---|
LogoutActionAccessorController newLogoutActionController(StateHolderController state)
LogoutActionActionAccessorController
in order
to include a "Logout" action into the given state holder.newLogoutActionController(HttpServletRequest, StateHolderController)
.
state
- Read-write interface to an untyped state document model.
Must not be null
.
LogoutActionAccessorController
instance.LogoutActionAccessorController newLogoutActionController(javax.servlet.http.HttpServletRequest request, StateHolderController state)
LogoutActionActionAccessorController
in order to
include a "Logout" action into the given state holder.
request
- The current servlet request. Must not be null
.state
- Read-write interface to an untyped state document model.
Must not be null
.
LogoutActionAccessorController
instance.LogoutActionAccessorController newLogoutActionController(Node action, DocumentController model)
LogoutActionAccessorController
in order to
include a "Logout" action into the state holder.newLogoutActionController(HttpServletRequest, StateHolderController)
.
action
- Node representing the "Logout" action element (must not be
null
).model
- The state document model which contains root
.
LogoutActionAccessorController
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |