Class ReadPolicy

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.
      static boolean hasEffectiveReadPolicy​(@NotNull java.util.Collection<java.lang.String> readPaths, @Nullable java.lang.String oakPath)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: NamedAccessControlPolicy
        Returns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.
        Specified by:
        getName in interface NamedAccessControlPolicy
        Returns:
        the name of the access control policy. A JCR name.
      • hasEffectiveReadPolicy

        public static boolean hasEffectiveReadPolicy​(@NotNull
                                                     @NotNull java.util.Collection<java.lang.String> readPaths,
                                                     @Nullable
                                                     @Nullable java.lang.String oakPath)