ccc.client.gwt.remoting
Class UpdateUserAction

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

public abstract class UpdateUserAction
extends RemotingAction

Remote action for user updating.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
UpdateUserAction(User userDetails)
          Constructor.
 
Method Summary
protected abstract  void done()
           
protected  java.lang.String getBody()
          Provide a body for this method.
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, 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

UpdateUserAction

public UpdateUserAction(User userDetails)
Constructor.

Parameters:
userDetails - The updated user details.
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.

getBody

protected java.lang.String getBody()
Provide a body for this method.

Only called for POST requests.

Overrides:
getBody in class RemotingAction
Returns:
The request body, as a string.

getRequest

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

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

done

protected abstract void done()


Copyright © 2010. All Rights Reserved.