Class BundleTemplateDeleteAction
java.lang.Object
com.hybris.cockpitng.actions.delete.DeleteAction
de.hybris.platform.configurablebundlebackoffice.widgets.actions.BundleTemplateDeleteAction
public class BundleTemplateDeleteAction
extends com.hybris.cockpitng.actions.delete.DeleteAction
-
Field Summary
Fields inherited from class com.hybris.cockpitng.actions.delete.DeleteAction
objectFacade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPerform(com.hybris.cockpitng.actions.ActionContext<Object> ctx) protected voidfillCtxObjects(com.hybris.cockpitng.actions.ActionContext<Object> ctx, Collection<Object> ctxObjects) protected List<BundleTemplateModel>getAllCatalogVersionsOfBundleTemplate(BundleTemplateModel templateModel) getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<Object> ctx) protected Collection<Object>getCtxObjects(com.hybris.cockpitng.actions.ActionContext<Object> ctx) protected List<BundleTemplateModel>getRootBundles(Collection<Object> ctxObjects) protected booleanisBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel) protected booleanisChildBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel) protected booleanisRootBundleTemplateDeletable(BundleTemplateModel bundleTemplateModel) com.hybris.cockpitng.actions.ActionResult<Object>voidsetBundleTemplateService(BundleTemplateService bundleTemplateService) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) Methods inherited from class com.hybris.cockpitng.actions.delete.DeleteAction
getNotificationService, getNotificationSource, getObjectFacade, getPermissionFacade, hasPermissionAndObjectIsPersisted, isCollectionDeletable, needsConfirmation, setNotificationService, setObjectFacade, setPermissionFacade, showFailureNotification, showSuccessNotification
-
Constructor Details
-
BundleTemplateDeleteAction
public BundleTemplateDeleteAction()
-
-
Method Details
-
perform
-
getConfirmationMessage
-
canPerform
-
getRootBundles
-
isBundleTemplateDeletable
-
isRootBundleTemplateDeletable
-
isChildBundleTemplateDeletable
-
getAllCatalogVersionsOfBundleTemplate
protected List<BundleTemplateModel> getAllCatalogVersionsOfBundleTemplate(BundleTemplateModel templateModel) -
fillCtxObjects
protected void fillCtxObjects(com.hybris.cockpitng.actions.ActionContext<Object> ctx, Collection<Object> ctxObjects) -
getCtxObjects
-
getBundleTemplateService
-
setBundleTemplateService
-
getFlexibleSearchService
-
setFlexibleSearchService
-