Class AUniqueManDepNameValidator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent>

Type Parameters:
T - the type of the entity to check the name for
All Implemented Interfaces:
Serializable, EventListener, javax.faces.validator.Validator
Direct Known Subclasses:
UniqueAllProjectName, UniqueProjectName

public class AUniqueManDepNameValidator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent> extends ABackendJSFContext implements javax.faces.validator.Validator, Serializable
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • AUniqueManDepNameValidator

      public AUniqueManDepNameValidator(Class<T> clazz, boolean allowSame)
    • AUniqueManDepNameValidator

      public AUniqueManDepNameValidator(Class<T> clazz)
  • Method Details

    • validate

      public void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value) throws javax.faces.validator.ValidatorException
      Specified by:
      validate in interface javax.faces.validator.Validator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent>
      Throws:
      javax.faces.validator.ValidatorException
    • throwError

      public void throwError() throws javax.faces.validator.ValidatorException
      Throws:
      javax.faces.validator.ValidatorException