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:
Serializable

public class ItemPermission
extends Permission

Represents permissions to be applied to all ProtectedItems in ItemFirstACIItem.

Version:
$Rev: 434411 $, $Date: 2006-08-24 18:05:06 +0200 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ItemPermission(int precedence, Collection grantsAndDenials, Collection userClasses)
          Creates a new instance
 
Method Summary
 Collection getUserClasses()
          Returns the collection of UserClasses.
 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,
                      Collection grantsAndDenials,
                      Collection 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 Collection getUserClasses()
Returns the collection of UserClasses.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012. All Rights Reserved.