public class SendTaskNotification extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected org.nuxeo.ecm.core.api.CoreSession |
coreSession |
protected org.nuxeo.ecm.automation.OperationContext |
ctx |
protected String |
event |
static String |
ID |
protected String |
keyForActors |
protected String |
taskName |
| Constructor and Description |
|---|
SendTaskNotification() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getGivenActors(Principal principal) |
protected Principal |
getPrincipal() |
org.nuxeo.ecm.core.api.DocumentModel |
run(org.nuxeo.ecm.core.api.DocumentModel document) |
public static final String ID
protected org.nuxeo.ecm.automation.OperationContext ctx
protected org.nuxeo.ecm.core.api.CoreSession coreSession
protected String taskName
protected String event
protected String keyForActors
protected String comment
public org.nuxeo.ecm.core.api.DocumentModel run(org.nuxeo.ecm.core.api.DocumentModel document)
throws Exception
Exceptionprotected List<String> getGivenActors(Principal principal) throws org.nuxeo.ecm.automation.OperationException
org.nuxeo.ecm.automation.OperationExceptionprotected Principal getPrincipal() throws org.nuxeo.ecm.automation.OperationException
org.nuxeo.ecm.automation.OperationExceptionCopyright © 2024. All rights reserved.