|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateAccessorController
Provides read-write access to the state holder based on a given request. 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 | |
---|---|
javax.xml.transform.Result |
createResult(javax.servlet.http.HttpServletRequest req)
Returns a serializer from XML to StateHolderController . |
javax.xml.transform.Result |
createResult(StateHolderController state)
Returns a serializer from XML to StateHolderController . |
StateHolderController |
getStateHolderController(javax.servlet.http.HttpServletRequest req)
Retrieves the read-write state holder from the request |
Methods inherited from interface com.ibm.portal.state.accessors.StateAccessor |
---|
createSource, createSource, getStateHolder |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
StateHolderController getStateHolderController(javax.servlet.http.HttpServletRequest req) throws StateNotWriteableException, StateNotInRequestException
req
- servlet request (must not be null)
StateNotWriteableException
- - if a state holder could be associated with a request but
the state is read-only
StateNotInRequestException
- - if no state could be associated with the requestjavax.xml.transform.Result createResult(javax.servlet.http.HttpServletRequest req) throws StateNotWriteableException, StateNotInRequestException
StateHolderController
. The
serialization format is that generated by
StateAccessor#getSource(HttpServletRequest)
.
req
- servlet request (must not be null)
StateNotWriteableException
- - if a state holder could be associated with a request but
the state is read-only
StateNotInRequestException
- - if no state could be associated with the requestjavax.xml.transform.Result createResult(StateHolderController state)
StateHolderController
. The
serialization format is that returned by
StateAccessor#getSource(StateHolder)
.
state
- the state holder controller, not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |