ccc.client.actions
Class UpdateCommentAction.CommentUpdatedCallback

java.lang.Object
  extended by ccc.client.core.ResponseHandlerAdapter
      extended by ccc.client.actions.UpdateCommentAction.CommentUpdatedCallback
All Implemented Interfaces:
ResponseHandler
Enclosing class:
UpdateCommentAction

public class UpdateCommentAction.CommentUpdatedCallback
extends ResponseHandlerAdapter

Callback handler for updating a comment.

Author:
Civic Computing Ltd.

Constructor Summary
UpdateCommentAction.CommentUpdatedCallback(java.lang.String name, Comment comment)
          Constructor.
 
Method Summary
 void onOK(Response response)
          Handle a '200 OK' response from the remote server.
 
Methods inherited from class ccc.client.core.ResponseHandlerAdapter
onBadRequest, onConflict, onError, onFailed, onMethodNotAllowed, onNoContent, onNotFound, onSessionTimeout, onUnauthorized, onUnsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCommentAction.CommentUpdatedCallback

public UpdateCommentAction.CommentUpdatedCallback(java.lang.String name,
                                                  Comment comment)
Constructor.

Parameters:
name - The action name.
comment - The updated comment.
Method Detail

onOK

public void onOK(Response response)
Handle a '200 OK' response from the remote server.

Specified by:
onOK in interface ResponseHandler
Overrides:
onOK in class ResponseHandlerAdapter
Parameters:
response - The server response.


Copyright © 2010. All Rights Reserved.