Package de.xima.fc.gui.validator.name
Class UniqueUserPortalViewModelAliasValidator
- java.lang.Object
-
- de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator<TBean,String>
-
- de.xima.fc.gui.validator.name.AUniqueBeanStringFieldValidator<UserPortalViewModel>
-
- de.xima.fc.gui.validator.name.UniqueUserPortalViewModelAliasValidator
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.faces.validator.Validator
public class UniqueUserPortalViewModelAliasValidator extends AUniqueBeanStringFieldValidator<UserPortalViewModel>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator
ATTR_VALUE, beanClass, fieldClass
-
-
Constructor Summary
Constructors Constructor Description UniqueUserPortalViewModelAliasValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
hasDuplicates(UserPortalViewModel bean, String value)
Checks if any duplicates exists for the given bean with the given field value.-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueBeanStringFieldValidator
convertValue, hasValue
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator
createError, createError, findBean, getValueExpressionBase, validate
-
-
-
-
Method Detail
-
hasDuplicates
protected boolean hasDuplicates(UserPortalViewModel bean, String value)
Description copied from class:AUniqueBeanFieldValidator
Checks if any duplicates exists for the given bean with the given field value.- Specified by:
hasDuplicates
in classAUniqueBeanFieldValidator<UserPortalViewModel,String>
- Parameters:
bean
- Bean to check for existing duplicates.value
- Field value to check for duplicates.
-
-