public class DefaultOperationManager extends Object implements OperationManager
| Constructor and Description |
|---|
DefaultOperationManager(DirectoryService directoryService) |
| 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
|
public DefaultOperationManager(DirectoryService directoryService)
public ReadWriteLock getRWLock()
getRWLock in interface OperationManagerpublic void lockRead()
lockRead in interface OperationManagerpublic void lockWrite()
lockWrite in interface OperationManagerpublic void unlockWrite()
unlockWrite in interface OperationManagerpublic void unlockRead()
unlockRead in interface OperationManagerpublic void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
add in interface OperationManageraddContext - The context containing the information to process the additionorg.apache.directory.api.ldap.model.exception.LdapException - If the addition can't be processed successfullypublic void bind(BindOperationContext bindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
bind in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic boolean compare(CompareOperationContext compareContext) throws org.apache.directory.api.ldap.model.exception.LdapException
compare in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void delete(DeleteOperationContext deleteContext) throws org.apache.directory.api.ldap.model.exception.LdapException
delete in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic org.apache.directory.api.ldap.model.entry.Entry getRootDse(GetRootDseOperationContext getRootDseContext) throws org.apache.directory.api.ldap.model.exception.LdapException
getRootDse in interface OperationManagergetRootDseContext - The getRootDse() contextorg.apache.directory.api.ldap.model.exception.LdapException - If we can't get back the rootDse entrypublic boolean hasEntry(HasEntryOperationContext hasEntryContext) throws org.apache.directory.api.ldap.model.exception.LdapException
hasEntry in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic org.apache.directory.api.ldap.model.entry.Entry lookup(LookupOperationContext lookupContext) throws org.apache.directory.api.ldap.model.exception.LdapException
lookup in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void modify(ModifyOperationContext modifyContext) throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void move(MoveOperationContext moveContext) throws org.apache.directory.api.ldap.model.exception.LdapException
move in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void moveAndRename(MoveAndRenameOperationContext moveAndRenameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
moveAndRename in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void rename(RenameOperationContext renameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
rename in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic EntryFilteringCursor search(SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void unbind(UnbindOperationContext unbindContext) throws org.apache.directory.api.ldap.model.exception.LdapException
unbind in interface OperationManagerorg.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2021. All rights reserved.