Interface TmaOrderService

All Superinterfaces:
de.hybris.platform.order.AbstractOrderService<OrderModel,OrderEntryModel>, de.hybris.platform.order.OrderService
All Known Implementing Classes:
DefaultTmaOrderService

public interface TmaOrderService extends de.hybris.platform.order.OrderService
Service handling business logic acting upon orders.
Since:
2105
  • Method Summary

    Modifier and Type
    Method
    Description
    getNumberOfOrders(TmaProductOrderFilterContextData productOrderFilterContextData)
    Retrieves the number of product orders identified based on filtering context.
    Provides the list of orders placed by the provided principals.
    getOrdersByLimitAndOffset(TmaProductOrderFilterContextData productOrderFilterContextData, Integer offset, Integer limit)
    Retrieves a list of OrderModel filtered by the context.

    Methods inherited from interface de.hybris.platform.order.AbstractOrderService

    addAllGlobalDiscountValues, addAllTotalTaxValues, addGlobalDiscountValue, addNewEntry, addTotalTaxValue, clone, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, saveOrder

    Methods inherited from interface de.hybris.platform.order.OrderService

    addNewEntry, addNewEntry, calculateOrder, createOrderFromCart, placeOrder, submitOrder
  • Method Details

    • getOrders

      List<OrderModel> getOrders(Set<PrincipalModel> principals)
      Provides the list of orders placed by the provided principals.
      Parameters:
      principals - The list of principals
      Returns:
      List of orders placed by given principals
    • getOrdersByLimitAndOffset

      List<OrderModel> getOrdersByLimitAndOffset(TmaProductOrderFilterContextData productOrderFilterContextData, Integer offset, Integer limit)
      Retrieves a list of OrderModel filtered by the context.
      Parameters:
      productOrderFilterContextData - the context used for filtering.
      offset - the offset.
      limit - the maximum number of returned orders.
      Returns:
      the list of product orders found for the given offset and limit.
    • getNumberOfOrders

      Integer getNumberOfOrders(TmaProductOrderFilterContextData productOrderFilterContextData)
      Retrieves the number of product orders identified based on filtering context.
      Parameters:
      productOrderFilterContextData - the context.
      Returns:
      the number of all found OrderModel.