com.silverpeas.comment.service
Interface CommentService
- All Superinterfaces:
- SilverpeasComponentService<Comment>
- All Known Implementing Classes:
- DefaultCommentService
public interface CommentService
- extends SilverpeasComponentService<Comment>
User: ehugonnet Date: 21/03/11 Time: 09:54
Method Summary |
void |
createAndIndexComment(Comment cmt)
|
void |
createComment(Comment cmt)
|
void |
deleteAllCommentsByComponentInstanceId(String instanceId)
|
void |
deleteAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
|
void |
deleteComment(Comment comment)
|
void |
deleteComment(CommentPK pk)
|
List<Comment> |
getAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
|
List<CommentedPublicationInfo> |
getAllMostCommentedPublicationsInfo()
|
Comment |
getComment(CommentPK pk)
|
int |
getCommentsCountOnPublication(String resourceType,
WAPrimaryKey pk)
|
List<Comment> |
getLastComments(String resourceType,
int count)
|
List<CommentedPublicationInfo> |
getMostCommentedPublicationsInfo(String resourceType)
|
List<CommentedPublicationInfo> |
getMostCommentedPublicationsInfo(String resourceType,
List<? extends WAPrimaryKey> pks)
|
List<SocialInformationComment> |
getSocialInformationCommentsListByUserId(List<String> listResourceType,
String userId,
Period period)
|
List<SocialInformationComment> |
getSocialInformationCommentsListOfMyContacts(List<String> listResourceType,
List<String> myContactsIds,
List<String> listInstanceId,
Period period)
|
void |
indexAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
|
void |
moveAndReindexComments(String resourceType,
WAPrimaryKey fromPK,
WAPrimaryKey toPK)
|
void |
moveComments(String resourceType,
WAPrimaryKey fromPK,
WAPrimaryKey toPK)
|
void |
unindexAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
|
void |
updateAndIndexComment(Comment cmt)
|
void |
updateComment(Comment cmt)
|
createComment
void createComment(Comment cmt)
createAndIndexComment
void createAndIndexComment(Comment cmt)
deleteComment
void deleteComment(CommentPK pk)
deleteAllCommentsOnPublication
void deleteAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
deleteAllCommentsByComponentInstanceId
void deleteAllCommentsByComponentInstanceId(String instanceId)
deleteComment
void deleteComment(Comment comment)
moveComments
void moveComments(String resourceType,
WAPrimaryKey fromPK,
WAPrimaryKey toPK)
moveAndReindexComments
void moveAndReindexComments(String resourceType,
WAPrimaryKey fromPK,
WAPrimaryKey toPK)
updateComment
void updateComment(Comment cmt)
updateAndIndexComment
void updateAndIndexComment(Comment cmt)
getComment
Comment getComment(CommentPK pk)
getAllCommentsOnPublication
List<Comment> getAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
getMostCommentedPublicationsInfo
List<CommentedPublicationInfo> getMostCommentedPublicationsInfo(String resourceType,
List<? extends WAPrimaryKey> pks)
getMostCommentedPublicationsInfo
List<CommentedPublicationInfo> getMostCommentedPublicationsInfo(String resourceType)
getAllMostCommentedPublicationsInfo
List<CommentedPublicationInfo> getAllMostCommentedPublicationsInfo()
getLastComments
List<Comment> getLastComments(String resourceType,
int count)
getCommentsCountOnPublication
int getCommentsCountOnPublication(String resourceType,
WAPrimaryKey pk)
indexAllCommentsOnPublication
void indexAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
unindexAllCommentsOnPublication
void unindexAllCommentsOnPublication(String resourceType,
WAPrimaryKey pk)
getSocialInformationCommentsListByUserId
List<SocialInformationComment> getSocialInformationCommentsListByUserId(List<String> listResourceType,
String userId,
Period period)
getSocialInformationCommentsListOfMyContacts
List<SocialInformationComment> getSocialInformationCommentsListOfMyContacts(List<String> listResourceType,
List<String> myContactsIds,
List<String> listInstanceId,
Period period)
Copyright © 2016 Silverpeas. All Rights Reserved.