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 ESubmitButtonAction
getAction()
List<XItemConditionsDescriptor>
getAndStateConditions()
List<XItemConditionsDescriptor>
getAndUserGroupConditions()
String
getDisplayName()
String
getElementName()
String
getPageName()
String
getTechnicalName()
String
getTooltip()
-
-
-
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:
getAction
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The action that is performed when the submit button is pressed.
-
getAndStateConditions
public List<XItemConditionsDescriptor> 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
public List<XItemConditionsDescriptor> 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
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name on the button as it is displayed to the user.
-
getElementName
public String getElementName()
- Specified by:
getElementName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name of the button group form element that contains the button.
-
getPageName
public String getPageName()
- Specified by:
getPageName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The name of the page that contains this button.
-
getTechnicalName
public String getTechnicalName()
- Specified by:
getTechnicalName
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The internal, technical name of the button, used to identify the button.
-
getTooltip
public String getTooltip()
- Specified by:
getTooltip
in interfaceIWorkflowQualifiedSubmitButton
- Returns:
- The tooltip of the button that appears when the user hovers over the button.
-
-