Class BundleTemplateRefreshAction

java.lang.Object
com.hybris.cockpitng.actions.misc.RefreshAction
de.hybris.platform.configurablebundlebackoffice.widgets.actions.BundleTemplateRefreshAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Object,Object>

public class BundleTemplateRefreshAction extends com.hybris.cockpitng.actions.misc.RefreshAction
  • Field Details

    • objectFacade

      public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade
  • Constructor Details

    • BundleTemplateRefreshAction

      public BundleTemplateRefreshAction()
  • 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.misc.RefreshAction
    • needsConfirmation

      public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
      Specified by:
      needsConfirmation in interface com.hybris.cockpitng.actions.CockpitAction<Object,Object>
      Overrides:
      needsConfirmation in class com.hybris.cockpitng.actions.misc.RefreshAction
    • 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.misc.RefreshAction
    • 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.misc.RefreshAction
    • getRootBundles

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

      protected boolean isBundleTemplateRefreshable(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)
    • getObjectFacade

      protected com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
    • setObjectFacade

      public void setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)