Class 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 Detail

      • UniqueStateNameDesignerContext

        public UniqueStateNameDesignerContext()
    • 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 interface javax.faces.validator.Validator<String>
        Throws:
        javax.faces.validator.ValidatorException