public class ModerateCommentOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected Boolean |
accept |
protected OperationContext |
ctx |
static String |
ID |
protected CoreSession |
session |
Constructor and Description |
---|
ModerateCommentOperation() |
Modifier and Type | Method and Description |
---|---|
protected void |
moderate(DocumentRef docRef) |
DocumentModel |
run(DocumentModel doc) |
DocumentModel |
run(DocumentRef docRef) |
public static final String ID
protected OperationContext ctx
protected CoreSession session
public ModerateCommentOperation()
public DocumentModel run(DocumentModel doc)
public DocumentModel run(DocumentRef docRef)
protected void moderate(DocumentRef docRef)
Copyright © 2018 Nuxeo. All rights reserved.