Package ch.tocco.nice2.dms.impl.validate
Class AliasValidator
java.lang.Object
ch.tocco.nice2.dms.impl.validate.AliasValidator
- All Implemented Interfaces:
PathValidator
Checks if new aliases do not evaluate to another
ContentTreeNode. Aliases need to
be unique.-
Constructor Summary
ConstructorsConstructorDescriptionAliasValidator(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionEnsure path uniqueness.
-
Constructor Details
-
AliasValidator
-
-
Method Details
-
validate
Description copied from interface:PathValidatorEnsure path uniqueness.- Specified by:
validatein interfacePathValidator- Parameters:
entity- The entity to check.- Returns:
- a PathValidation result.
-