com.silverpeas.comment.service
Class CommentActionNotifier

java.lang.Object
  extended by com.silverpeas.comment.service.CommentActionNotifier
Direct Known Subclasses:
DefaultCommentService

public class CommentActionNotifier
extends Object

A notifier of actions on comments. The notifier uses the Silverpeas notification API to inform subscribers about actions on comments.


Constructor Summary
CommentActionNotifier()
           
 
Method Summary
 void notifyCommentAdding(Comment addedComment)
          Notifies the specified comment was added to a resource in Silverpeas.
 void notifyCommentRemoval(Comment removedComment)
          Notifies the specified comment was removed from a resource in Silverpeas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentActionNotifier

public CommentActionNotifier()
Method Detail

notifyCommentAdding

public void notifyCommentAdding(Comment addedComment)
Notifies the specified comment was added to a resource in Silverpeas.

Parameters:
addedComment - the comment that was added.

notifyCommentRemoval

public void notifyCommentRemoval(Comment removedComment)
Notifies the specified comment was removed from a resource in Silverpeas.

Parameters:
removedComment - the comment that was removed.


Copyright © 2016 Silverpeas. All Rights Reserved.