Class OrderViewOrderItemServiceTypeHandler
java.lang.Object
de.hybris.platform.ndc182facades.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 ServiceAssociationsTypeCreate service associations from order entry.protected List<ServiceType>createServiceFromOrderEntry(AbstractOrderEntryModel orderEntry) protected 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
-
createServiceAssociationsFromOrderEntry
protected ServiceAssociationsType createServiceAssociationsFromOrderEntry(AbstractOrderEntryModel orderEntry) Create service associations from order entry.- Parameters:
orderEntry- the order entry
-
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
-