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(org.forgerock.opendj.ldap.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(org.forgerock.opendj.ldap.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 |
performBackendPostInitializationProcessing(LocalBackend<?> backend)
Performs any processing that may be required after the Initialisation cycle has been completed, that is all
listeners have received the initialisation event, and the backend has been put into service,.
|
void |
performBackendPreFinalizationProcessing(LocalBackend<?> backend)
Performs any processing that may be required before starting the finalisation cycle, that is invoked before any
listener receive the Finalization event.
|
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
public SubentryManager() throws DirectoryException
DirectoryException
- If a problem occurs while creating an instance of the subentry manager.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)
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(org.forgerock.opendj.ldap.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(org.forgerock.opendj.ldap.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)
performBackendPostFinalizationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been taken out of service and is about to be finalized.public void performBackendPostInitializationProcessing(LocalBackend<?> backend)
LocalBackendInitializationListener
performBackendPostInitializationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been initialized and has been put into service.public void performBackendPreFinalizationProcessing(LocalBackend<?> backend)
LocalBackendInitializationListener
performBackendPreFinalizationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that is about to be finalized.public PluginResult.PreOperation doPreOperation(PreOperationAddOperation addOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
addOperation
- The add operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationDeleteOperation deleteOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
deleteOperation
- The delete operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationModifyOperation modifyOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
modifyOperation
- The modify operation to be processed.public PluginResult.PreOperation doPreOperation(PreOperationModifyDNOperation modifyDNOperation)
DirectoryServerPlugin
doPreOperation
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
modifyDNOperation
- The modify DN operation to be processed.public PluginResult.PostOperation doPostOperation(PostOperationAddOperation addOperation)
DirectoryServerPlugin
doPostOperation
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.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<org.forgerock.opendj.server.config.server.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<org.forgerock.opendj.server.config.server.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<org.forgerock.opendj.server.config.server.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<org.forgerock.opendj.server.config.server.PluginCfg>
addOperation
- The synchronized add operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationDeleteOperation deleteOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
deleteOperation
- The synchronized delete operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationModifyOperation modifyOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
modifyOperation
- The synchronized modify operation for which processing has been completed.public void doPostSynchronization(PostSynchronizationModifyDNOperation modifyDNOperation)
DirectoryServerPlugin
doPostSynchronization
in class DirectoryServerPlugin<org.forgerock.opendj.server.config.server.PluginCfg>
modifyDNOperation
- The synchronized modify DN operation for which processing has been completed.Copyright © 2010–2017 ForgeRock AS. All rights reserved.