public class WorkflowNotificationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARG_WF_DESCRIPTION |
static String |
ARG_WF_DOCUMENTS |
static String |
ARG_WF_DUEDATE |
static String |
ARG_WF_ID
Args value names
|
static String |
ARG_WF_POOLED |
static String |
ARG_WF_PRIORITY |
static String |
ARG_WF_TENANT |
static String |
ARG_WF_TITLE |
static String |
MSG_ASSIGNED_TASK
I18N
|
static String |
MSG_NEW_POOLED_TASK |
static String |
PROP_PACKAGE |
static String |
PROP_SEND_EMAIL_NOTIFICATIONS
Send EMail notifications property
|
static String |
WF_ASSIGNED_TEMPLATE
Standard workflow assigned template
|
Constructor and Description |
---|
WorkflowNotificationUtils() |
Modifier and Type | Method and Description |
---|---|
void |
sendWorkflowAssignedNotificationEMail(String taskId,
String taskType,
String[] assignedAuthorites,
boolean pooled)
Send workflow assigned email notification.
|
void |
sendWorkflowAssignedNotificationEMail(String taskId,
String taskType,
String assignedAuthority,
boolean pooled)
Send workflow assigned email notification.
|
void |
sendWorkflowAssignedNotificationEMail(String taskId,
String taskTitle,
String description,
Date dueDate,
Integer priority,
org.alfresco.service.cmr.repository.NodeRef workflowPackage,
String[] assignedAuthorites,
boolean pooled) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService service) |
void |
setNotificationService(NotificationService service) |
void |
setWorkflowService(WorkflowService service) |
public static final String PROP_SEND_EMAIL_NOTIFICATIONS
public static final String PROP_PACKAGE
public static final String MSG_ASSIGNED_TASK
public static final String MSG_NEW_POOLED_TASK
public static final String ARG_WF_ID
public static final String ARG_WF_TITLE
public static final String ARG_WF_DESCRIPTION
public static final String ARG_WF_DUEDATE
public static final String ARG_WF_PRIORITY
public static final String ARG_WF_POOLED
public static final String ARG_WF_DOCUMENTS
public static final String ARG_WF_TENANT
public static String WF_ASSIGNED_TEMPLATE
public void setWorkflowService(WorkflowService service)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService service)
public void setNotificationService(NotificationService service)
public void sendWorkflowAssignedNotificationEMail(String taskId, String taskTitle, String description, Date dueDate, Integer priority, org.alfresco.service.cmr.repository.NodeRef workflowPackage, String[] assignedAuthorites, boolean pooled)
taskId
- StringtaskTitle
- Stringdescription
- StringdueDate
- Datepriority
- IntegerworkflowPackage
- NodeRefassignedAuthorites
- String[]pooled
- booleanpublic void sendWorkflowAssignedNotificationEMail(String taskId, String taskType, String[] assignedAuthorites, boolean pooled)
taskId
- workflow global task idtaskType
- task typeassignedAuthorites
- assigned authoritiespooled
- true if pooled task, false otherwisepublic void sendWorkflowAssignedNotificationEMail(String taskId, String taskType, String assignedAuthority, boolean pooled)
taskId
- workflow global task idtaskType
- task typeassignedAuthority
- assigned authoritypooled
- true if pooled task, false otherwiseCopyright © 2005–2017 Alfresco Software. All rights reserved.