Class AUniqueNameValidator<TEntity extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long>>

Type Parameters:
TEntity - Type of the entity.
All Implemented Interfaces:
Serializable, EventListener, javax.faces.validator.Validator
Direct Known Subclasses:
UniqueActionName, UniqueAppointmentTemplateName, UniqueClientAuthenticatorName, UniqueClientCounterName, UniqueClientName, UniqueClientResourceName, UniqueDataSourceName, UniqueDBConnectionName, UniqueFrontendServerName, UniqueInboxName, UniqueLDAPConnectionName, UniqueLDAPGroupName, UniqueLDAPQueryName, UniqueProjectResourceName, UniqueRoleName, UniqueTemplateName, UniqueUserGroupName, UniqueWebDavConnectionName, UniqueWorkflowStateNameValidator

public class AUniqueNameValidator<TEntity extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long>> extends AUniqueStringFieldValidator<TEntity>
Attach this validator to the input field for the INameProviding.getName() of an IEntity. Validates whether that name is unique, that is, whether the current entity is the only one with that given name.
Author:
XIMA MEDIA GmbH, XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • AUniqueNameValidator

      protected AUniqueNameValidator(Class<TEntity> entityClass)
    • AUniqueNameValidator

      protected AUniqueNameValidator(Class<TEntity> entityClass, boolean ignoreCase)
  • Method Details