Class ACIItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ACIItem
-
- Direct Known Subclasses:
ItemFirstACIItem,UserFirstACIItem
public abstract class ACIItem extends Object
An abstract class that provides common properties and operations forItemFirstACIItemandUserFirstACIItemas specified X.501 specification.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel)Creates a new instance
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AuthenticationLevelgetAuthenticationLevel()Gets the level of authentication required to this item.StringgetIdentificationTag()Gets the id string of this item.intgetPrecedence()Gets the precedence of this item.protected static Collection<MicroOperation>toMicroOperations(Collection<GrantAndDenial> grantsAndDenials)Converts a collection ofGrantAndDenials into a collection ofMicroOperations.StringtoString()abstract Collection<ACITuple>toTuples()Converts this item into a collection ofACITuples.
-
-
-
Constructor Detail
-
ACIItem
protected ACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel)
Creates a new instance- Parameters:
identificationTag- the id string of this itemprecedence- the precedence of this itemauthenticationLevel- the level of authentication required to this item
-
-
Method Detail
-
getIdentificationTag
public String getIdentificationTag()
Gets the id string of this item.- Returns:
- the identification tag
-
getPrecedence
public int getPrecedence()
Gets the precedence of this item.- Returns:
- the precedence
-
getAuthenticationLevel
public AuthenticationLevel getAuthenticationLevel()
Gets the level of authentication required to this item.- Returns:
- the authentication level
-
toTuples
public abstract Collection<ACITuple> toTuples()
Converts this item into a collection ofACITuples.- Returns:
- the converted collection of
ACITuple
-
toMicroOperations
protected static Collection<MicroOperation> toMicroOperations(Collection<GrantAndDenial> grantsAndDenials)
Converts a collection ofGrantAndDenials into a collection ofMicroOperations.- Parameters:
grantsAndDenials- the grants and denials- Returns:
- the collection of
MicroOperations
-
-