Class WorkflowSubmitButton
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.WorkflowSubmitButton
-
- All Implemented Interfaces:
IWorkflowSubmitButton
,Serializable
public final class WorkflowSubmitButton extends Object implements IWorkflowSubmitButton
POJO implementation of aIWorkflowSubmitButton
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowSubmitButton(String identifier, List<String> displayNames, List<XItemConditionsDescriptor> andStateConditions, List<XItemConditionsDescriptor> andUserGroupConditions)
Creates a new POJO instance with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<XItemConditionsDescriptor>
getAndStateConditions()
List<XItemConditionsDescriptor>
getAndUserGroupConditions()
List<String>
getDisplayNames()
String
getTechnicalName()
-
-
-
Constructor Detail
-
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 Detail
-
getAndStateConditions
public List<XItemConditionsDescriptor> 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
public List<XItemConditionsDescriptor> 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
public String getTechnicalName()
- Specified by:
getTechnicalName
in interfaceIWorkflowSubmitButton
- Returns:
- The internal, technical name of the button, used to identify the button.
-
getDisplayNames
public List<String> getDisplayNames()
- Specified by:
getDisplayNames
in interfaceIWorkflowSubmitButton
- Returns:
- The name on the button as it is displayed to the user.
-
-