ccc.client.gwt.remoting
Class GetUserAction

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

public abstract class GetUserAction
extends RemotingAction

Fetch a user.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
GetUserAction(java.lang.String userPath)
          Constructor.
 
Method Summary
protected abstract  void execute(User user)
          Handle the result of a successful call.
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, getPath, 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

GetUserAction

public GetUserAction(java.lang.String userPath)
Constructor.

Parameters:
userPath - The path to the user on the server.
Method Detail

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(User user)
Handle the result of a successful call.

Parameters:
user - The user returned.


Copyright © 2010. All Rights Reserved.