Package org.apache.jackrabbit.oak.spi.commit

Examples of org.apache.jackrabbit.oak.spi.commit.SubtreeValidator


    public Validator getRootValidator(NodeState before, NodeState after) {
        Validator validator = new RegistrationValidator(
                ReadOnlyNodeTypeManager.getInstance(before),
                ReadOnlyNodeTypeManager.getInstance(after),
                new ReadOnlyTree(before), new ReadOnlyTree(after));
        return new SubtreeValidator(validator, JcrConstants.JCR_SYSTEM, NodeTypeConstants.JCR_NODE_TYPES);
    }
View Full Code Here


class PrivilegeValidatorProvider implements ValidatorProvider {

    @Nonnull
    @Override
    public Validator getRootValidator(NodeState before, NodeState after) {
        return new SubtreeValidator(new PrivilegeValidator(before), JCR_SYSTEM, REP_PRIVILEGES);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.spi.commit.SubtreeValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.