Class OrderViewOrderItemServiceTypeHandler
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.OrderViewOrderItemServiceTypeHandler
- All Implemented Interfaces:
OrderViewOrderItemHandler
public class OrderViewOrderItemServiceTypeHandler
extends Object
implements OrderViewOrderItemHandler
The Order View Item Type implementation of
OrderViewOrderItemHandler interface. This handler populates the service type
in the order item type attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateSeatIdentifier(String seatId, AbstractOrderEntryModel orderEntry) Create seat identifier string.protected ServiceAssociationsTypecreateServiceAssociationsFromOrderEntry(AbstractOrderEntryModel orderEntry, String flightCode) Create service associations from order entry for specific flight.protected List<ServiceType>createServiceFromOrderEntry(AbstractOrderEntryModel orderEntry) Create a serviceType list from the given AbstractOrderEntryModelprotected de.hybris.platform.servicelayer.config.ConfigurationServiceGets the configurationServiceprotected StringgetSeatIdentifier(AbstractOrderEntryModel orderEntry) Gets seat identifier.voidhandle(AbstractOrderEntryModel orderEntryModel, OrderItemType orderItemType) Handler which populates the service type in a order item type attribute.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService
-
Constructor Details
-
OrderViewOrderItemServiceTypeHandler
public OrderViewOrderItemServiceTypeHandler()
-
-
Method Details
-
handle
Handler which populates the service type in a order item type attribute.- Specified by:
handlein interfaceOrderViewOrderItemHandler- Parameters:
orderEntryModel- the orderEntryModelorderItemType- the orderItemType
-
createServiceFromOrderEntry
Create a serviceType list from the given AbstractOrderEntryModel- Parameters:
orderEntry- the orderEntry- Returns:
- List
-
createServiceAssociationsFromOrderEntry
protected ServiceAssociationsType createServiceAssociationsFromOrderEntry(AbstractOrderEntryModel orderEntry, String flightCode) Create service associations from order entry for specific flight.- Parameters:
orderEntry- the order entryflightCode- the flight code
-
getSeatIdentifier
Gets seat identifier.- Parameters:
orderEntry- the order entry- Returns:
- the seat identifier
-
createSeatIdentifier
Create seat identifier string.- Parameters:
seatId- the seat idorderEntry- the order entry- Returns:
- the string
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets the configurationService- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService- Parameters:
configurationService- the configurationService
-