|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.data.AbstractMDEXStateManager
public abstract class AbstractMDEXStateManager
An abstract base class for managing MDEXState changes.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
---|---|
AbstractMDEXStateManager()
default constructor |
Method Summary | |
---|---|
protected void |
addEventTrigger(javax.portlet.PortletRequest request,
MDEXState ds)
Use this method to make sure an appropriate change event will be triggered for an altered MDEXState |
abstract QueryState |
handleStateMerge(javax.portlet.PortletRequest request,
MDEXState mdexState)
Handle query-time determination of the query a portlet should fire before the portlet requests execution |
void |
handleStateReset(javax.portlet.PortletRequest request,
MDEXState mdexState)
Handle resetting of the query state to its initial state |
abstract void |
handleStateUpdate(javax.portlet.PortletRequest request,
MDEXState mdexState,
QueryState newQueryState)
Encapsulate data source update logic. |
protected void |
processRefinementsToAdd(java.util.List<QueryFunction> functionsToAdd,
QueryState queryState)
This method handles refinement additions for V6 -- specifically, it decides a new refinement is a descendant of an existing one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger logger
Constructor Detail |
---|
public AbstractMDEXStateManager()
Method Detail |
---|
public abstract void handleStateUpdate(javax.portlet.PortletRequest request, MDEXState mdexState, QueryState newQueryState) throws QueryStateException
request
- mdexState
- newQueryState
-
QueryStateException
public abstract QueryState handleStateMerge(javax.portlet.PortletRequest request, MDEXState mdexState) throws QueryStateException
request
- mdexState
-
QueryStateException
public void handleStateReset(javax.portlet.PortletRequest request, MDEXState mdexState) throws QueryStateException
request
- the PortletRequestmdexState
- the current datasource state
QueryStateException
- on errorprotected void processRefinementsToAdd(java.util.List<QueryFunction> functionsToAdd, QueryState queryState) throws QueryStateException
functionsToAdd
- queryState
-
QueryStateException
protected void addEventTrigger(javax.portlet.PortletRequest request, MDEXState ds)
request
- The current request objectds
- The MDEXState that has changed and needs an event triggered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |