Class WorkflowSubmitButton
java.lang.Object
de.xima.fc.workflow.processor.model.WorkflowSubmitButton
- All Implemented Interfaces:
IWorkflowSubmitButton
,Serializable
POJO implementation of a
IWorkflowSubmitButton
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowSubmitButton
(String identifier, List<String> displayNames, List<XItemConditionsDescriptor> andStateConditions, List<XItemConditionsDescriptor> andUserGroupConditions) Creates a new POJO instance with the given data. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
WorkflowSubmitButton
public WorkflowSubmitButton(String identifier, List<String> displayNames, List<XItemConditionsDescriptor> andStateConditions, List<XItemConditionsDescriptor> andUserGroupConditions) Creates a new POJO instance with the given data.- Parameters:
identifier
- The value forIWorkflowSubmitButton.getTechnicalName()
.displayNames
- The values forIWorkflowSubmitButton.getDisplayNames()
.andStateConditions
- Conditions regarding the states when this button is available.andUserGroupConditions
- Conditions regarding the user groups when this button is available.
-
-
Method Details
-
getAndStateConditions
- Specified by:
getAndStateConditions
in interfaceIWorkflowSubmitButton
- Returns:
- A list of conditions on workflow states. The button may be pressed only when all of the conditions are fulfilled.
-
getAndUserGroupConditions
- Specified by:
getAndUserGroupConditions
in interfaceIWorkflowSubmitButton
- Returns:
- A list of conditions on user groups. The button may be pressed only when all of the conditions are fulfilled.
-
getTechnicalName
- Specified by:
getTechnicalName
in interfaceIWorkflowSubmitButton
- Returns:
- The internal, technical name of the button, used to identify the button.
-
getDisplayNames
- Specified by:
getDisplayNames
in interfaceIWorkflowSubmitButton
- Returns:
- The name on the button as it is displayed to the user.
-