Class WorkflowQualifiedSubmitButton
java.lang.Object
de.xima.fc.workflow.processor.model.WorkflowQualifiedSubmitButton
- All Implemented Interfaces:
IWorkflowQualifiedSubmitButton
,Serializable
public final class WorkflowQualifiedSubmitButton
extends Object
implements IWorkflowQualifiedSubmitButton
POJO implementation of a
IWorkflowQualifiedSubmitButton
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowQualifiedSubmitButton
(String identifier, ESubmitButtonAction action, String pageName, String elementName, String displayName, String tooltip, List<XItemConditionsDescriptor> andStateConditions, List<XItemConditionsDescriptor> andUserGroupConditions) Creates a new POJO instance with the given data. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
WorkflowQualifiedSubmitButton
public WorkflowQualifiedSubmitButton(String identifier, ESubmitButtonAction action, String pageName, String elementName, String displayName, String tooltip, List<XItemConditionsDescriptor> andStateConditions, List<XItemConditionsDescriptor> andUserGroupConditions) Creates a new POJO instance with the given data.- Parameters:
identifier
- The value forIWorkflowQualifiedSubmitButton.getTechnicalName()
.action
- The value forIWorkflowQualifiedSubmitButton.getAction()
.pageName
- The value forIWorkflowQualifiedSubmitButton.getPageName()
.elementName
- The value forIWorkflowQualifiedSubmitButton.getElementName()
.displayName
- The value forIWorkflowQualifiedSubmitButton.getDisplayName()
.tooltip
- The value forIWorkflowQualifiedSubmitButton.getTooltip()
.andStateConditions
- Conditions regarding the states when this button is available.andUserGroupConditions
- Conditions regarding the user groups when this button is available.
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The action that is performed when the submit button is pressed.
-
getAndStateConditions
- Specified by:
getAndStateConditions
in interfaceIWorkflowQualifiedSubmitButton
- 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 interfaceIWorkflowQualifiedSubmitButton
- Returns:
- A list of conditions on user groups. The button may be pressed only when all of the conditions are fulfilled.
-
getDisplayName
- Specified by:
getDisplayName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name on the button as it is displayed to the user.
-
getElementName
- Specified by:
getElementName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name of the button group form element that contains the button.
-
getPageName
- Specified by:
getPageName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name of the page that contains this button.
-
getTechnicalName
- Specified by:
getTechnicalName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The internal, technical name of the button, used to identify the button.
-
getTooltip
- Specified by:
getTooltip
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The tooltip of the button that appears when the user hovers over the button.
-