Examples of VisibleValidator


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

    @Nonnull
    private Validator nextValidator(@Nullable ImmutableTree parentBefore,
                                    @Nullable ImmutableTree parentAfter,
                                    @Nonnull TreePermission treePermission) {
        Validator validator = createValidator(parentBefore, parentAfter, treePermission, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

        TreePermission tp = getPermissionProvider().getTreePermission(parent, TreePermission.EMPTY);
        for (String n : source.getPath().split("/")) {
            tp = tp.getChildPermission(n, parent.getChild(n).getNodeState());
        }
        Validator validator = createValidator(source, dest, tp, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

            // by node type validator)
            if (TreeUtil.getString(tree, REP_PRINCIPAL_NAME) == null) {
                throw constraintViolation(26, "Mandatory property rep:principalName missing.");
            }
        }
        return new VisibleValidator(new UserValidator(null, tree, provider), true, true);
    }
View Full Code Here

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

                String msg = "The admin user cannot be removed.";
                throw constraintViolation(27, msg);
            }
            return null;
        } else {
            return new VisibleValidator(new UserValidator(tree, null, provider), true, true);
        }
    }
View Full Code Here

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

    }

    //------------------------------------------------------------< private >---
    private Validator nextValidator(@Nullable Tree parentBefore, @Nullable Tree parentAfter) {
        Validator validator = new PermissionValidator(parentBefore, parentAfter, permissionProvider, provider, permission);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

            // by node type validator)
            if (TreeUtil.getString(tree, REP_PRINCIPAL_NAME) == null) {
                throw constraintViolation(26, "Mandatory property rep:principalName missing.");
            }
        }
        return new VisibleValidator(new UserValidator(null, tree, provider), true, true);
    }
View Full Code Here

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

    }

    //------------------------------------------------------------< private >---
    private Validator nextValidator(@Nullable Tree parentBefore, @Nullable Tree parentAfter) {
        Validator validator = new PermissionValidator(parentBefore, parentAfter, permissionProvider, provider, permission);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

    @Nonnull
    private Validator nextValidator(@Nullable ImmutableTree parentBefore,
                                    @Nullable ImmutableTree parentAfter,
                                    @Nonnull TreePermission treePermission) {
        Validator validator = createValidator(parentBefore, parentAfter, treePermission, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

        TreePermission tp = getPermissionProvider().getTreePermission(parent, TreePermission.EMPTY);
        for (String n : source.getPath().split("/")) {
            tp = tp.getChildPermission(n, parent.getChild(n).getNodeState());
        }
        Validator validator = createValidator(source, dest, tp, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

        TreePermission tp = getPermissionProvider().getTreePermission(parent, TreePermission.EMPTY);
        for (String n : PathUtils.elements(source.getPath())) {
            tp = tp.getChildPermission(n, parent.getChild(n).getNodeState());
        }
        Validator validator = createValidator(source, dest, tp, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.