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

java.lang.Object
  extended by org.apache.directory.shared.ldap.aci.ACIItem
      extended by org.apache.directory.shared.ldap.aci.ItemFirstACIItem
All Implemented Interfaces:
java.io.Serializable

public class ItemFirstACIItem
extends ACIItem

An ACIItem which specifies ProtectedItems first and then UserClasses each ProtectedItem will have. (18.4.2.4. X.501)

Version:
$Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sa, 07 Jun 2008) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ItemFirstACIItem(java.lang.String identificationTag, int precedence, AuthenticationLevel authenticationLevel, java.util.Collection<ProtectedItem> protectedItems, java.util.Collection<ItemPermission> itemPermissions)
          Creates a new instance.
 
Method Summary
 java.util.Collection<ItemPermission> getItemPermissions()
          Returns the collection of ItemPermissions.
 java.util.Collection<ProtectedItem> getProtectedItems()
          Returns the collection of ProtectedItems.
 java.lang.String toString()
           
 java.util.Collection<ACITuple> toTuples()
          Converts this item into a collection of ACITuples and returns it.
 
Methods inherited from class org.apache.directory.shared.ldap.aci.ACIItem
getAuthenticationLevel, getIdentificationTag, getPrecedence, toMicroOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemFirstACIItem

public ItemFirstACIItem(java.lang.String identificationTag,
                        int precedence,
                        AuthenticationLevel authenticationLevel,
                        java.util.Collection<ProtectedItem> protectedItems,
                        java.util.Collection<ItemPermission> itemPermissions)
Creates a new instance.

Parameters:
identificationTag - the id string of this item
precedence - the precedence of this item
authenticationLevel - the level of authentication required to this item
protectedItems - the collection of ProtectedItems this item protects
itemPermissions - the collection of ItemPermissions each protectedItems will have
Method Detail

getProtectedItems

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


getItemPermissions

public java.util.Collection<ItemPermission> getItemPermissions()
Returns the collection of ItemPermissions.


toString

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

toTuples

public java.util.Collection<ACITuple> toTuples()
Description copied from class: ACIItem
Converts this item into a collection of ACITuples and returns it.

Specified by:
toTuples in class ACIItem


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