|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationServiceImpl
public class CommentsModerationServiceImpl
Constructor Summary | |
---|---|
CommentsModerationServiceImpl()
|
Method Summary | |
---|---|
void |
approveComent(CoreSession session,
DocumentModel doc,
String commentId)
Approve the comment with the given commentId. |
ProcessInstance |
getModerationProcess(JbpmService jbpmService,
CoreSession session,
DocumentModel doc,
String commentId)
|
void |
publishComment(CoreSession session,
DocumentModel comment)
Publish the given comment. |
void |
rejectComment(CoreSession session,
DocumentModel doc,
String commentId)
Reject the comment with the given commentId. |
void |
startModeration(CoreSession session,
DocumentModel doc,
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 CommentsModerationServiceImpl()
Method Detail |
---|
public void startModeration(CoreSession session, DocumentModel doc, String commentID, ArrayList<String> moderators) throws ClientException
CommentsModerationService
startModeration
in interface CommentsModerationService
session
- the coreSessiondoc
- the document were the comment is postedcommentID
- the commentId
ClientException
public ProcessInstance getModerationProcess(JbpmService jbpmService, CoreSession session, DocumentModel doc, String commentId) throws ClientException
ClientException
public void approveComent(CoreSession session, DocumentModel doc, String commentId) throws ClientException
CommentsModerationService
approveComent
in interface CommentsModerationService
session
- the coreSessiondoc
- the document were the comment is postedcommentId
- the commentId
ClientException
public void rejectComment(CoreSession session, DocumentModel doc, String commentId) throws ClientException
CommentsModerationService
rejectComment
in interface CommentsModerationService
session
- the coreSessiondoc
- 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
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |