ccc.client.gwt.remoting
Class GetChildrenAction

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

public abstract class GetChildrenAction
extends RemotingAction

Remote action for children resource fetching.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
GetChildrenAction(java.lang.String actionName)
          Constructor.
 
Method Summary
protected abstract  void execute(java.util.Collection<ResourceSummary> children)
          Handle the result of a successful call.
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, getPath, getRequest, onFailure, onNoContent, parseResourceSummary, setExecutor, setParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetChildrenAction

public GetChildrenAction(java.lang.String actionName)
Constructor.

Parameters:
actionName - The name of the action.
Method Detail

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(java.util.Collection<ResourceSummary> children)
Handle the result of a successful call.

Parameters:
children - The collection of folder children.


Copyright © 2010. All Rights Reserved.