Class StockInventoryPreviewPopupHandler
java.lang.Object
de.hybris.platform.transportbackoffice.widgets.inventory.handler.StockInventoryPreviewPopupHandler
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
public class StockInventoryPreviewPopupHandler
extends Object
implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Displays the message to user in a popup before executing actual logic.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDeprecated.Deprecated since version 5.0. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.cronjob.CronJobServiceprotected de.hybris.platform.servicelayer.model.ModelServiceprotected com.hybris.backoffice.widgets.notificationarea.NotificationServiceprotected TravelBackofficeNotificationUtilsprotected TravelBackofficeStockServicevoidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String, String> parameters) protected ManageStockLevelInfoModelpopulateManageStockLevelModel(ManageStockLevelInfo manageStockLevel, List<StockLevelModel> stockLevelModels) protected List<StockLevelAttributesModel>populateStockLevelAttributes(List<StockLevelModel> stockLevelModels) protected List<StockLevelAttributesModel>populateStockLevelAttributesForAddInventory(List<StockLevelAttributes> stockLevelAttributes) voidsetCronjobService(de.hybris.platform.servicelayer.cronjob.CronJobService cronjobService) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) voidsetTravelBackofficeNotificationUtils(TravelBackofficeNotificationUtils travelBackofficeNotificationUtils) voidsetTravelbackofficeStockService(TravelBackofficeStockService travelbackofficeStockService)
-
Constructor Details
-
StockInventoryPreviewPopupHandler
public StockInventoryPreviewPopupHandler()
-
-
Method Details
-
perform
public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String, String> parameters) - Specified by:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
-
populateManageStockLevelModel
protected ManageStockLevelInfoModel populateManageStockLevelModel(ManageStockLevelInfo manageStockLevel, List<StockLevelModel> stockLevelModels) - Parameters:
manageStockLevel-stockLevelModels-- Returns:
-
populateStockLevelAttributesForAddInventory
protected List<StockLevelAttributesModel> populateStockLevelAttributesForAddInventory(List<StockLevelAttributes> stockLevelAttributes) - Parameters:
stockLevelAttributes-- Returns:
-
populateStockLevelAttributes
protected List<StockLevelAttributesModel> populateStockLevelAttributes(List<StockLevelModel> stockLevelModels) - Parameters:
stockLevelAttributes-stockLevelModels-- Returns:
-
getTravelbackofficeStockService
- Returns:
- travelbackofficeStockService
-
setTravelbackofficeStockService
public void setTravelbackofficeStockService(TravelBackofficeStockService travelbackofficeStockService) - Parameters:
travelbackofficeStockService- the travelbackofficeStockService to set
-
getTravelBackofficeNotificationUtils
- Returns:
- the travelBackofficeNotificationUtils
-
setTravelBackofficeNotificationUtils
public void setTravelBackofficeNotificationUtils(TravelBackofficeNotificationUtils travelBackofficeNotificationUtils) - Parameters:
travelBackofficeNotificationUtils- the travelBackofficeNotificationUtils to set
-
getCronjobService
protected de.hybris.platform.servicelayer.cronjob.CronJobService getCronjobService()- Returns:
-
setCronjobService
public void setCronjobService(de.hybris.platform.servicelayer.cronjob.CronJobService cronjobService) - Parameters:
cronjobService-
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()- Returns:
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) - Parameters:
modelService-
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()- Returns:
- the notificationService
-
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) - Parameters:
notificationService- the notificationService to set
-