public class CommerceServicesCustomerCleanupHook extends java.lang.Object implements ItemCleanupHook<CustomerModel>
| Constructor and Description |
|---|
CommerceServicesCustomerCleanupHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupRelatedObjects(CustomerModel customerModel)
Cleanup related objects before cleanup item.
|
protected ConsentDao |
getConsentDao() |
protected FlexibleSearchService |
getFlexibleSearchService() |
protected ModelService |
getModelService() |
protected WriteAuditRecordsDAO |
getWriteAuditRecordsDAO() |
void |
setConsentDao(ConsentDao consentDao) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setModelService(ModelService modelService) |
void |
setWriteAuditRecordsDAO(WriteAuditRecordsDAO writeAuditRecordsDAO) |
public void cleanupRelatedObjects(CustomerModel customerModel)
ItemCleanupHookcleanupRelatedObjects in interface ItemCleanupHook<CustomerModel>customerModel - its related objects to cleanupprotected ModelService getModelService()
public void setModelService(ModelService modelService)
protected ConsentDao getConsentDao()
public void setConsentDao(ConsentDao consentDao)
protected WriteAuditRecordsDAO getWriteAuditRecordsDAO()
public void setWriteAuditRecordsDAO(WriteAuditRecordsDAO writeAuditRecordsDAO)
protected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
Copyright © 2018 SAP SE. All Rights Reserved.