Package de.xima.fc.gui.validator.name
Class UniqueWorkflowStateNameValidator
- 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<TEntity>
-
- de.xima.fc.gui.validator.name.AUniqueNameValidator<WorkflowState>
-
- de.xima.fc.gui.validator.name.UniqueWorkflowStateNameValidator
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.faces.validator.Validator
public class UniqueWorkflowStateNameValidator extends AUniqueNameValidator<WorkflowState>
AAUniqueNameValidator
for theWorkflowState.getName()
- 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 UniqueWorkflowStateNameValidator()
No-arg constructor for this validator, invoked by the JSF framework.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addScope(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 de.xima.fc.gui.validator.name.AUniqueNameValidator
addSearch
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueStringFieldValidator
convertValue, hasValue
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueEntityFieldValidator
hasDuplicates
-
Methods inherited from class de.xima.fc.gui.validator.name.AUniqueBeanFieldValidator
createError, createError, findBean, getValueExpressionBase, validate
-
-
-
-
Method Detail
-
addScope
protected void addScope(de.xima.cmn.criteria.QueryCriteriaManager qcm, WorkflowState entity)
Description copied from class:AUniqueEntityFieldValidator
Use 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
IMandantDependent
orIProjektDependent
.- Overrides:
addScope
in classAUniqueEntityFieldValidator<WorkflowState,String>
- Parameters:
qcm
- Query criteria manager that will be used to check for existing duplicates.entity
- Entity that is validated.
-
-