ccc.client.gwt.remoting
Class OpenEditCacheAction

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

public class OpenEditCacheAction
extends RemotingAction

Edit resource's cache setting.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
OpenEditCacheAction(SingleSelectionModel selectionModel)
          Constructor.
 
Method Summary
protected  java.lang.String getPath()
          Determine the server path for this action.
protected  void onNoContent(Response response)
          Handle a '204 NO CONTENT' response from the remote server.
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, getRequest, onFailure, parseResourceSummary, setExecutor, setParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenEditCacheAction

public OpenEditCacheAction(SingleSelectionModel selectionModel)
Constructor.

Parameters:
selectionModel - The selection model.
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.

onNoContent

protected void onNoContent(Response response)
Handle a '204 NO CONTENT' response from the remote server.

Overrides:
onNoContent in class RemotingAction
Parameters:
response - The server response.

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.


Copyright © 2010. All Rights Reserved.