com.silverpeas.comment.service
Class MyDefaultCommentService
java.lang.Object
com.silverpeas.comment.service.CommentActionNotifier
com.silverpeas.comment.service.DefaultCommentService
com.silverpeas.comment.service.MyDefaultCommentService
- All Implemented Interfaces:
- CommentService, SilverpeasComponentService<Comment>
@Named(value="commentServiceForTest")
public class MyDefaultCommentService
- extends DefaultCommentService
This a wrapper of the comment service in order to mock some of the inner methods like, for
example, the access to the data source.
|
Constructor Summary |
MyDefaultCommentService()
Constructs a new comment service and mocks some of the underlying resource. |
| Methods inherited from class com.silverpeas.comment.service.DefaultCommentService |
createAndIndexComment, createComment, deleteAllCommentsByComponentInstanceId, deleteAllCommentsOnPublication, deleteComment, deleteComment, getAllCommentsOnPublication, getAllMostCommentedPublicationsInfo, getComment, getCommentsCountOnPublication, getComponentMessages, getComponentSettings, getContentById, getLastComments, getMostCommentedPublicationsInfo, getMostCommentedPublicationsInfo, getSocialInformationCommentsListByUserId, getSocialInformationCommentsListOfMyContacts, indexAllCommentsOnPublication, moveAndReindexComments, moveComments, unindexAllCommentsOnPublication, updateAndIndexComment, updateComment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyDefaultCommentService
public MyDefaultCommentService()
- Constructs a new comment service and mocks some of the underlying resource.
getCommentDAO
protected CommentDAO getCommentDAO()
- Overrides:
getCommentDAO in class DefaultCommentService
getOrganisationController
protected OrganisationController getOrganisationController()
- Overrides:
getOrganisationController in class DefaultCommentService
Copyright © 2016 Silverpeas. All Rights Reserved.