Class PrivilegeItem

java.lang.Object
org.apache.sling.starter.access.models.PrivilegeItem

public class PrivilegeItem extends Object
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getNone

      public boolean getNone()
    • getGranted

      public boolean getGranted()
    • getDenied

      public boolean getDenied()
    • setGranted

      public void setGranted(boolean granted)
    • setDenied

      public void setDenied(boolean denied)
    • isAllowExists

      public boolean isAllowExists()
    • setAllowExists

      public void setAllowExists(boolean allowExists)
    • isDenyExists

      public boolean isDenyExists()
    • setDenyExists

      public void setDenyExists(boolean denyExists)
    • getLongestPath

      public String getLongestPath()
    • addExtraCssClass

      public void addExtraCssClass(String addClass)
    • getDepthCss

      public String getDepthCss()
    • getDepth

      public long getDepth()
    • getAllowRestrictions

      public List<RestrictionItem> getAllowRestrictions()
    • getDenyRestrictions

      public List<RestrictionItem> getDenyRestrictions()
    • setAllowRestrictions

      public void setAllowRestrictions(List<RestrictionItem> restrictions)
    • setDenyRestrictions

      public void setDenyRestrictions(List<RestrictionItem> restrictions)
    • toString

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

      public void addAllowRestrictionToDelete(String restrictionName)
    • getAllowRestrictionsToDelete

      public Collection<String> getAllowRestrictionsToDelete()
    • addDenyRestrictionToDelete

      public void addDenyRestrictionToDelete(String restrictionName)
    • getDenyRestrictionsToDelete

      public Collection<String> getDenyRestrictionsToDelete()