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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.Permission
      extended byorg.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: 379008 $, $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
The Apache Directory Project
See Also:
Serialized Form

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


toString

public java.lang.String toString()


Copyright © 2003-2006 . All Rights Reserved.