public class AdministrativePointInterceptor
extends org.apache.directory.server.core.api.interceptor.BaseInterceptor
ACCESS_CONTROL_SUBENTRIES_AT, ADMINISTRATIVE_ROLE_AT, COLLECTIVE_ATTRIBUTE_SUBENTRIES_AT, COLLECTIVE_EXCLUSIONS_AT, CREATE_TIMESTAMP_AT, CREATORS_NAME_AT, directoryService, dnFactory, ENTRY_ACI_AT, ENTRY_CSN_AT, ENTRY_DN_AT, ENTRY_UUID_AT, MODIFIERS_NAME_AT, MODIFY_TIMESTAMP_AT, OBJECT_CLASS_AT, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager, SUBENTRY_ACI_AT, SUBSCHEMA_SUBENTRY_AT, SUBTREE_SPECIFICATION_AT, TRIGGER_EXECUTION_SUBENTRIES_AT, UNIQUE_MEMBER_AT, USER_PASSWORD_AT| Constructor and Description |
|---|
AdministrativePointInterceptor()
Creates a new instance of a AdministrativePointInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.directory.server.core.api.interceptor.context.AddOperationContext addContext)
Add an administrative point into the DIT.
|
void |
delete(org.apache.directory.server.core.api.interceptor.context.DeleteOperationContext deleteContext)
We have to check that we can remove the associated AdministrativePoint :
if we remove an AAP, no descendant IAP should remain orphan If we remove a SAP, no descendant IAP should remain orphan |
void |
destroy() |
void |
init(org.apache.directory.server.core.api.DirectoryService directoryService)
Registers and initializes all
Authenticators to this service. |
void |
lockRead()
Get a read-lock on the AP cache.
|
void |
lockWrite()
Get a write-lock on the AP cache.
|
void |
modify(org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext modifyContext)
Only the add and remove modifications are fully supported.
|
void |
move(org.apache.directory.server.core.api.interceptor.context.MoveOperationContext moveContext) |
void |
moveAndRename(org.apache.directory.server.core.api.interceptor.context.MoveAndRenameOperationContext moveAndRenameContext) |
void |
rename(org.apache.directory.server.core.api.interceptor.context.RenameOperationContext renameContext) |
void |
unlock()
Release the read-write lock on the AP cache.
|
public AdministrativePointInterceptor()
public void lockRead()
public void lockWrite()
public void unlock()
public void init(org.apache.directory.server.core.api.DirectoryService directoryService)
throws org.apache.directory.api.ldap.model.exception.LdapException
Authenticators to this service.init in interface org.apache.directory.server.core.api.interceptor.Interceptorinit in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void destroy()
destroy in interface org.apache.directory.server.core.api.interceptor.Interceptordestroy in class org.apache.directory.server.core.api.interceptor.BaseInterceptorpublic void add(org.apache.directory.server.core.api.interceptor.context.AddOperationContext addContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
add in interface org.apache.directory.server.core.api.interceptor.Interceptoradd in class org.apache.directory.server.core.api.interceptor.BaseInterceptoraddContext - The AddOperationContext instanceorg.apache.directory.api.ldap.model.exception.LdapException - If we had some error while processing the Add operationpublic void delete(org.apache.directory.server.core.api.interceptor.context.DeleteOperationContext deleteContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
delete in interface org.apache.directory.server.core.api.interceptor.Interceptordelete in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void modify(org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext modifyContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface org.apache.directory.server.core.api.interceptor.Interceptormodify in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void move(org.apache.directory.server.core.api.interceptor.context.MoveOperationContext moveContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
move in interface org.apache.directory.server.core.api.interceptor.Interceptormove in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void moveAndRename(org.apache.directory.server.core.api.interceptor.context.MoveAndRenameOperationContext moveAndRenameContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface org.apache.directory.server.core.api.interceptor.InterceptormoveAndRename in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void rename(org.apache.directory.server.core.api.interceptor.context.RenameOperationContext renameContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface org.apache.directory.server.core.api.interceptor.Interceptorrename in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.