@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, sortHandlers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority
public static final ExtensionManagerOperation validateDuplicate
public static final ExtensionManagerOperation setupDuplicate
public static final ExtensionManagerOperation tearDownDuplicate
public ExtensionResultStatusType validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder)
EntityDuplicatorExtensionHandler
validateDuplicate
in interface EntityDuplicatorExtensionHandler
public ExtensionResultStatusType setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder)
EntityDuplicatorExtensionHandler
setupDuplicate
in interface EntityDuplicatorExtensionHandler
public ExtensionResultStatusType tearDownDuplicate()
EntityDuplicatorExtensionHandler
tearDownDuplicate
in interface EntityDuplicatorExtensionHandler
public boolean isEnabled()
ExtensionHandler
isEnabled
in interface ExtensionHandler
Copyright © 2019. All rights reserved.