|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.comment.ejb.CommentsModerationBean
public class CommentsModerationBean
Constructor Summary | |
---|---|
CommentsModerationBean()
|
Method Summary | |
---|---|
void |
approveComent(CoreSession session,
DocumentModel document,
String commentId)
Approve the comment with the given commentId. |
void |
publishComment(CoreSession session,
DocumentModel comment)
Publish the given comment. |
void |
rejectComment(CoreSession session,
DocumentModel document,
String commentId)
Reject the comment with the given commentId. |
void |
startModeration(CoreSession session,
DocumentModel document,
String commentId,
ArrayList<String> moderators)
Starts the moderation process on given Comment posted on a documentModel. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentsModerationBean()
Method Detail |
---|
public void approveComent(CoreSession session, DocumentModel document, String commentId) throws ClientException
CommentsModerationService
approveComent
in interface CommentsModerationService
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
public void publishComment(CoreSession session, DocumentModel comment) throws ClientException
CommentsModerationService
publishComment
in interface CommentsModerationService
session
- the coreSessioncomment
- the comment to publish
ClientException
public void rejectComment(CoreSession session, DocumentModel document, String commentId) throws ClientException
CommentsModerationService
rejectComment
in interface CommentsModerationService
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
public void startModeration(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators) throws ClientException
CommentsModerationService
startModeration
in interface CommentsModerationService
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |