Interface TmaAbstractOrderEntryService
- All Superinterfaces:
de.hybris.platform.order.AbstractOrderEntryService
- All Known Implementing Classes:
DefaultTmaAbstractOrderEntryService
public interface TmaAbstractOrderEntryService
extends de.hybris.platform.order.AbstractOrderEntryService
Service business logic around
AbstractOrderEntryModel.- Since:
- 2011
-
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.Methods inherited from interface de.hybris.platform.order.AbstractOrderEntryService
addAllDiscountValues, addAllTaxValues, addDiscountValue, addTaxValue, createEntry, createEntry, getGlobalDiscountValue, removeDiscountValue, removeTaxValue
-
Method Details
-
getPoQuantity
Returns the quantity of the product offering found in the list of provided entries.- Parameters:
entries- The entries from which the quantity will be retrievedproductOffering- The product offering- Returns:
- The quantity of the product offering
-
getSpoChildEntries
Returns all the SPO child entries for the provided entry in a list.- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-
getRootEntry
Returns the root entry for the provided entry.- Parameters:
entry- The entry for which the root master entry will be returned- Returns:
- The root master entry
-
getEntryBy
Returns the abstract order entry with the id provided and part of he abstract order given by its id.- 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
Returns all the child entries for the provided entry in a list.- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-
getBpoParentEntries
Returns all the parent entries containing Bundled Product Offerings for the provided entry in a list.- Parameters:
orderEntry- The entry- Returns:
- List of
AbstractOrderEntryModel
-