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()
DirectoryListener
isSynchronous
in interface DirectoryListener
public void abandon()
public void requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest req)
requestAbandoned
in interface org.apache.directory.api.ldap.model.message.AbandonListener
public void entryAdded(AddOperationContext addContext)
DirectoryListener
entryAdded
in interface DirectoryListener
addContext
- the add operation context responsible for the changepublic void entryDeleted(DeleteOperationContext deleteContext)
DirectoryListener
entryDeleted
in interface DirectoryListener
deleteContext
- the delete operation context responsible for the changepublic void entryModified(ModifyOperationContext modifyContext)
DirectoryListener
entryModified
in interface DirectoryListener
modifyContext
- the modify operation context responsible for the changepublic void entryMoved(MoveOperationContext moveContext)
DirectoryListener
entryMoved
in interface DirectoryListener
moveContext
- the move operation context responsible for the changepublic void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
DirectoryListener
entryMovedAndRenamed
in interface DirectoryListener
moveAndRenameContext
- the move/rename operation context responsible for the changepublic void entryRenamed(RenameOperationContext renameContext)
DirectoryListener
entryRenamed
in interface DirectoryListener
renameContext
- the rename operation context responsible for the changeCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.