Package ch.tocco.nice2.dms.impl.validate
Class SameNamedSiblingValidator
java.lang.Object
ch.tocco.nice2.dms.impl.validate.AbstractPathValidator
ch.tocco.nice2.dms.impl.validate.SameNamedSiblingValidator
- All Implemented Interfaces:
PathValidator
Checks if there already exists a sibling with the same name.
This validator is triggered when the path part of a node has changed or when the parent relation is changed (→
when the node is moved to another parent).
-
Constructor Summary
ConstructorDescriptionSameNamedSiblingValidator
(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected PathValidationResult
validate
(ContentTreeNode contentTreeNode) Methods inherited from class ch.tocco.nice2.dms.impl.validate.AbstractPathValidator
validate
-
Constructor Details
-
SameNamedSiblingValidator
public SameNamedSiblingValidator(ContentTreeService contentTreeService, SecurityManager securityManager)
-
-
Method Details
-
validate
- Specified by:
validate
in classAbstractPathValidator
-