@Component(value="blProductDuplicateModifier") public class ProductDuplicateModifier extends AbstractEntityDuplicationHelper<Product>
| Modifier and Type | Field and Description |
|---|---|
protected EntityDuplicatorExtensionManager |
extensionManager |
protected GenericEntityService |
genericEntityService |
copyHints, env| Constructor and Description |
|---|
ProductDuplicateModifier(org.springframework.core.env.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(MultiTenantCloneable candidate) |
void |
modifyInitialDuplicateState(Product original,
Product copy,
MultiTenantCopyContext context) |
addCopyHint, getCopyHints, getCopySuffixprotected EntityDuplicatorExtensionManager extensionManager
protected GenericEntityService genericEntityService
@Autowired public ProductDuplicateModifier(org.springframework.core.env.Environment environment)
public boolean canHandle(MultiTenantCloneable candidate)
canHandle in interface EntityDuplicationHelper<Product>canHandle in class AbstractEntityDuplicationHelper<Product>public void modifyInitialDuplicateState(Product original, Product copy, MultiTenantCopyContext context)
modifyInitialDuplicateState in interface EntityDuplicationHelper<Product>modifyInitialDuplicateState in class AbstractEntityDuplicationHelper<Product>Copyright © 2022. All rights reserved.