Package de.xima.fc.gui.bean.designer
Class DesignerAddStateBean
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.DesignerAddStateBean
-
- All Implemented Interfaces:
Serializable
@ViewScoped @Named public class DesignerAddStateBean extends Object implements Serializable
Controller bean for adding a new workflow state to the workflow.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DesignerAddStateBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getName()
void
onAddButtonClicked()
Callback when the button for adding a new state was clicked.void
onOpen()
Callback when the new state dialog is opened.void
setDescription(String description)
void
setName(String name)
-
-
-
Method Detail
-
onOpen
public void onOpen()
Callback when the new state dialog is opened. Resets all input fields.
-
onAddButtonClicked
public void onAddButtonClicked()
Callback when the button for adding a new state was clicked.
-
getName
public String getName()
- Returns:
- The name of the new state to be added.
-
setName
public void setName(String name)
- Parameters:
name
- The name of the new state to be added.
-
getDescription
public String getDescription()
- Returns:
- The description of the new state to be added.
-
setDescription
public void setDescription(String description)
- Parameters:
description
- The description of the new state to be added.
-
-