Class Subentry
java.lang.Object
org.apache.directory.api.ldap.model.subtree.Subentry
An operational view of a subentry within the system. A Subentry can have
many types (Collective, Schema, AccessControl or Trigger) but only one
Subtree Specification.
- Author:
- Apache Directory Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Set<AdministrativeRole> final SubtreeSpecificationfinal booleanTells if the type contains the Access Control Administrative Rolefinal booleanTells if the type contains the Collective attribute Administrative Rolefinal booleanTells if the type contains the SubSchema Administrative Rolefinal booleanTells if the type contains the Triggers Administrative Rolefinal voidsetAdministrativeRoles(Set<AdministrativeRole> administrativeRoles) Store the Set of administrative roles supported by this Subentryfinal voidStores the subtreetoString()
-
Constructor Details
-
Subentry
public Subentry()
-
-
Method Details
-
setSubtreeSpecification
Stores the subtree- Parameters:
ss- The subtree specification
-
getSubtreeSpecification
- Returns:
- The subtree specification
-
setAdministrativeRoles
Store the Set of administrative roles supported by this Subentry- Parameters:
administrativeRoles- The Administrative roles to set
-
getAdministrativeRoles
- Returns:
- The Set of administratoveRole supported by this Subentry
-
isCollectiveAdminRole
public final boolean isCollectiveAdminRole()Tells if the type contains the Collective attribute Administrative Role- Returns:
trueif the type contains the Collective Attribute Administrative Role,falseotherwise
-
isSchemaAdminRole
public final boolean isSchemaAdminRole()Tells if the type contains the SubSchema Administrative Role- Returns:
trueif the type contains the SubSchema Administrative Role,falseotherwise
-
isAccessControlAdminRole
public final boolean isAccessControlAdminRole()Tells if the type contains the Access Control Administrative Role- Returns:
trueif the type contains the Access Control Administrative Role,falseotherwise
-
isTriggersAdminRole
public final boolean isTriggersAdminRole()Tells if the type contains the Triggers Administrative Role- Returns:
trueif the type contains the Triggers Administrative Role,falseotherwise
-
toString
-