Examples of VisibleValidator


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

                if (tree.hasChild(REP_PWD)) {
                    throw constraintViolation(28, "Attempt to add rep:pwd node to a system user.");
                }
            }
        }
        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

            // 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 Validator visibleValidator(ImmutableTree source, ImmutableTree dest) {
        TreePermission tp = getParentPermission().getChildPermission(source.getName(), source.unwrap());
        Validator validator = super.createValidator(source, dest, tp, this);
        return new VisibleValidator(validator, true, false);
    }
View Full Code Here

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

        }
    }

    private Validator nextValidator(@Nullable Tree parentBefore, @Nullable Tree 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

            // 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
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.