Class SaveRoomTypeConfigurationHandler
java.lang.Object
de.hybris.platform.accommodationbackoffice.widgets.SaveRoomTypeConfigurationHandler
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
public class SaveRoomTypeConfigurationHandler
extends Object
implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
This saves the Room Floor Configuration for the Selected Accommodation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RoomFloorConfigurationModelcreateRoomFloorConfiguration(org.zkoss.zul.Row row) protected voiddisplayErrorMessage(String errorMsg, String title) Method displays the error message onMessageboxprotected de.hybris.platform.servicelayer.model.ModelServiceprotected com.hybris.backoffice.widgets.notificationarea.NotificationServicevoidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String, String> parameters) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
-
Field Details
-
SUCCESS_MESSAGE
- See Also:
-
-
Constructor Details
-
SaveRoomTypeConfigurationHandler
public SaveRoomTypeConfigurationHandler()
-
-
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
-
createRoomFloorConfiguration
- Parameters:
row-- Returns:
-
displayErrorMessage
Method displays the error message onMessagebox- Parameters:
errorMsg-title-
-
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
-