Class ItemPermission
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.Permission
-
- org.apache.directory.api.ldap.aci.ItemPermission
-
public class ItemPermission extends Permission
Represents permissions to be applied to allProtectedItem
s inItemFirstACIItem
.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ItemPermission(Integer precedence, Collection<GrantAndDenial> grantsAndDenials, Collection<UserClass> userClasses)
Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<UserClass>
getUserClasses()
Gets the collection ofUserClass
es.String
toString()
-
Methods inherited from class org.apache.directory.api.ldap.aci.Permission
getDenials, getGrants, getGrantsAndDenials, getPrecedence
-
-
-
-
Constructor Detail
-
ItemPermission
public ItemPermission(Integer precedence, Collection<GrantAndDenial> grantsAndDenials, Collection<UserClass> userClasses)
Creates a new instance- Parameters:
precedence
- the precedence of this permission (-1 to use the default)grantsAndDenials
- the collection ofGrantAndDenial
suserClasses
- the collection ofUserClass
es
-
-
Method Detail
-
getUserClasses
public Collection<UserClass> getUserClasses()
Gets the collection ofUserClass
es.- Returns:
- the collection of
UserClass
es
-
-