public class SubentryManager extends InternalDirectoryServerPlugin implements LocalBackendInitializationListener
Constructor and Description |
---|
SubentryManager()
Creates a new instance of this subentry manager.
|
Modifier and Type | Method and Description |
---|---|
void |
deregisterChangeListener(SubentryChangeListener changeListener)
Deregisters the provided change notification listener with this manager so that it will no longer be notified of
any add, delete, modify, or modify DN operations that are performed.
|
PluginResult.PostOperation |
doPostOperation(PostOperationAddOperation addOperation)
Performs any necessary processing that should be done after the Directory Server has completed the core
processing for an add operation but before the response has been sent to the client.
|
PluginResult.PostOperation |
doPostOperation(PostOperationDeleteOperation deleteOperation)
Performs any necessary processing that should be done after the Directory Server has completed the core
processing for a delete operation but before the response has been sent to the client.
|
PluginResult.PostOperation |
doPostOperation(PostOperationModifyDNOperation modifyDNOperation)
Performs any necessary processing that should be done after the Directory Server has completed the core
processing for a modify DN operation but before the response has been sent to the client.
|
PluginResult.PostOperation |
doPostOperation(PostOperationModifyOperation modifyOperation)
Performs any necessary processing that should be done after the Directory Server has completed the core
processing for a modify operation but before the response has been sent to the client.
|
void |
doPostSynchronization(PostSynchronizationAddOperation addOperation)
Performs any necessary processing that should be done after the Directory Server has completed processing for an
add operation performed via synchronization.
|
void |
doPostSynchronization(PostSynchronizationDeleteOperation deleteOperation)
Performs any necessary processing that should be done after the Directory Server has completed processing for a
delete operation performed via synchronization.
|
void |
doPostSynchronization(PostSynchronizationModifyDNOperation modifyDNOperation)
Performs any necessary processing that should be done after the Directory Server has completed processing for a
modify DN operation performed via synchronization.
|
void |
doPostSynchronization(PostSynchronizationModifyOperation modifyOperation)
Performs any necessary processing that should be done after the Directory Server has completed processing for a
modify operation performed via synchronization.
|
PluginResult.PreOperation |
doPreOperation(PreOperationAddOperation addOperation)
Performs any necessary processing that should be done just before the Directory Server performs the core
processing for an add operation.
|
PluginResult.PreOperation |
doPreOperation(PreOperationDeleteOperation deleteOperation)
Performs any necessary processing that should be done just before the Directory Server performs the core
processing for a delete operation.
|
PluginResult.PreOperation |
doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
Performs any necessary processing that should be done just before the Directory Server performs the core
processing for a modify DN operation.
|
PluginResult.PreOperation |
doPreOperation(PreOperationModifyOperation modifyOperation)
Performs any necessary processing that should be done just before the Directory Server performs the core
processing for a modify operation.
|
void |
finalizeSubentryManager()
Perform any required finalization tasks for Subentry Manager.
|
List<SubEntry> |
getCollectiveSubentries(Dn dn)
Return collective subentries applicable to specific DN.
|
List<SubEntry> |
getCollectiveSubentries(Entry entry)
Return collective subentries applicable to specific entry.
|
List<SubEntry> |
getSubentries()
Return all subentries for this manager.
|
List<SubEntry> |
getSubentries(Dn dn)
Return subentries applicable to specific DN.
|
List<SubEntry> |
getSubentries(Entry entry)
Return subentries applicable to specific entry.
|
void |
performBackendPostFinalizationProcessing(LocalBackend<?> backend)
Performs any processing that may be required whenever a backend is finalized.
|
void |
performBackendPreInitializationProcessing(LocalBackend<?> backend)
Performs any processing that may be required whenever a backend is initialized for use in the Directory Server.
|
void |
registerChangeListener(SubentryChangeListener changeListener)
Registers the provided change notification listener with this manager so that it will be notified of any add,
delete, modify, or modify DN operations that are performed.
|
initializePlugin, isConfigurationAcceptable
doLDIFExport, doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, doPostConnect, doPostDisconnect, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doShutdown, doStartup, finalizePlugin, getPluginEntryDN, getPluginTypes, getServerContext, initializeInternal, invokeForInternalOperations, processIntermediateResponse, processSearchEntry, processSearchReference, processSubordinateDelete, processSubordinateModifyDN, setInvokeForInternalOperations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
performBackendPostInitializationProcessing, performBackendPreFinalizationProcessing
public SubentryManager()
public void finalizeSubentryManager()
public void registerChangeListener(SubentryChangeListener changeListener)
changeListener
- The change notification listener to register with this manager.public void deregisterChangeListener(SubentryChangeListener changeListener)
changeListener
- The change notification listener to deregister with this manager.public void performBackendPreInitializationProcessing(LocalBackend<?> backend)
In this case, the server will search the backend to find all subentries that it may contain and register them with this manager.
performBackendPreInitializationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been initialized and is about to be put into service.public List<SubEntry> getSubentries()
public List<SubEntry> getSubentries(Dn dn)
dn
- for which to retrieve applicable subentries.public List<SubEntry> getSubentries(Entry entry)
entry
- for which to retrieve applicable subentries.public List<SubEntry> getCollectiveSubentries(Dn dn)
dn
- for which to retrieve applicable subentries.public List<SubEntry> getCollectiveSubentries(Entry entry)
entry
- for which to retrieve applicable subentries.public void performBackendPostFinalizationProcessing(LocalBackend<?> backend)
In this case, the server will de-register all subentries associated with the provided backend.
performBackendPostFinalizationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been taken out of service and is about to be finalized.public PluginResult.PreOperation doPreOperation(PreOperationAddOperation addOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<PluginCfg>
addOperation
- The add operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationDeleteOperation deleteOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<PluginCfg>
deleteOperation
- The delete operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationModifyOperation modifyOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<PluginCfg>
modifyOperation
- The modify operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<PluginCfg>
modifyDNOperation
- The modify DN operation to be processed.public PluginResult.PostOperation doPostOperation(PostOperationAddOperation addOperation)
DirectoryServerPlugin
doPostOperation
in class DirectoryServerPlugin<PluginCfg>
addOperation
- The add operation for which processing has completed but no response has yet been sent.public PluginResult.PostOperation doPostOperation(PostOperationDeleteOperation deleteOperation)
DirectoryServerPlugin
doPostOperation
in class DirectoryServerPlugin<PluginCfg>
deleteOperation
- The delete operation for which processing has completed but no response has yet been sent.public PluginResult.PostOperation doPostOperation(PostOperationModifyOperation modifyOperation)
DirectoryServerPlugin
doPostOperation
in class DirectoryServerPlugin<PluginCfg>
modifyOperation
- The modify operation for which processing has completed but no response has yet been sent.public PluginResult.PostOperation doPostOperation(PostOperationModifyDNOperation modifyDNOperation)
DirectoryServerPlugin
doPostOperation
in class DirectoryServerPlugin<PluginCfg>
modifyDNOperation
- The modify DN operation for which processing has completed but no response has yet been sent.public void doPostSynchronization(PostSynchronizationAddOperation addOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<PluginCfg>
addOperation
- The synchronized add operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationDeleteOperation deleteOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<PluginCfg>
deleteOperation
- The synchronized delete operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationModifyOperation modifyOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<PluginCfg>
modifyOperation
- The synchronized modify operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationModifyDNOperation modifyDNOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<PluginCfg>
modifyDNOperation
- The synchronized modify DN operation for which processing has been completed.Copyright 2010-2022 ForgeRock AS.