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 aIWorkflowQualifiedSubmitButton.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ESubmitButtonActiongetAction()List<XItemConditionsDescriptor>getAndStateConditions()List<XItemConditionsDescriptor>getAndUserGroupConditions()StringgetDisplayName()StringgetElementName()StringgetPageName()StringgetTechnicalName()StringgetTooltip()
-
-
-
Constructor Detail
-
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 Detail
-
getAction
public ESubmitButtonAction getAction()
- Specified by:
getActionin interfaceIWorkflowQualifiedSubmitButton- Returns:
- The action that is performed when the submit button is pressed.
-
getAndStateConditions
public List<XItemConditionsDescriptor> getAndStateConditions()
- Specified by:
getAndStateConditionsin interfaceIWorkflowQualifiedSubmitButton- 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:
getAndUserGroupConditionsin interfaceIWorkflowQualifiedSubmitButton- Returns:
- A list of conditions on user groups. The button may be pressed only when all of the conditions are fulfilled.
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIWorkflowQualifiedSubmitButton- Returns:
- The name on the button as it is displayed to the user.
-
getElementName
public String getElementName()
- Specified by:
getElementNamein interfaceIWorkflowQualifiedSubmitButton- Returns:
- The name of the button group form element that contains the button.
-
getPageName
public String getPageName()
- Specified by:
getPageNamein interfaceIWorkflowQualifiedSubmitButton- Returns:
- The name of the page that contains this button.
-
getTechnicalName
public String getTechnicalName()
- Specified by:
getTechnicalNamein interfaceIWorkflowQualifiedSubmitButton- Returns:
- The internal, technical name of the button, used to identify the button.
-
getTooltip
public String getTooltip()
- Specified by:
getTooltipin interfaceIWorkflowQualifiedSubmitButton- Returns:
- The tooltip of the button that appears when the user hovers over the button.
-
-