Class DefaultTmaAbstractOrderEntryService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.order.impl.DefaultAbstractOrderEntryService
de.hybris.platform.b2ctelcoservices.order.impl.DefaultTmaAbstractOrderEntryService
- All Implemented Interfaces:
TmaAbstractOrderEntryService,de.hybris.platform.order.AbstractOrderEntryService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultTmaAbstractOrderEntryService
extends de.hybris.platform.order.impl.DefaultAbstractOrderEntryService
implements TmaAbstractOrderEntryService
Default implementation of the
TmaAbstractOrderEntryService.- Since:
- 2011
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.order.impl.DefaultAbstractOrderEntryService
abstractOrderEntryTypeServiceFields 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 TypeMethodDescriptiongetAllChildEntries(AbstractOrderEntryModel orderEntry) Returns all the child entries for the provided entry in a list.getBpoParentEntries(AbstractOrderEntryModel orderEntry) Returns all the parent entries containing Bundled Product Offerings for the provided entry in a list.getEntryBy(AbstractOrderModel abstractOrder, int entryNumber) Returns the abstract order entry with the id provided and part of he abstract order given by its id.getPoQuantity(List<AbstractOrderEntryModel> entries, TmaProductOfferingModel productOffering) Returns the quantity of the product offering found in the list of provided entries.Returns the root entry for the provided entry.getSpoChildEntries(AbstractOrderEntryModel orderEntry) Returns all the SPO child entries for the provided entry in a list.protected List<AbstractOrderEntryModel>getSpoEntries(AbstractOrderEntryModel orderEntry) Recursive method used for returning all the child SPOs.Methods inherited from class de.hybris.platform.order.impl.DefaultAbstractOrderEntryService
addAllDiscountValues, addAllTaxValues, addDiscountValue, addTaxValue, createEntry, createEntry, getGlobalDiscountValue, removeDiscountValue, removeTaxValue, setAbstractOrderEntryTypeServiceMethods 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, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.order.AbstractOrderEntryService
addAllDiscountValues, addAllTaxValues, addDiscountValue, addTaxValue, createEntry, createEntry, getGlobalDiscountValue, removeDiscountValue, removeTaxValue
-
Constructor Details
-
DefaultTmaAbstractOrderEntryService
public DefaultTmaAbstractOrderEntryService()
-
-
Method Details
-
getPoQuantity
public Long getPoQuantity(List<AbstractOrderEntryModel> entries, TmaProductOfferingModel productOffering) Description copied from interface:TmaAbstractOrderEntryServiceReturns the quantity of the product offering found in the list of provided entries.- Specified by:
getPoQuantityin interfaceTmaAbstractOrderEntryService- Parameters:
entries- The entries from which the quantity will be retrievedproductOffering- The product offering- Returns:
- The quantity of the product offering
-
getSpoChildEntries
Description copied from interface:TmaAbstractOrderEntryServiceReturns all the SPO child entries for the provided entry in a list.- Specified by:
getSpoChildEntriesin interfaceTmaAbstractOrderEntryService- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-
getRootEntry
Description copied from interface:TmaAbstractOrderEntryServiceReturns the root entry for the provided entry.- Specified by:
getRootEntryin interfaceTmaAbstractOrderEntryService- Parameters:
entry- The entry for which the root master entry will be returned- Returns:
- The root master entry
-
getEntryBy
Description copied from interface:TmaAbstractOrderEntryServiceReturns the abstract order entry with the id provided and part of he abstract order given by its id.- Specified by:
getEntryByin interfaceTmaAbstractOrderEntryService- Parameters:
abstractOrder- the abstract order model where the entry is searched forentryNumber- the identifier of the abstract order entry to be searched for- Returns:
- the corresponding abstract order entry
-
getAllChildEntries
Description copied from interface:TmaAbstractOrderEntryServiceReturns all the child entries for the provided entry in a list.- Specified by:
getAllChildEntriesin interfaceTmaAbstractOrderEntryService- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-
getBpoParentEntries
Description copied from interface:TmaAbstractOrderEntryServiceReturns all the parent entries containing Bundled Product Offerings for the provided entry in a list.- Specified by:
getBpoParentEntriesin interfaceTmaAbstractOrderEntryService- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-
getSpoEntries
Recursive method used for returning all the child SPOs.- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-