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

java.lang.Object
  extended by org.apache.directory.api.ldap.aci.Permission
      extended by org.apache.directory.api.ldap.aci.UserPermission

public class UserPermission
extends Permission

Represents permissions to be applied to all UserClasses in UserFirstACIItem.

Author:
Apache Directory Project

Constructor Summary
UserPermission(Integer precedence, Collection<GrantAndDenial> grantsAndDenials, Collection<ProtectedItem> protectedItems)
          Creates a new instance
 
Method Summary
 Collection<ProtectedItem> getProtectedItems()
          Gets the collection of ProtectedItems.
 String toString()
          
 
Methods inherited from class org.apache.directory.api.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(Integer precedence,
                      Collection<GrantAndDenial> grantsAndDenials,
                      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 Collection<ProtectedItem> getProtectedItems()
Gets the collection of ProtectedItems.

Returns:
the collection of ProtectedItems

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.