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 StringgetDescription()StringgetName()voidonAddButtonClicked()Callback when the button for adding a new state was clicked.voidonOpen()Callback when the new state dialog is opened.voidsetDescription(String description)voidsetName(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.
 
 - 
 
 -