Package ch.tocco.nice2.dms.impl.validate
Class SameUrlValidator
java.lang.Object
ch.tocco.nice2.dms.impl.validate.AbstractPathValidator
ch.tocco.nice2.dms.impl.validate.SameUrlValidator
- All Implemented Interfaces:
PathValidator
Checks that a path of a node is not set as main url on a domain.
-
Constructor Summary
ConstructorDescriptionSameUrlValidator
(ContentTreeService contentTreeService, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, Context context) -
Method Summary
Modifier and TypeMethodDescriptionprotected PathValidationResult
validate
(ContentTreeNode contentTreeNode) Methods inherited from class ch.tocco.nice2.dms.impl.validate.AbstractPathValidator
validate
-
Constructor Details
-
SameUrlValidator
public SameUrlValidator(ContentTreeService contentTreeService, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, Context context)
-
-
Method Details
-
validate
- Specified by:
validate
in classAbstractPathValidator
- Throws:
Exception
-