com.silverpeas.scheduleevent.test.stub
Class CommentUserNotificationServiceStub
java.lang.Object
com.silverpeas.scheduleevent.test.stub.CommentUserNotificationServiceStub
- All Implemented Interfaces:
- com.silverpeas.comment.service.CommentUserNotificationService
@Named(value="commentUserNotificationService")
public class CommentUserNotificationServiceStub
- extends Object
- implements com.silverpeas.comment.service.CommentUserNotificationService
Extends the CommentUserNotificationService class to play the role of a such object in tests.
Fields inherited from interface com.silverpeas.comment.service.CommentUserNotificationService |
SUBJECT_COMMENT_ADDING |
Method Summary |
void |
commentAdded(com.silverpeas.comment.model.Comment newComment)
|
void |
commentRemoved(com.silverpeas.comment.model.Comment removedComment)
|
void |
register(String component,
com.silverpeas.SilverpeasComponentService<? extends com.silverpeas.SilverpeasContent> service)
|
void |
unregister(String component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentUserNotificationServiceStub
public CommentUserNotificationServiceStub()
register
public void register(String component,
com.silverpeas.SilverpeasComponentService<? extends com.silverpeas.SilverpeasContent> service)
- Specified by:
register
in interface com.silverpeas.comment.service.CommentUserNotificationService
unregister
public void unregister(String component)
- Specified by:
unregister
in interface com.silverpeas.comment.service.CommentUserNotificationService
commentAdded
public void commentAdded(com.silverpeas.comment.model.Comment newComment)
- Specified by:
commentAdded
in interface com.silverpeas.comment.service.CommentUserNotificationService
commentRemoved
public void commentRemoved(com.silverpeas.comment.model.Comment removedComment)
- Specified by:
commentRemoved
in interface com.silverpeas.comment.service.CommentUserNotificationService
Copyright © 2016 Silverpeas. All Rights Reserved.