org.apache.directory.shared.ldap.aci
Class ItemPermission

java.lang.Object
  extended by org.apache.directory.shared.ldap.aci.Permission
      extended by org.apache.directory.shared.ldap.aci.ItemPermission
All Implemented Interfaces:
java.io.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 (Di, 18 M??r 2008) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ItemPermission(int precedence, java.util.Collection<GrantAndDenial> grantsAndDenials, java.util.Collection<UserClass> userClasses)
          Creates a new instance
 
Method Summary
 java.util.Collection<UserClass> getUserClasses()
          Returns the collection of UserClasses.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.shared.ldap.aci.Permission
getDenials, getGrants, getGrantsAndDenials, getPrecedence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemPermission

public ItemPermission(int precedence,
                      java.util.Collection<GrantAndDenial> grantsAndDenials,
                      java.util.Collection<UserClass> userClasses)
Creates a new instance

Parameters:
precedence - the precedence of this permission (-1 to use the default)
grantsAndDenials - the set of GrantAndDenials
userClasses - the collection of UserClasses
Method Detail

getUserClasses

public java.util.Collection<UserClass> getUserClasses()
Returns the collection of UserClasses.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.