Class LocalPrivilege


  • public class LocalPrivilege
    extends Object
    • Constructor Detail

      • LocalPrivilege

        public LocalPrivilege​(String privilege)
    • Method Detail

      • checkPrivilege

        public void checkPrivilege​(javax.jcr.security.AccessControlManager acm)
                            throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getPrivilege

        public javax.jcr.security.Privilege getPrivilege()
      • getName

        public String getName()
      • isAllow

        public boolean isAllow()
      • isDeny

        public boolean isDeny()
      • setAllow

        public void setAllow​(boolean allow)
      • setDeny

        public void setDeny​(boolean deny)
      • setAllowRestrictions

        public void setAllowRestrictions​(Set<LocalRestriction> allowRestrictions)
      • setDenyRestrictions

        public void setDenyRestrictions​(Set<LocalRestriction> denyRestrictions)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object