net.sourceforge.pebble.event.response
Class MarkApprovedWhenAuthenticatedListener

java.lang.Object
  extended by net.sourceforge.pebble.event.response.BlogEntryResponseListenerSupport
      extended by net.sourceforge.pebble.event.response.MarkApprovedWhenAuthenticatedListener
All Implemented Interfaces:
CommentListener, TrackBackListener

public class MarkApprovedWhenAuthenticatedListener
extends BlogEntryResponseListenerSupport

Sets the status of new comments and TrackBacks to approved, if the user leaving the response is authenticated and authorised for the blog.

Author:
Simon Brown

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

Constructor Detail

MarkApprovedWhenAuthenticatedListener

public MarkApprovedWhenAuthenticatedListener()
Method Detail

blogEntryResponseAdded

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

Overrides:
blogEntryResponseAdded in class BlogEntryResponseListenerSupport
Parameters:
response - a Response


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