Package de.hybris.platform.order.impl
Class DefaultAbstractOrderEntryTypeService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.order.impl.DefaultAbstractOrderEntryTypeService
- All Implemented Interfaces:
AbstractOrderEntryTypeService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultAbstractOrderEntryTypeService
extends AbstractBusinessService
implements AbstractOrderEntryTypeService
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvenience method for resolvingClassof the given order entryComposedTypeModel.ReturnsComposedTypeModelof order entry that best match the target order.voidsetOrderType2orderEntryTypeMapping(Map<String, String> orderType2orderEntryTypeMapping) voidsetTypeService(TypeService typeService) Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Constructor Details
-
DefaultAbstractOrderEntryTypeService
public DefaultAbstractOrderEntryTypeService()
-
-
Method Details
-
getAbstractOrderEntryType
Description copied from interface:AbstractOrderEntryTypeServiceReturnsComposedTypeModelof order entry that best match the target order.- Specified by:
getAbstractOrderEntryTypein interfaceAbstractOrderEntryTypeService- Parameters:
order- targetAbstractOrderModel- Returns:
ComposedTypeModelof given order's entries.
-
getAbstractOrderEntryClassForType
Description copied from interface:AbstractOrderEntryTypeServiceConvenience method for resolvingClassof the given order entryComposedTypeModel.- Specified by:
getAbstractOrderEntryClassForTypein interfaceAbstractOrderEntryTypeService- Parameters:
entryType- -ComposedTypeModelyou want to check class for.- Returns:
Classthat corresponds to the type.
-
setOrderType2orderEntryTypeMapping
-
setTypeService
-