Class UniqueWorkflowStateNameValidator
java.lang.Object
de.xima.fc.gui.common.validator.AUniqueBeanFieldValidator<WorkflowState, String>
de.xima.fc.gui.common.validator.AUniqueEntityFieldValidator<WorkflowState, String>
de.xima.fc.gui.common.validator.AUniqueStringFieldValidator<WorkflowState>
de.xima.fc.gui.common.validator.AUniqueNameValidator<WorkflowState>
de.xima.fc.gui.validator.name.UniqueWorkflowStateNameValidator
- All Implemented Interfaces:
Serializable, EventListener, javax.faces.validator.Validator
A
AUniqueNameValidator for the WorkflowState.getName()- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class AUniqueStringFieldValidator
ignoreCaseFields inherited from class AUniqueBeanFieldValidator
ATTR_VALUE, beanClass, fieldClassFields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID -
Constructor Summary
ConstructorsConstructorDescriptionNo-arg constructor for this validator, invoked by the JSF framework. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddScope(de.xima.cmn.criteria.QueryCriteriaManager qcm, WorkflowState entity) Use this method to restrict the scope of entities considered for the duplicate search, such as to a certain client, version, project etc.Methods inherited from class AUniqueNameValidator
addSearchMethods inherited from class AUniqueStringFieldValidator
convertValue, hasValueMethods inherited from class AUniqueEntityFieldValidator
hasDuplicatesMethods inherited from class AUniqueBeanFieldValidator
createError, createError, findBean, getValueExpressionBase, hasDuplicates, validate
-
Constructor Details
-
UniqueWorkflowStateNameValidator
public UniqueWorkflowStateNameValidator()No-arg constructor for this validator, invoked by the JSF framework.
-
-
Method Details
-
addScope
Description copied from class:AUniqueEntityFieldValidatorUse this method to restrict the scope of entities considered for the duplicate search, such as to a certain client, version, project etc.By default, the client and project scope is set if the entity implements
IMandantDependentorIProjektDependent.- Overrides:
addScopein classAUniqueEntityFieldValidator<WorkflowState, String>- Parameters:
qcm- Query criteria manager that will be used to check for existing duplicates.entity- Entity that is validated.
-