|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MDEXStateManager
Interface representing all MDEX State Manager implementations. State Managers may want to
extend AbstractMDEXStateManager
instead of implementing this interface directly.
AbstractStateManager contains useful utility methods.
Method Summary | |
---|---|
QueryState |
handleStateInitial(javax.portlet.PortletRequest request,
MDEXState mdexState)
Handles retrieval of the initial query state from a data source; used for query-time determination of the query a portlet should fire during portlet execution. |
QueryState |
handleStateMerge(javax.portlet.PortletRequest request,
MDEXState mdexState)
Handles retrieval of a query state from a data source; used for query-time determination of the query a portlet should fire during portlet execution. |
void |
handleStateReset(javax.portlet.PortletRequest request,
MDEXState mdexState)
Handle resetting of the query state to its initial state; used for initialization of a data source or user-visible controls to remove all filters. |
void |
handleStateUpdate(javax.portlet.PortletRequest request,
MDEXState mdexState,
QueryState newQueryState)
Handles updating a data source with a new query state. |
Method Detail |
---|
void handleStateUpdate(javax.portlet.PortletRequest request, MDEXState mdexState, QueryState newQueryState) throws QueryStateException
DataSource.setQueryState(QueryState newState)
request
- the current PortletRequestmdexState
- the MDEXState representing the current data sourcenewQueryState
- the query state to be set onto the data source
QueryStateException
QueryState handleStateMerge(javax.portlet.PortletRequest request, MDEXState mdexState) throws QueryStateException
DataSource.getQueryState()
request
- the current PortletRequestmdexState
- the MDEXState representing the current data source
QueryStateException
void handleStateReset(javax.portlet.PortletRequest request, MDEXState mdexState) throws QueryStateException
DataSource.resetQueryState()
request
- the current PortletRequestmdexState
- the MDEXState representing the current data source
QueryStateException
QueryState handleStateInitial(javax.portlet.PortletRequest request, MDEXState mdexState) throws QueryStateException
DataSource.getInitialQueryState()
request
- the current PortletRequestmdexState
- the MDEXState representing the current data source
QueryStateException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |