Package org.ametys.cms.workflow
Class WorkflowTasksComponent.TaskStep
java.lang.Object
org.ametys.cms.workflow.WorkflowTasksComponent.TaskStep
- Enclosing class:
WorkflowTasksComponent
Class representing a task step.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the rights.Get the stepId.booleanGet the userContents.voidSet the rights.voidsetStepIds(Set<Integer> stepIds) Set the stepId.voidsetUserContents(boolean userContents) Set the userContents.
-
Field Details
-
_stepIds
The step ID. -
_userContents
Only return user contents. -
_rights
The rights to have.
-
-
Constructor Details
-
TaskStep
public TaskStep()Construct a TaskStep object. -
TaskStep
Construct a TaskStep object with parameters.- Parameters:
stepIds- the step ID.userContents- the user contents.rights- the rights.
-
-
Method Details
-
getStepIds
Get the stepId.- Returns:
- the stepId
-
setStepIds
Set the stepId.- Parameters:
stepIds- the stepId to set
-
getUserContentsOnly
Get the userContents.- Returns:
- the userContents
-
setUserContents
Set the userContents.- Parameters:
userContents- the userContents to set
-
getRights
Get the rights.- Returns:
- the rights
-
setRights
Set the rights.- Parameters:
rights- the rights to set
-