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

java.lang.Object
  extended by org.apache.directory.shared.ldap.aci.Permission
      extended by org.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: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sat, 07 Jun 2008) $
Author:
Apache Directory Project
See Also:
Serialized Form

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


toString

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


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