@Service(value="blEntityDuplicatorExtensionManager") public class EntityDuplicatorExtensionManager extends ExtensionManager<EntityDuplicatorExtensionHandler> implements EntityDuplicatorExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
static ExtensionManagerOperation |
setupDuplicate |
static ExtensionManagerOperation |
tearDownDuplicate |
static ExtensionManagerOperation |
validateDuplicate |
extensionHandler, handlers, handlersSorted, LOCK_OBJECT| Constructor and Description |
|---|
EntityDuplicatorExtensionManager() |
| Modifier and Type | Method and Description |
|---|---|
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 ExtensionResultStatusType validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder)
EntityDuplicatorExtensionHandlervalidateDuplicate in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder)
EntityDuplicatorExtensionHandlersetupDuplicate in interface EntityDuplicatorExtensionHandlerpublic ExtensionResultStatusType tearDownDuplicate()
EntityDuplicatorExtensionHandlertearDownDuplicate in interface EntityDuplicatorExtensionHandlerpublic boolean isEnabled()
ExtensionHandlerisEnabled in interface ExtensionHandlerCopyright © 2019. All rights reserved.