Class LocalPrivilege
java.lang.Object
org.apache.sling.jcr.contentloader.LocalPrivilege
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPrivilege
(javax.jcr.security.AccessControlManager acm) boolean
getName()
javax.jcr.security.Privilege
int
hashCode()
boolean
isAllow()
boolean
isDeny()
void
setAllow
(boolean allow) void
setAllowRestrictions
(Set<LocalRestriction> allowRestrictions) void
setDeny
(boolean deny) void
setDenyRestrictions
(Set<LocalRestriction> denyRestrictions) toString()
-
Constructor Details
-
LocalPrivilege
-
-
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
-
isAllow
public boolean isAllow() -
isDeny
public boolean isDeny() -
setAllow
public void setAllow(boolean allow) -
setDeny
public void setDeny(boolean deny) -
getAllowRestrictions
-
setAllowRestrictions
-
getDenyRestrictions
-
setDenyRestrictions
-
toString
-
hashCode
public int hashCode() -
equals
-