Class LocalPrivilege

java.lang.Object
org.apache.sling.jcr.contentloader.LocalPrivilege

public class LocalPrivilege extends Object
  • Constructor Details

    • LocalPrivilege

      public LocalPrivilege(String privilege)
  • Method Details

    • 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)
    • getAllowRestrictions

      public Set<LocalRestriction> getAllowRestrictions()
    • setAllowRestrictions

      public void setAllowRestrictions(Set<LocalRestriction> allowRestrictions)
    • getDenyRestrictions

      public Set<LocalRestriction> getDenyRestrictions()
    • setDenyRestrictions

      public void setDenyRestrictions(Set<LocalRestriction> denyRestrictions)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object