planetj.dataengine.action.paging
Class PagingAction
java.lang.Object
planetj.dataengine.action.AbstractAction
planetj.dataengine.action.ObjectAction
planetj.dataengine.action.NamedAction
planetj.dataengine.action.NamedRowCollectionAction
planetj.dataengine.action.paging.PagingAction
- All Implemented Interfaces:
- java.lang.Cloneable, IHttpAction, IRowCollectionAction, java.io.Serializable
- public class PagingAction
- extends NamedRowCollectionAction
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAGING_ACTION_NAME
public static final java.lang.String PAGING_ACTION_NAME
- See Also:
- Constant Field Values
PAGE_FIRST
public static final short PAGE_FIRST
- See Also:
- Constant Field Values
PAGE_PREVIOUS
public static final short PAGE_PREVIOUS
- See Also:
- Constant Field Values
PAGE_NEXT
public static final short PAGE_NEXT
- See Also:
- Constant Field Values
PAGE_LAST
public static final short PAGE_LAST
- See Also:
- Constant Field Values
PagingAction
public PagingAction(RowCollection rc)
- Parameters:
rc
-
createActionRequest
public IActionRequest createActionRequest(java.lang.Object o,
HttpServletRequest request,
HttpServletResponse response)
throws CMException
- Description copied from interface:
IHttpAction
- Get a magic request that may be used to execute this action.
- Specified by:
createActionRequest
in interface IHttpAction
- Overrides:
createActionRequest
in class NamedRowCollectionAction
- Throws:
CMException
getDefaultDescriptor
public ActionDescriptor getDefaultDescriptor()
- Description copied from class:
AbstractAction
- Get the default action descriptor for this action. Subclasses may optionally provide a
default descriptor
- Overrides:
getDefaultDescriptor
in class AbstractAction
handleRowCollectionAction
public java.lang.Object handleRowCollectionAction(RowCollection rc,
java.lang.Object o,
ExecutingContext ec)
throws CMException
- Description copied from class:
NamedRowCollectionAction
- Subclasses need to provide logic to handle the action
they wish to perform.
- Overrides:
handleRowCollectionAction
in class NamedRowCollectionAction
- Parameters:
rc
- RowCollection to perform action on
- Throws:
CMException