planetj.dataengine.action.paging
Class PagingActionRequest

java.lang.Object
  extended byplanetj.magic.AbstractMagicRequest
      extended byplanetj.dataengine.action.AbstractActionRequest
          extended byplanetj.dataengine.action.DefaultActionRequest
              extended byplanetj.dataengine.action.RowCollectionActionRequest
                  extended byplanetj.dataengine.action.paging.PagingActionRequest
All Implemented Interfaces:
java.lang.Cloneable, IActionRequest, IFeature, IMagicRequest, java.io.Serializable

public class PagingActionRequest
extends RowCollectionActionRequest
implements java.lang.Cloneable

Executes the a paging action to retrieve a different page of a RowCollection.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.dataengine.IFeature
IFeature.OperationCountFeature
 
Field Summary
 
Fields inherited from class planetj.magic.AbstractMagicRequest
mNextURI
 
Fields inherited from interface planetj.magic.IMagicRequest
IS_COMPLETE, MAGIC_REQUEST, MAGIC_REQUEST_CLASS, MAGIC_REQUEST_PARAM1, MAGIC_REQUEST_RC, SAME_URI, TYPE, TYPE_PAGE, TYPE_SESSION, TYPE_STATIC, USER_REQUEST_ATTRIBUTES_STORED
 
Fields inherited from interface planetj.dataengine.IFeature
DEFAULT_MESSAGE_FEATURE, FEATURE_DELETE, FEATURE_INSERT, FEATURE_LEVEL_ENTERPRISE, FEATURE_LEVEL_ENTRY, FEATURE_LEVEL_PROFESSIONAL, FEATURE_LEVEL_STANDARD, FEATURE_UPDATE, MESSAGE_END, MESSAGE_START
 
Constructor Summary
PagingActionRequest(PagingAction action, RowCollection rc, HttpServletRequest request, HttpServletResponse response)
          Create a new PageRequest for the given RC
 
Method Summary
 java.lang.StringBuffer append(ActionDescriptor displayDescriptor, java.lang.StringBuffer html, HttpServletRequest request, HttpServletResponse response)
          Appends HTML code that is needed to run this action.
 IMagicRequest execute(HttpServletRequest request, HttpServletResponse response, DataEngineServlet servlet)
          Execute method comment.
 
Methods inherited from class planetj.dataengine.action.RowCollectionActionRequest
getRowCollection, isAttemptToExtractDataIntoRowCollection, isAttemptToRefreshRowCollection
 
Methods inherited from class planetj.dataengine.action.DefaultActionRequest
executeAction
 
Methods inherited from class planetj.dataengine.action.AbstractActionRequest
getAction, getActionName, getActionType, getType
 
Methods inherited from class planetj.magic.AbstractMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, changeMode, clone, clone, convertId, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getDefaultPageType, getFailMessage, getFeature, getFeatureLevel, getFirstRequest, getId, getKey, getLastRequest, getMagicRequestParameter, getMagicServletURI, getMagicURI, getNextURI, getNextURI, getPleaseWaitJSP, getPleaseWaitOperation, getRequestAttribute, getRequestParameter, getRequestParameterValues, getRowEventListener, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, getTemplateURI, getWaitingServlet, handlePleaseWait, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isLoadParameterValuesFromRequest, isOverridePrimaryNavigation, isPleaseWait, isPopup, isRepeatable, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, postexecute, postExecute, preexecute, preExecute, processPleaseWait, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, setIdInternal, setLoadParameterValuesFromRequest, setNextURI, setNextURI, setNextURI, setNextURIs, setOverridePrimaryNavigation, setPopup, setRepeatable, setRequestGroupAttribute, setRequestPageAttribute, setRequestPersistentAttribute, setRequestTransientAttribute, setReturnToRequester, setRowEventListener, setSessionAttribute, setSessionSharedAttribute, setStartNewNavigationGroup, setSuccessMessage, store
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagingActionRequest

public PagingActionRequest(PagingAction action,
                           RowCollection rc,
                           HttpServletRequest request,
                           HttpServletResponse response)
Create a new PageRequest for the given RC

Method Detail

append

public java.lang.StringBuffer append(ActionDescriptor displayDescriptor,
                                     java.lang.StringBuffer html,
                                     HttpServletRequest request,
                                     HttpServletResponse response)
Description copied from interface: IActionRequest
Appends HTML code that is needed to run this action.

Specified by:
append in interface IActionRequest
Overrides:
append in class AbstractActionRequest

execute

public IMagicRequest execute(HttpServletRequest request,
                             HttpServletResponse response,
                             DataEngineServlet servlet)
                      throws CMException
Description copied from class: AbstractMagicRequest
Execute method comment.

Specified by:
execute in interface IMagicRequest
Overrides:
execute in class RowCollectionActionRequest
Throws:
CMException