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