public class PersistentSearchListener extends Object implements DirectoryListener, org.apache.directory.api.ldap.model.message.AbandonListener
| Constructor and Description |
|---|
PersistentSearchListener(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req) |
| Modifier and Type | Method and Description |
|---|---|
void |
abandon() |
void |
entryAdded(AddOperationContext addContext)
Called when an entry has been added.
|
void |
entryDeleted(DeleteOperationContext deleteContext)
Called when an entry has been deleted.
|
void |
entryModified(ModifyOperationContext modifyContext)
Called when an entry has been modified.
|
void |
entryMoved(MoveOperationContext moveContext)
Called when an entry is moved.
|
void |
entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
Called when an entry is moved and renamed at the same time.
|
void |
entryRenamed(RenameOperationContext renameContext)
Called when an entry has been renamed.
|
boolean |
isSynchronous()
indicates if this listener needs to be invoked synchronously
|
void |
requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest req) |
public PersistentSearchListener(LdapSession session, org.apache.directory.api.ldap.model.message.SearchRequest req)
public boolean isSynchronous()
DirectoryListenerisSynchronous in interface DirectoryListenerpublic void abandon()
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic void requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest req)
requestAbandoned in interface org.apache.directory.api.ldap.model.message.AbandonListenerpublic void entryAdded(AddOperationContext addContext)
DirectoryListenerentryAdded in interface DirectoryListeneraddContext - the add operation context responsible for the changepublic void entryDeleted(DeleteOperationContext deleteContext)
DirectoryListenerentryDeleted in interface DirectoryListenerdeleteContext - the delete operation context responsible for the changepublic void entryModified(ModifyOperationContext modifyContext)
DirectoryListenerentryModified in interface DirectoryListenermodifyContext - the modify operation context responsible for the changepublic void entryMoved(MoveOperationContext moveContext)
DirectoryListenerentryMoved in interface DirectoryListenermoveContext - the move operation context responsible for the changepublic void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
DirectoryListenerentryMovedAndRenamed in interface DirectoryListenermoveAndRenameContext - the move/rename operation context responsible for the changepublic void entryRenamed(RenameOperationContext renameContext)
DirectoryListenerentryRenamed in interface DirectoryListenerrenameContext - the rename operation context responsible for the changeCopyright © 2021. All rights reserved.