public interface OperationManager
Modifier and Type | Method and Description |
---|---|
void |
add(AddOperationContext addContext)
Add an entry into the backend, going through the interceptor chain
|
void |
bind(BindOperationContext bindContext)
TODO document after determining if this method should be here.
|
boolean |
compare(CompareOperationContext compareContext)
TODO document after determining if this method should be here.
|
void |
delete(DeleteOperationContext deleteContext)
TODO document after determining if this method should be here.
|
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse(GetRootDseOperationContext getRootDseContext)
Get the RooDse entry.
|
ReadWriteLock |
getRWLock() |
boolean |
hasEntry(HasEntryOperationContext hasEntryContext)
TODO document after determining if this method should be here.
|
void |
lockRead()
Acquires a ReadLock
|
void |
lockWrite()
Acquires a WriteLock
|
org.apache.directory.api.ldap.model.entry.Entry |
lookup(LookupOperationContext lookupContext)
TODO document after determining if this method should be here.
|
void |
modify(ModifyOperationContext modifyContext)
TODO document after determining if this method should be here.
|
void |
move(MoveOperationContext moveContext)
TODO document after determining if this method should be here.
|
void |
moveAndRename(MoveAndRenameOperationContext moveAndRenameContext)
TODO document after determining if this method should be here.
|
void |
rename(RenameOperationContext renameContext)
TODO document after determining if this method should be here.
|
EntryFilteringCursor |
search(SearchOperationContext searchContext)
TODO document after determining if this method should be here.
|
void |
unbind(UnbindOperationContext unbindContext)
TODO document after determining if this method should be here.
|
void |
unlockRead()
Releases a ReadLock
|
void |
unlockWrite()
Releases a WriteLock
|
void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
addContext
- The context containing the information to process the additionorg.apache.directory.api.ldap.model.exception.LdapException
- If the addition can't be processed successfullyorg.apache.directory.api.ldap.model.entry.Entry getRootDse(GetRootDseOperationContext getRootDseContext) throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDseContext
- The getRootDse() contextorg.apache.directory.api.ldap.model.exception.LdapException
- If we can't get back the rootDse entryboolean compare(CompareOperationContext compareContext) throws org.apache.directory.api.ldap.model.exception.LdapException
compareContext
- The Compare operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the compare failedvoid delete(DeleteOperationContext deleteContext) throws org.apache.directory.api.ldap.model.exception.LdapException
deleteContext
- The Delete operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the delete failedvoid modify(ModifyOperationContext modifyContext) throws org.apache.directory.api.ldap.model.exception.LdapException
modifyContext
- The Modify operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the modify failedEntryFilteringCursor search(SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException
searchContext
- The Search operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the search failedorg.apache.directory.api.ldap.model.entry.Entry lookup(LookupOperationContext lookupContext) throws org.apache.directory.api.ldap.model.exception.LdapException
lookupContext
- The Lookup operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the lookup failedboolean hasEntry(HasEntryOperationContext hasEntryContext) throws org.apache.directory.api.ldap.model.exception.LdapException
hasEntryContext
- The HasEntry operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the hasEntry failedvoid rename(RenameOperationContext renameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
renameContext
- The Rename operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the rename failedvoid move(MoveOperationContext moveContext) throws org.apache.directory.api.ldap.model.exception.LdapException
moveContext
- The Move operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the move failedvoid moveAndRename(MoveAndRenameOperationContext moveAndRenameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRenameContext
- The MoveAndRename operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the moveAndRename failedvoid bind(BindOperationContext bindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
bindContext
- The Bind operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the bind failedvoid unbind(UnbindOperationContext unbindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
unbindContext
- The Unbind operation contextorg.apache.directory.api.ldap.model.exception.LdapException
- If the unbind failedvoid lockWrite()
void unlockWrite()
void lockRead()
void unlockRead()
ReadWriteLock getRWLock()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.