Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pebble.event.comment
Class EmailNotificationListener

    java.lang.Object
      net.sourceforge.pebble.event.comment.CommentListenerSupport
          net.sourceforge.pebble.event.comment.AbstractEmailNotificationListener
              net.sourceforge.pebble.event.comment.EmailNotificationListener

All Implemented Interfaces:
  CommentListener

    public class EmailNotificationListener

extends AbstractEmailNotificationListener

Sends an e-mail notification to the blog owners when new comments are added.

Author:
  Simon Brown

Constructor Summary
`EmailNotificationListener()`

Method Summary
`protected java.util.Collection` | `getEmailAddresses(Comment comment)` Returns the collection of recipients.

Methods inherited from class net.sourceforge.pebble.event.comment.AbstractEmailNotificationListener
`commentAdded, commentApproved`

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

### EmailNotificationListener

    public EmailNotificationListener()

Method Detail

### getEmailAddresses

    protected java.util.Collection getEmailAddresses(Comment comment)

  Returns the collection of recipients.

  Specified by:
    `getEmailAddresses` in class `AbstractEmailNotificationListener`
  Parameters:
    `comment` - the Comment from the event
  Returns:
    a Collection of e-mail addresses (Strings)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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