@Service(value="blEntityDuplicatorExtensionManager") public class EntityDuplicatorExtensionManager extends ExtensionManager<EntityDuplicatorExtensionHandler> implements EntityDuplicatorExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
static ExtensionManagerOperation |
addToSandbox |
static ExtensionManagerOperation |
getCatalogsForPropagation |
static ExtensionManagerOperation |
getClonesByCatalogs |
static ExtensionManagerOperation |
setupDuplicate |
static ExtensionManagerOperation |
tearDownDuplicate |
static ExtensionManagerOperation |
validateDuplicate |
extensionHandler, handlers, handlersSorted, LOCK_OBJECT| Constructor and Description |
|---|
EntityDuplicatorExtensionManager() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
addToSandbox(Object entity)
Add duplication entity to the sandbox
|
ExtensionResultStatusType |
getCatalogsForPropagation(MultiTenantCopyContext context,
ExtensionResultHolder<List<MultiTenantCopyContext>> resultHolder) |
ExtensionResultStatusType |
getClonesByCatalogs(String tableName,
Long id,
MultiTenantCopyContext multiTenantCopyContext,
ExtensionResultHolder<Map<Long,Map<Long,Long>>> resultHolder) |
boolean |
isEnabled()
If false, the ExtensionManager should skip this Handler.
|
ExtensionResultStatusType |
setupDuplicate(Object entity,
ExtensionResultHolder<MultiTenantCopyContext> resultHolder)
Perform any required context and state setup before commencing with the duplication
|
ExtensionResultStatusType |
tearDownDuplicate()
Tear down any expired context and state used during the duplication
|
ExtensionResultStatusType |
validateDuplicate(Object entity,
ExtensionResultHolder<Boolean> resultHolder)
Confirm whether or not duplication operation is allowed
|
continueOnHandled, execute, getHandlers, getPriority, getProxy, invoke, registerHandler, setHandlers, shouldContinue, sortHandlersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic static final ExtensionManagerOperation validateDuplicate
public static final ExtensionManagerOperation setupDuplicate
public static final ExtensionManagerOperation tearDownDuplicate
public static final ExtensionManagerOperation addToSandbox
public static final ExtensionManagerOperation getCatalogsForPropagation
public static final ExtensionManagerOperation getClonesByCatalogs
public ExtensionResultStatusType validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder)
EntityDuplicatorExtensionHandlervalidateDuplicate in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder)
EntityDuplicatorExtensionHandlersetupDuplicate in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType addToSandbox(Object entity)
EntityDuplicatorExtensionHandleraddToSandbox in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType tearDownDuplicate()
EntityDuplicatorExtensionHandlertearDownDuplicate in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType getCatalogsForPropagation(MultiTenantCopyContext context, ExtensionResultHolder<List<MultiTenantCopyContext>> resultHolder)
getCatalogsForPropagation in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType getClonesByCatalogs(String tableName, Long id, MultiTenantCopyContext multiTenantCopyContext, ExtensionResultHolder<Map<Long,Map<Long,Long>>> resultHolder)
getClonesByCatalogs in interface EntityDuplicatorExtensionHandlerpublic boolean isEnabled()
ExtensionHandlerisEnabled in interface ExtensionHandlerCopyright © 2022. All rights reserved.