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.
|
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 © 2018. All rights reserved.