public class AddCommentCommand extends Object implements INuxeoCommand
INuxeoCommand| Constructor and Description |
|---|
AddCommentCommand(org.nuxeo.ecm.automation.client.model.Document document,
CommentDTO comment,
String parentId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(org.nuxeo.ecm.automation.client.Session nuxeoSession)
Execute the current command
|
String |
getId()
Gets the id.
|
public AddCommentCommand(org.nuxeo.ecm.automation.client.model.Document document,
CommentDTO comment,
String parentId)
document - Nuxeo documentcomment - commentparentId - parent comment identifier, may be nullpublic Object execute(org.nuxeo.ecm.automation.client.Session nuxeoSession) throws Exception
execute in interface INuxeoCommandnuxeoSession - the nuxeo sessionException - the exceptionpublic String getId()
getId in interface INuxeoCommandCopyright © 2019. All rights reserved.