|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentsModerationService
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. |
Method Detail |
---|
void startModeration(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators) throws ClientException
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
void approveComent(CoreSession session, DocumentModel document, String commentId) throws ClientException
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
void rejectComment(CoreSession session, DocumentModel document, String commentId) throws ClientException
session
- the coreSessiondocument
- the document were the comment is postedcommentId
- the commentId
ClientException
void publishComment(CoreSession session, DocumentModel comment) throws ClientException
session
- the coreSessioncomment
- the comment to publish
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |