Class BundleTemplateCloneAction

java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
com.hybris.cockpitng.actions.clone.CloneAction
de.hybris.platform.configurablebundlebackoffice.widgets.actions.BundleTemplateCloneAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<Object,Object>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

public class BundleTemplateCloneAction extends com.hybris.cockpitng.actions.clone.CloneAction
  • Constructor Details

    • BundleTemplateCloneAction

      public BundleTemplateCloneAction()
  • 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.clone.CloneAction
    • 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.clone.CloneAction
    • resolveBundleTemplateToClone

      protected BundleTemplateModel resolveBundleTemplateToClone(com.hybris.cockpitng.actions.ActionContext<Object> ctx)
    • isBundleTemplateClonable

      protected boolean isBundleTemplateClonable(BundleTemplateModel bundleTemplate)
    • cloneBundleTemplate

      protected BundleTemplateModel cloneBundleTemplate(BundleTemplateModel bundleToBeCloned) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException, com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
    • cloneBundleTemplateRecursive

      protected BundleTemplateModel cloneBundleTemplateRecursive(BundleTemplateModel bundleToBeCloned) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException, com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
    • cloneChildBundleTemplatesRecursive

      protected void cloneChildBundleTemplatesRecursive(BundleTemplateModel bundleToBeCloned, BundleTemplateModel clonedBundleTemplateModel) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException, com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCloningException
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
    • cloneRequiredBundleTemplatesRecursive

      protected void cloneRequiredBundleTemplatesRecursive(BundleTemplateModel bundleToBeCloned, BundleTemplateModel clonedBundleTemplateModel)
    • cloneDependentBundleTemplatesRecursive

      protected void cloneDependentBundleTemplatesRecursive(BundleTemplateModel bundleToBeCloned, BundleTemplateModel clonedBundleTemplateModel)
    • getCloneIdGenerator

      protected KeyGenerator getCloneIdGenerator()
    • getUserService

      protected UserService getUserService()