ccc.client.gwt.remoting
Class ListPendingActionsAction
java.lang.Object
ccc.client.core.RemotingAction
ccc.client.gwt.remoting.ListPendingActionsAction
- All Implemented Interfaces:
- Action
public abstract class ListPendingActionsAction
- extends RemotingAction
Display the list of pending actions.
- Author:
- Civic Computing Ltd.
Method Summary |
protected abstract void |
execute(PagedCollection<ActionSummary> actions)
Handle the result of a successful call. |
protected java.lang.String |
getPath()
Determine the server path for this action. |
protected void |
onOK(Response response)
Handle a '200 OK' response from the remote server. |
Methods inherited from class ccc.client.core.RemotingAction |
beforeExecute, encode, execute, fireEvent, getActionName, getBody, getParser, getRequest, onFailure, onNoContent, parseResourceSummary, setExecutor, setParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListPendingActionsAction
public ListPendingActionsAction(int page,
int count,
java.lang.String sort,
SortOrder order)
- Constructor.
- Parameters:
page
- The page of results to return.count
- The number of results in a page.sort
- The field to sort on.order
- The order results be sorted in.
getPath
protected java.lang.String getPath()
- Determine the server path for this action.
- Overrides:
getPath
in class RemotingAction
- Returns:
- The server path for the resource.
onOK
protected void onOK(Response response)
- Handle a '200 OK' response from the remote server.
- Overrides:
onOK
in class RemotingAction
- Parameters:
response
- The server response.
execute
protected abstract void execute(PagedCollection<ActionSummary> actions)
- Handle the result of a successful call.
- Parameters:
actions
- The page of actions returned.
Copyright © 2010. All Rights Reserved.