Class UniqueStateNameDesignerContext
- java.lang.Object
-
- de.xima.fc.workflow.designer.validator.UniqueStateNameDesignerContext
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.faces.validator.Validator<String>
public class UniqueStateNameDesignerContext extends Object implements javax.faces.validator.Validator<String>, Serializable
Faces validator that can be applied to input elements used for editing the name of a workflow state, i.e.WorkflowStateModel.getName()
. Must be used only within the context of the workflow designer. Validates that the state name does not exist yet.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniqueStateNameDesignerContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String newName)
-
-
-
Method Detail
-
validate
public void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String newName) throws javax.faces.validator.ValidatorException
- Specified by:
validate
in interfacejavax.faces.validator.Validator<String>
- Throws:
javax.faces.validator.ValidatorException
-
-