Class Permission
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.Permission
-
- Direct Known Subclasses:
ItemPermission
,UserPermission
public abstract class Permission extends Object
An abstract base class forItemPermission
andUserPermission
.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<GrantAndDenial>
getDenials()
Gets the set of denials only.Set<GrantAndDenial>
getGrants()
Gets the set of grants only.Set<GrantAndDenial>
getGrantsAndDenials()
Gets the set ofGrantAndDenial
s.Integer
getPrecedence()
Gets the precedence of this permission.
-
-
-
Method Detail
-
getPrecedence
public Integer getPrecedence()
Gets the precedence of this permission.- Returns:
- the precedence
-
getGrantsAndDenials
public Set<GrantAndDenial> getGrantsAndDenials()
Gets the set ofGrantAndDenial
s.- Returns:
- the grants and denials
-
getGrants
public Set<GrantAndDenial> getGrants()
Gets the set of grants only.- Returns:
- the grants
-
getDenials
public Set<GrantAndDenial> getDenials()
Gets the set of denials only.- Returns:
- the denials
-
-