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

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

public class ItemPermission
extends Permission

Represents permissions to be applied to all ProtectedItems in ItemFirstACIItem.

Author:
Apache Directory Project

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

ItemPermission

public ItemPermission(Integer precedence,
                      Collection<GrantAndDenial> grantsAndDenials,
                      Collection<UserClass> userClasses)
Creates a new instance

Parameters:
precedence - the precedence of this permission (-1 to use the default)
grantsAndDenials - the collection of GrantAndDenials
userClasses - the collection of UserClasses
Method Detail

getUserClasses

public Collection<UserClass> getUserClasses()
Gets the collection of UserClasses.

Returns:
the collection of UserClasses

toString

public String toString()

Overrides:
toString in class Object


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