ccc.client.gwt.remoting
Class GetRootsAction

java.lang.Object
  extended by ccc.client.core.RemotingAction
      extended by ccc.client.gwt.remoting.GetRootsAction
All Implemented Interfaces:
Action
Direct Known Subclasses:
DrawMainWindowAction

public abstract class GetRootsAction
extends RemotingAction

Action for retrieving the root.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
GetRootsAction()
           
 
Method Summary
protected  java.lang.String getPath()
          Determine the server path for this action.
protected  Request getRequest()
          Get the HTTP request for this action.
protected abstract  void onSuccess(ResourceSummary root)
          Execute 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

GetRootsAction

public GetRootsAction()
Method Detail

getPath

protected java.lang.String getPath()
Description copied from class: RemotingAction
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.

onSuccess

protected abstract void onSuccess(ResourceSummary root)
Execute this action.

Parameters:
root - The root resource returned by the server.


Copyright © 2010. All Rights Reserved.