net.sourceforge.pebble.event.response
Class BlogEntryResponseListenerSupport

java.lang.Object
  extended by net.sourceforge.pebble.event.response.BlogEntryResponseListenerSupport
All Implemented Interfaces:
CommentListener, TrackBackListener
Direct Known Subclasses:
ContentSpamListener, DeleteRejectedListener, DisableResponseListener, IpAddressListener, LinkSpamListener, MarkApprovedListener, MarkApprovedWhenAuthenticatedListener, MarkPendingListener, SpamScoreListener

public abstract class BlogEntryResponseListenerSupport
extends java.lang.Object
implements CommentListener, TrackBackListener

Starting point for implementation of classes that are both comment and TrackBack listeners. Override the blogEntryResponseX methods.

Author:
Simon Brown

Constructor Summary
BlogEntryResponseListenerSupport()
           
 
Method Summary
protected  void blogEntryResponseAdded(Response response)
          Called when a comment or TrackBack has been added.
protected  void blogEntryResponseApproved(Response response)
          Called when a comment or TrackBack has been approved.
protected  void blogEntryResponseRejected(Response response)
          Called when a comment or TrackBack has been rejected.
protected  void blogEntryResponseRemoved(Response response)
          Called when a comment or TrackBack has been removed.
 void commentAdded(CommentEvent event)
          Called when a comment has been added.
 void commentApproved(CommentEvent event)
          Called when a comment has been approved.
 void commentRejected(CommentEvent event)
          Called when a comment has been rejected.
 void commentRemoved(CommentEvent event)
          Called when a comment has been removed.
 void trackBackAdded(TrackBackEvent event)
          Called when a TrackBack has been added.
 void trackBackApproved(TrackBackEvent event)
          Called when a TrackBack has been approved.
 void trackBackRejected(TrackBackEvent event)
          Called when a TrackBack has been rejected.
 void trackBackRemoved(TrackBackEvent event)
          Called when a TrackBack has been removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogEntryResponseListenerSupport

public BlogEntryResponseListenerSupport()
Method Detail

commentAdded

public void commentAdded(CommentEvent event)
Called when a comment has been added.

Specified by:
commentAdded in interface CommentListener
Parameters:
event - a CommentEvent instance

commentRemoved

public void commentRemoved(CommentEvent event)
Called when a comment has been removed.

Specified by:
commentRemoved in interface CommentListener
Parameters:
event - a CommentEvent instance

commentApproved

public void commentApproved(CommentEvent event)
Called when a comment has been approved.

Specified by:
commentApproved in interface CommentListener
Parameters:
event - a CommentEvent instance

commentRejected

public void commentRejected(CommentEvent event)
Called when a comment has been rejected.

Specified by:
commentRejected in interface CommentListener
Parameters:
event - a CommentEvent instance

trackBackAdded

public void trackBackAdded(TrackBackEvent event)
Called when a TrackBack has been added.

Specified by:
trackBackAdded in interface TrackBackListener
Parameters:
event - a TrackBackEvent instance

trackBackRemoved

public void trackBackRemoved(TrackBackEvent event)
Called when a TrackBack has been removed.

Specified by:
trackBackRemoved in interface TrackBackListener
Parameters:
event - a TrackBackEvent instance

trackBackApproved

public void trackBackApproved(TrackBackEvent event)
Called when a TrackBack has been approved.

Specified by:
trackBackApproved in interface TrackBackListener
Parameters:
event - a TrackBackEvent instance

trackBackRejected

public void trackBackRejected(TrackBackEvent event)
Called when a TrackBack has been rejected.

Specified by:
trackBackRejected in interface TrackBackListener
Parameters:
event - a TrackBackEvent instance

blogEntryResponseAdded

protected void blogEntryResponseAdded(Response response)
Called when a comment or TrackBack has been added.

Parameters:
response - a Response

blogEntryResponseRemoved

protected void blogEntryResponseRemoved(Response response)
Called when a comment or TrackBack has been removed.

Parameters:
response - a Response

blogEntryResponseApproved

protected void blogEntryResponseApproved(Response response)
Called when a comment or TrackBack has been approved.

Parameters:
response - a Response

blogEntryResponseRejected

protected void blogEntryResponseRejected(Response response)
Called when a comment or TrackBack has been rejected.

Parameters:
response - a Response


Copyright © 2003-2006, Simon Brown. All Rights Reserved.