Class PrivilegeItem
java.lang.Object
org.apache.sling.starter.access.models.PrivilegeItem
-
Constructor Summary
ConstructorsConstructorDescriptionPrivilegeItem
(String name, boolean granted, boolean denied, String longestPath) PrivilegeItem
(String name, boolean granted, boolean denied, String longestPath, List<RestrictionItem> allowRestrictions, List<RestrictionItem> denyRestrictions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllowRestrictionToDelete
(String restrictionName) void
addDenyRestrictionToDelete
(String restrictionName) void
addExtraCssClass
(String addClass) boolean
long
getDepth()
boolean
getName()
boolean
getNone()
boolean
boolean
void
setAllowExists
(boolean allowExists) void
setAllowRestrictions
(List<RestrictionItem> restrictions) void
setDenied
(boolean denied) void
setDenyExists
(boolean denyExists) void
setDenyRestrictions
(List<RestrictionItem> restrictions) void
setGranted
(boolean granted) toString()
-
Constructor Details
-
PrivilegeItem
-
PrivilegeItem
public PrivilegeItem(String name, boolean granted, boolean denied, String longestPath, List<RestrictionItem> allowRestrictions, List<RestrictionItem> denyRestrictions)
-
-
Method Details
-
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
-
addExtraCssClass
-
getDepthCss
-
getDepth
public long getDepth() -
getAllowRestrictions
-
getDenyRestrictions
-
setAllowRestrictions
-
setDenyRestrictions
-
toString
-
addAllowRestrictionToDelete
-
getAllowRestrictionsToDelete
-
addDenyRestrictionToDelete
-
getDenyRestrictionsToDelete
-