Class CreateBundleAncillaryProductHandler
java.lang.Object
de.hybris.platform.transportbackoffice.widgets.bundle.CreateBundleAncillaryProductHandler
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
public class CreateBundleAncillaryProductHandler
extends Object
implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Custom Handler for the custom navigation action defined in the Bundle Wizard. This handler validates Change Product Price
Rule or price rows for selected Ancillary Products
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProductsWithoutPriceRows(List<ProductModel> productModelList) Returns Selected Ancillary Products without price Rows in bundle templatevoidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter flowActionHandlerAdapter, Map<String, String> map) protected voidshowErrorPopup(String label) Method responsible to show error/warning if no ChangeProductPriceBundleRule or PriceRow.
-
Field Details
-
ADD_ANCILLARY_BUNDLE_TEMPLATE_ERROR_MESSAGE
- See Also:
-
CREATE_ANCILLARY_BUNDLE_TEMPLATE_ITEM_ID
- See Also:
-
-
Constructor Details
-
CreateBundleAncillaryProductHandler
public CreateBundleAncillaryProductHandler()
-
-
Method Details
-
perform
public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter flowActionHandlerAdapter, Map<String, String> map) - Specified by:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
-
getProductsWithoutPriceRows
Returns Selected Ancillary Products without price Rows in bundle template- Parameters:
productModelList-- Returns:
- List
-
showErrorPopup
Method responsible to show error/warning if no ChangeProductPriceBundleRule or PriceRow.- Parameters:
label- the label
-