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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.Permission
      extended byorg.apache.directory.shared.ldap.aci.UserPermission
All Implemented Interfaces:
java.io.Serializable

public class UserPermission
extends Permission

Represents permissions to be applied to all UserClasses in UserFirstACIItem.

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
UserPermission(int precedence, java.util.Collection grantsAndDenials, java.util.Collection protectedItems)
          Creates a new instance
 
Method Summary
 java.util.Collection getProtectedItems()
          Returns the collection of ProtectedItems.
 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

UserPermission

public UserPermission(int precedence,
                      java.util.Collection grantsAndDenials,
                      java.util.Collection protectedItems)
Creates a new instance

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

getProtectedItems

public java.util.Collection getProtectedItems()
Returns the collection of ProtectedItems.


toString

public java.lang.String toString()


Copyright © 2003-2006 . All Rights Reserved.