org.apache.directory.shared.ldap.aci
Class ItemPermission
java.lang.Object
org.apache.directory.shared.ldap.aci.Permission
org.apache.directory.shared.ldap.aci.ItemPermission
- All Implemented Interfaces:
- Serializable
public class ItemPermission
- extends Permission
Represents permissions to be applied to all ProtectedItems in
ItemFirstACIItem.
- Version:
- $Rev: 638218 $, $Date: 2008-03-18 06:07:20 +0100 (Mar, 18 mar 2008) $
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
ItemPermission
public ItemPermission(int 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 set of GrantAndDenialsuserClasses - the collection of UserClasses
getUserClasses
public Collection<UserClass> getUserClasses()
- Returns the collection of
UserClasses.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.