ccc.client.gwt.remoting
Class ListCompletedActionsAction

java.lang.Object
  extended by ccc.client.core.RemotingAction
      extended by ccc.client.gwt.remoting.ListCompletedActionsAction
All Implemented Interfaces:
Action

public abstract class ListCompletedActionsAction
extends RemotingAction

Display the list of completed actions.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
ListCompletedActionsAction(int page, int count, java.lang.String sort, SortOrder order)
          Constructor.
 
Method Summary
protected abstract  void execute(java.util.List<ActionSummary> actions, int totalCount)
          Handle the result of a successful call.
protected  java.lang.String getPath()
          Determine the server path for this action.
protected  Request getRequest()
          Get the HTTP request for this action.
 
Methods inherited from class ccc.client.core.RemotingAction
beforeExecute, encode, execute, fireEvent, getActionName, getBody, getParser, onFailure, onNoContent, onOK, parseResourceSummary, setExecutor, setParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCompletedActionsAction

public ListCompletedActionsAction(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.
Method Detail

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.

getRequest

protected Request getRequest()
Get the HTTP request for this action.

Overrides:
getRequest in class RemotingAction
Returns:
The request for this remote action.

execute

protected abstract void execute(java.util.List<ActionSummary> actions,
                                int totalCount)
Handle the result of a successful call.

Parameters:
actions - The page of actions returned.
totalCount - The total actions available on the server.


Copyright © 2010. All Rights Reserved.