Class BundleTemplateDeleteAction

  • All Implemented Interfaces:
    com.hybris.cockpitng.actions.CockpitAction<java.lang.Object,​java.lang.Object>

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

      • BundleTemplateDeleteAction

        public BundleTemplateDeleteAction()
    • Method Detail

      • perform

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

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

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

        protected java.util.List<BundleTemplateModel> getRootBundles​(java.util.Collection<java.lang.Object> ctxObjects)
      • isBundleTemplateDeletable

        protected boolean isBundleTemplateDeletable​(BundleTemplateModel bundleTemplateModel)
      • isRootBundleTemplateDeletable

        protected boolean isRootBundleTemplateDeletable​(BundleTemplateModel bundleTemplateModel)
      • isChildBundleTemplateDeletable

        protected boolean isChildBundleTemplateDeletable​(BundleTemplateModel bundleTemplateModel)
      • fillCtxObjects

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

        protected java.util.Collection<java.lang.Object> getCtxObjects​(com.hybris.cockpitng.actions.ActionContext<java.lang.Object> ctx)
      • setBackofficeLabelService

        public void setBackofficeLabelService​(BackofficeLabelService backofficeLabelService)
      • setBundleTemplateService

        public void setBundleTemplateService​(BundleTemplateService bundleTemplateService)
      • setFlexibleSearchService

        public void setFlexibleSearchService​(FlexibleSearchService flexibleSearchService)