Class BundleTemplateDeleteAction

java.lang.Object
com.hybris.cockpitng.actions.delete.DeleteAction
de.hybris.platform.configurablebundlebackoffice.widgets.actions.BundleTemplateDeleteAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Object,Object>

public class BundleTemplateDeleteAction extends com.hybris.cockpitng.actions.delete.DeleteAction
  • Constructor Details

    • BundleTemplateDeleteAction

      public BundleTemplateDeleteAction()
  • Method Details

    • perform

      public com.hybris.cockpitng.actions.ActionResult<Object> perform(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Specified by:
      perform in interface com.hybris.cockpitng.actions.CockpitAction<Object,Object>
      Overrides:
      perform in class com.hybris.cockpitng.actions.delete.DeleteAction
    • getConfirmationMessage

      public String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Specified by:
      getConfirmationMessage in interface com.hybris.cockpitng.actions.CockpitAction<Object,Object>
      Overrides:
      getConfirmationMessage in class com.hybris.cockpitng.actions.delete.DeleteAction
    • canPerform

      public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Specified by:
      canPerform in interface com.hybris.cockpitng.actions.CockpitAction<Object,Object>
      Overrides:
      canPerform in class com.hybris.cockpitng.actions.delete.DeleteAction
    • getRootBundles

      protected List<BundleTemplateModel> getRootBundles(Collection<Object> ctxObjects)
    • isBundleTemplateDeletable

      protected boolean isBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel)
    • isRootBundleTemplateDeletable

      protected boolean isRootBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel)
    • isChildBundleTemplateDeletable

      protected boolean isChildBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel)
    • getAllCatalogVersionsOfBundleTemplate

      protected List<BundleTemplateModel> getAllCatalogVersionsOfBundleTemplate(BundleTemplateModel templateModel)
    • fillCtxObjects

      protected void fillCtxObjects(com.hybris.cockpitng.actions.ActionContext<Object> ctx, Collection<Object> ctxObjects)
    • getCtxObjects

      protected Collection<Object> getCtxObjects(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
    • getBundleTemplateService

      public BundleTemplateService getBundleTemplateService()
    • setBundleTemplateService

      public void setBundleTemplateService(BundleTemplateService bundleTemplateService)
    • getFlexibleSearchService

      public FlexibleSearchService getFlexibleSearchService()
    • setFlexibleSearchService

      public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)