|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.aci.Permission
public abstract class Permission
An abstract base class for ItemPermission and UserPermission.
| Constructor Summary | |
|---|---|
protected |
Permission(int precedence,
java.util.Collection<GrantAndDenial> grantsAndDenials)
Creates a new instance |
| Method Summary | |
|---|---|
java.util.Set<GrantAndDenial> |
getDenials()
Returns the set of denials only. |
java.util.Set<GrantAndDenial> |
getGrants()
Returns the set of grants only. |
java.util.Set<GrantAndDenial> |
getGrantsAndDenials()
Returns the set of GrantAndDenials. |
int |
getPrecedence()
Returns the precedence of this permission. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Permission(int precedence,
java.util.Collection<GrantAndDenial> grantsAndDenials)
precedence - the precedence of this permission (-1 to use the
default)grantsAndDenials - the set of GrantAndDenials| Method Detail |
|---|
public int getPrecedence()
public java.util.Set<GrantAndDenial> getGrantsAndDenials()
GrantAndDenials.
public java.util.Set<GrantAndDenial> getGrants()
public java.util.Set<GrantAndDenial> getDenials()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||