Class LocalPrivilege
- java.lang.Object
-
- org.apache.sling.jcr.contentloader.LocalPrivilege
-
public class LocalPrivilege extends Object
-
-
Constructor Summary
Constructors Constructor Description LocalPrivilege(String privilege)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckPrivilege(javax.jcr.security.AccessControlManager acm)booleanequals(Object obj)Set<LocalRestriction>getAllowRestrictions()Set<LocalRestriction>getDenyRestrictions()StringgetName()javax.jcr.security.PrivilegegetPrivilege()inthashCode()booleanisAllow()booleanisDeny()voidsetAllow(boolean allow)voidsetAllowRestrictions(Set<LocalRestriction> allowRestrictions)voidsetDeny(boolean deny)voidsetDenyRestrictions(Set<LocalRestriction> denyRestrictions)StringtoString()
-
-
-
Constructor Detail
-
LocalPrivilege
public LocalPrivilege(String privilege)
-
-
Method Detail
-
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)
-
-