Class LocalPrivilege
java.lang.Object
org.apache.sling.jcr.contentloader.LocalPrivilege
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPrivilege(javax.jcr.security.AccessControlManager acm) booleangetName()javax.jcr.security.PrivilegeinthashCode()booleanisAllow()booleanisDeny()voidsetAllow(boolean allow) voidsetAllowRestrictions(Set<LocalRestriction> allowRestrictions) voidsetDeny(boolean deny) voidsetDenyRestrictions(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
-