Package de.espirit.firstspirit.access
Interface TransitionParameters
public interface TransitionParameters
Common parameter for workflow transitions.
- Since:
- 4.0.120
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet task comment.@Nullable DataDeprecated.Returns the custom form data of this task ornullif the belonging workflow has no form definition.@Nullable DateGet due date.Get task editors.Get task priority.@Nullable TransitionReturn selected transition.voidsetComment(String comment) Set commentvoidsetCustomData(Data customData) Deprecated.since 5.0.207 usesetCustomFormData(FormData)voidsetCustomFormData(FormData customFormData) Sets the custom form data for this task.voidsetDueDate(Date dueDate) Set due date.voidsetEditors(List<Principal> editors) Set editors.voidsetPriority(Task.Priority priority) Set priority.voidsetTransition(Transition transition) Set target transition.
-
Method Details
-
getTransition
Return selected transition.- Since:
- 4.0.120
- See Also:
-
setTransition
Set target transition.- Parameters:
transition- the Transition- Since:
- 4.0.120
- See Also:
-
getDueDate
Get due date.- Since:
- 4.0.120
-
setDueDate
Set due date.- Since:
- 4.0.120
-
getPriority
Get task priority.- Since:
- 4.0.120
- See Also:
-
setPriority
Set priority.- Since:
- 4.0.120
- See Also:
-
getCustomFormData
FormData getCustomFormData()Returns the custom form data of this task ornullif the belonging workflow has no form definition.- Since:
- 5.0.207
- See Also:
-
setCustomFormData
Sets the custom form data for this task.- Since:
- 5.0.207
- See Also:
-
getCustomData
Deprecated.since 5.0.207 usegetCustomFormData()Get task custom data.- Since:
- 4.0.120
-
setCustomData
Deprecated.since 5.0.207 usesetCustomFormData(FormData)Set custom data.- Since:
- 4.0.120
-
getComment
Get task comment.- Since:
- 4.0.120
-
setComment
Set comment- Since:
- 4.0.120
-
getEditors
Get task editors.- Since:
- 4.0.120
- See Also:
-
setEditors
Set editors.- Since:
- 4.0.120
- See Also:
-
getCustomFormData()