Class ModerateCommentOperation
- java.lang.Object
-
- org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation
-
public class ModerateCommentOperation extends Object
- Since:
- 5.5
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
accept
protected OperationContext
ctx
static String
ID
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description ModerateCommentOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
moderate(DocumentRef docRef)
DocumentModel
run(DocumentModel doc)
DocumentModel
run(DocumentRef docRef)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
session
protected CoreSession session
-
accept
protected Boolean accept
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc)
-
run
public DocumentModel run(DocumentRef docRef)
-
moderate
protected void moderate(DocumentRef docRef)
-
-