public class CxActionRemoveInterceptor extends java.lang.Object implements RemoveInterceptor<CxCmsActionModel>
| Constructor and Description |
|---|
CxActionRemoveInterceptor() |
public void onRemove(CxCmsActionModel cmsAction, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<CxCmsActionModel>cmsAction - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorprotected boolean isCleanupEnabled(CxCmsActionModel cmsAction)
cmsAction - Action objectprotected java.lang.Boolean isCleanupEnabled()
protected void cleanCxContainer(CxCmsActionModel cmsAction)
protected java.util.List<CxCmsComponentContainerModel> getContainers(CxCmsActionModel cmsAction)
protected void removeContainer(CxCmsComponentContainerModel container)
protected java.util.Optional<CatalogVersionModel> getContentCatalog(CxCmsActionModel action)
action - Action objectprotected boolean isLastCmsAction(CxCmsActionModel cmsAction)
protected ModelService getModelService()
protected FlexibleSearchService getFlexibleSearchService()
protected ConfigurationService getConfigurationService()
protected CatalogVersionService getCatalogVersionService()
public void setModelService(ModelService modelService)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public void setConfigurationService(ConfigurationService configurationService)
protected CxConfigurationService getCxConfigurationService()
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
Copyright © 2018 SAP SE. All Rights Reserved.