Interface TmaOrderEntryFacade

All Known Implementing Classes:
DefaultTmaOrderEntryFacade

public interface TmaOrderEntryFacade
Facade handling cart operations for OrderEntryData.
Since:
2102
  • Method Details

    • getEntry

      OrderEntryData getEntry(List<OrderEntryData> entries, long entryNumber)
      Returns the entry matching to the given entry number.
      Parameters:
      entries - The list of entries
      entryNumber - The entry number
      Returns:
      The entry matching to the provided entry number
    • getEntry

      OrderEntryData getEntry(OrderEntryData entry, String productCode)
      Returns the entry containing the the given product code.
      Parameters:
      entry - The rootEntry
      productCode - The identifier of the product offering
      Returns:
      The entry containing the matching product offering
    • getEntry

      OrderEntryData getEntry(List<OrderEntryData> entries, String productCode, String pickupStore)
      Returns the entry matching to the given product code and store.
      Parameters:
      entries - The list of entries
      productCode - The identifier of the product
      pickupStore - The identifier of the pick-up store
      Returns:
      The entry matching to the provided entry number
    • getAllSpoEntries

      List<OrderEntryData> getAllSpoEntries(OrderEntryData rootEntry)
      Returns all the child entries corresponding to SPOs.
      Parameters:
      rootEntry - The root entry
      Returns:
      List of OrderEntryData corresponding to SPOs
    • getAllSpoEntries

      List<OrderEntryData> getAllSpoEntries(AbstractOrderData abstractOrderData)
      Returns all abstract order entries corresponding to SPOs.
      Parameters:
      abstractOrderData - The sbatract order data object
      Returns:
      List of OrderEntryData corresponding to SPOs
    • getAllChildEntries

      List<OrderEntryData> getAllChildEntries(OrderEntryData rootEntry)
      Returns all the child entries for the provided rootEntry.
      Parameters:
      rootEntry - The root entry
      Returns:
      List of OrderEntryData containing the child entries