ccc.client.gwt.remoting
Class GetTemplatesAction

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

public abstract class GetTemplatesAction
extends RemotingAction

Get a list of templates from the server.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
GetTemplatesAction(java.lang.String actionName)
          Constructor.
 
Method Summary
protected abstract  void execute(java.util.Collection<Template> templates)
          Deprecated. 
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

GetTemplatesAction

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

Parameters:
actionName - Local-specific name for the action.
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

@Deprecated
protected abstract void execute(java.util.Collection<Template> templates)
Deprecated. 

Handle the data returned from the server.

Parameters:
templates - The available templates.


Copyright © 2010. All Rights Reserved.