Package de.xima.fc.gui.validator.name
Class UniqueUserPortalAlias
- java.lang.Object
-
- de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator<TEntity,TField>
-
- de.xima.fc.gui.validator.name.AUniqueEntityFieldValidator<TEntity,String>
-
- de.xima.fc.gui.validator.name.AUniqueStringFieldValidator<UserPortal>
-
- de.xima.fc.gui.validator.name.UniqueUserPortalAlias
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.faces.validator.Validator
public class UniqueUserPortalAlias extends AUniqueStringFieldValidator<UserPortal> implements Serializable, javax.faces.validator.Validator
A Validator for ensuring that the alias of aUserPortal
is unique.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.validator.name.AUniqueStringFieldValidator
ignoreCase
-
Fields inherited from class de.xima.fc.gui.validator.name.AUniqueEntityFieldValidator
ATTR_VALUE
-
Fields inherited from class de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator
beanClass, fieldClass
-
-
Constructor Summary
Constructors Constructor Description UniqueUserPortalAlias()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSearch(de.xima.cmn.criteria.QueryCriteriaManager qcm, String name)
Adds the criteria an entity must match to be considered a duplicate.-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueStringFieldValidator
convertValue, hasValue
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueEntityFieldValidator
addScope, hasDuplicates
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator
createError, createError, findBean, getValueExpressionBase, validate
-
-
-
-
Method Detail
-
addSearch
protected void addSearch(de.xima.cmn.criteria.QueryCriteriaManager qcm, String name)
Description copied from class:AUniqueEntityFieldValidator
Adds the criteria an entity must match to be considered a duplicate.- Specified by:
addSearch
in classAUniqueEntityFieldValidator<UserPortal,String>
- Parameters:
qcm
- Query criteria manager that will be used to check for existing duplicates.name
- Field to search.
-
-