Package io.jmix.bpm.notifications
Class BpmNotificationContext
java.lang.Object
io.jmix.bpm.notifications.BpmNotificationContext
- All Implemented Interfaces:
Serializable
Presents "context" variable that will be accessible during processing notification template, as example:
Dear ${context.recipientUser.username}, your subordinate ${context.taskAssigneeUser.username} have one assigned task ${context.taskName} from the process ${context.processDefinitionName}.or
You have to approve the Order ${context.variables.order.number}.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
org.springframework.security.core.userdetails.UserDetails
void
setExecutionId
(String executionId) void
setProcessDefinitionId
(String processDefinitionId) void
setProcessDefinitionName
(String processDefinitionName) void
setProcessId
(String processId) void
setRecipientUser
(org.springframework.security.core.userdetails.UserDetails recipientUser) void
setTaskAssigneeUser
(org.springframework.security.core.userdetails.UserDetails taskAssigneeUser) void
void
setTaskName
(String taskName) void
setVariables
(Map<String, Object> variables)
-
Constructor Details
-
BpmNotificationContext
public BpmNotificationContext()
-
-
Method Details
-
getExecutionId
-
setExecutionId
-
getProcessDefinitionId
-
setProcessDefinitionId
-
getProcessDefinitionName
-
setProcessDefinitionName
-
getProcessId
-
setProcessId
-
getTaskId
-
setTaskId
-
getTaskName
-
setTaskName
-
getRecipientUser
public org.springframework.security.core.userdetails.UserDetails getRecipientUser() -
setRecipientUser
public void setRecipientUser(org.springframework.security.core.userdetails.UserDetails recipientUser) -
getTaskAssigneeUser
public org.springframework.security.core.userdetails.UserDetails getTaskAssigneeUser() -
setTaskAssigneeUser
public void setTaskAssigneeUser(org.springframework.security.core.userdetails.UserDetails taskAssigneeUser) -
getVariables
-
setVariables
-