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 String
Get task comment.@Nullable Data
Deprecated.Returns the custom form data of this task ornull
if the belonging workflow has no form definition.@Nullable Date
Get due date.Get task editors.Get task priority.@Nullable Transition
Return selected transition.void
setComment
(String comment) Set commentvoid
setCustomData
(Data customData) Deprecated.since 5.0.207 usesetCustomFormData(FormData)
void
setCustomFormData
(FormData customFormData) Sets the custom form data for this task.void
setDueDate
(Date dueDate) Set due date.void
setEditors
(List<Principal> editors) Set editors.void
setPriority
(Task.Priority priority) Set priority.void
setTransition
(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 ornull
if 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()