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
ConstructorDescriptionAliasValidator
(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionEnsure path uniqueness.
-
Constructor Details
-
AliasValidator
-
-
Method Details
-
validate
Description copied from interface:PathValidator
Ensure path uniqueness.- Specified by:
validate
in interfacePathValidator
- Parameters:
entity
- The entity to check.- Returns:
- a PathValidation result.
-