Package org.alfresco.repo.workflow
Class WorkflowNotificationUtils
java.lang.Object
org.alfresco.repo.workflow.WorkflowNotificationUtils
Utility class containing methods to help when sending workflow notifications.
- Since:
- 4.0
- Author:
- Roy Wetherall
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringArgs value namesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringI18Nstatic final Stringstatic final Stringstatic final StringSend EMail notifications propertystatic StringStandard workflow assigned template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendWorkflowAssignedNotificationEMail(String taskId, String taskType, String[] assignedAuthorites, boolean pooled) Send workflow assigned email notification.voidsendWorkflowAssignedNotificationEMail(String taskId, String taskType, String assignedAuthority, boolean pooled) Send workflow assigned email notification.voidsendWorkflowAssignedNotificationEMail(String taskId, String taskTitle, String description, Date dueDate, Integer priority, NodeRef workflowPackage, String[] assignedAuthorites, boolean pooled) voidsetNodeService(NodeService service) voidvoidsetWorkflowService(WorkflowService service)
-
Field Details
-
PROP_SEND_EMAIL_NOTIFICATIONS
Send EMail notifications property- See Also:
-
PROP_PACKAGE
- See Also:
-
MSG_ASSIGNED_TASK
I18N- See Also:
-
MSG_NEW_POOLED_TASK
- See Also:
-
ARG_WF_ID
Args value names- See Also:
-
ARG_WF_TITLE
- See Also:
-
ARG_WF_DESCRIPTION
- See Also:
-
ARG_WF_DUEDATE
- See Also:
-
ARG_WF_PRIORITY
- See Also:
-
ARG_WF_POOLED
- See Also:
-
ARG_WF_DOCUMENTS
- See Also:
-
ARG_WF_TENANT
- See Also:
-
WF_ASSIGNED_TEMPLATE
Standard workflow assigned template
-
-
Constructor Details
-
WorkflowNotificationUtils
public WorkflowNotificationUtils()
-
-
Method Details
-
setWorkflowService
-
setNodeService
-
setNotificationService
-
sendWorkflowAssignedNotificationEMail
public void sendWorkflowAssignedNotificationEMail(String taskId, String taskTitle, String description, Date dueDate, Integer priority, NodeRef workflowPackage, String[] assignedAuthorites, boolean pooled) - Parameters:
taskId- StringtaskTitle- Stringdescription- StringdueDate- Datepriority- IntegerworkflowPackage- NodeRefassignedAuthorites- String[]pooled- boolean
-
sendWorkflowAssignedNotificationEMail
public void sendWorkflowAssignedNotificationEMail(String taskId, String taskType, String[] assignedAuthorites, boolean pooled) Send workflow assigned email notification.- Parameters:
taskId- workflow global task idtaskType- task typeassignedAuthorites- assigned authoritiespooled- true if pooled task, false otherwise
-
sendWorkflowAssignedNotificationEMail
public void sendWorkflowAssignedNotificationEMail(String taskId, String taskType, String assignedAuthority, boolean pooled) Send workflow assigned email notification.- Parameters:
taskId- workflow global task idtaskType- task typeassignedAuthority- assigned authoritypooled- true if pooled task, false otherwise
-