|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.event.comment.CommentListenerSupport
net.sourceforge.pebble.event.comment.AbstractEmailNotificationListener
public abstract class AbstractEmailNotificationListener
Base class for listeners that send an e-mail notification when new comments are added.
Constructor Summary | |
---|---|
AbstractEmailNotificationListener()
|
Method Summary | |
---|---|
void |
commentAdded(CommentEvent event)
Called when a comment has been added. |
void |
commentApproved(CommentEvent event)
Called when a comment has been approved. |
protected abstract java.util.Collection |
getEmailAddresses(Comment comment)
Returns the collection of recipients. |
Methods inherited from class net.sourceforge.pebble.event.comment.CommentListenerSupport |
---|
commentRejected, commentRemoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractEmailNotificationListener()
Method Detail |
---|
public void commentAdded(CommentEvent event)
commentAdded
in interface CommentListener
commentAdded
in class CommentListenerSupport
event
- a CommentEvent instancepublic void commentApproved(CommentEvent event)
commentApproved
in interface CommentListener
commentApproved
in class CommentListenerSupport
event
- a CommentEvent instanceprotected abstract java.util.Collection getEmailAddresses(Comment comment)
comment
- the Comment from the event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |