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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ACIItem
      extended byorg.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: 379008 $, $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
The Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ItemFirstACIItem(java.lang.String identificationTag, int precedence, AuthenticationLevel authenticationLevel, java.util.Collection protectedItems, java.util.Collection itemPermissions)
          Creates a new instance.
 
Method Summary
 java.util.Collection getItemPermissions()
          Returns the collection of ItemPermissions.
 java.util.Collection getProtectedItems()
          Returns the collection of ProtectedItems.
 java.lang.String toString()
           
 java.util.Collection 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 protectedItems,
                        java.util.Collection 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 getProtectedItems()
Returns the collection of ProtectedItems.


getItemPermissions

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


toString

public java.lang.String toString()

toTuples

public java.util.Collection 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-2006 . All Rights Reserved.