org.wicketstuff.facebook.behaviors
Class CommentRemoveEventBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.wicketstuff.facebook.behaviors.AbstractSubscribeBehavior
                  extended by org.wicketstuff.facebook.behaviors.CommentRemoveEventBehavior
All Implemented Interfaces:
Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable

public abstract class CommentRemoveEventBehavior
extends AbstractSubscribeBehavior

fired when the user removes a comment (fb:comments)

Author:
Till Freier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
protected CommentRemoveEventBehavior()
           
 
Method Summary
protected abstract  void onCommentRemove(AjaxRequestTarget target, String href, String commentId)
           
protected  void onEvent(AjaxRequestTarget target, IRequestParameters parameters, String response)
           
 
Methods inherited from class org.wicketstuff.facebook.behaviors.AbstractSubscribeBehavior
renderHead, respond
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentRemoveEventBehavior

protected CommentRemoveEventBehavior()
Method Detail

onCommentRemove

protected abstract void onCommentRemove(AjaxRequestTarget target,
                                        String href,
                                        String commentId)
Parameters:
target -
href - Open Graph URL of the Comment Plugin
commentId - The commentID of the deleted comment

onEvent

protected void onEvent(AjaxRequestTarget target,
                       IRequestParameters parameters,
                       String response)
Specified by:
onEvent in class AbstractSubscribeBehavior


Copyright © 2014. All rights reserved.