public class LocalBackendWorkflowElement extends Object
Modifier and Type | Method and Description |
---|---|
static LocalBackendWorkflowElement |
createAndRegister(DN baseDN,
Backend<?> backend)
Creates and registers a local backend with the server.
|
static boolean |
execute(Operation operation,
DN entryDN)
Executes the supplied operation.
|
Backend<?> |
getBackend()
Gets the backend associated with this local backend workflow
element.
|
DN |
getBaseDN()
Provides the workflow element identifier.
|
boolean |
isPrivate()
Indicates whether the workflow element encapsulates a private local backend.
|
static void |
remove(DN baseDN)
Removes a local backend that was registered with the server.
|
static void |
removeAll()
Removes all the local backends that were registered with the server.
|
String |
toString() |
public boolean isPrivate()
true
if the workflow element encapsulates a private
local backend, false
otherwisepublic static LocalBackendWorkflowElement createAndRegister(DN baseDN, Backend<?> backend)
baseDN
- the backend's baseDN mapped by this objectbackend
- the backend to associate with the local backend workflow elementpublic static void remove(DN baseDN)
baseDN
- the identifier of the workflow to removepublic static void removeAll()
public DN getBaseDN()
public Backend<?> getBackend()
public static boolean execute(Operation operation, DN entryDN) throws CanceledOperationException
operation
- the operation to executeentryDN
- the entry DN whose backend will be usedCanceledOperationException
- if this operation should be cancelled.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.