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 allUserClasses 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 ofProtectedItems.StringtoString()-
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 ofGrantAndDenialsprotectedItems- the collection ofProtectedItems
-
-
Method Detail
-
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
Gets the collection ofProtectedItems.- Returns:
- the collection of
ProtectedItems
-
-