Class DefaultWarehousingOrderEntryQuantityDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.warehousing.daos.impl.DefaultWarehousingOrderEntryQuantityDao
All Implemented Interfaces:
Dao, WarehousingOrderEntryQuantityDao

public class DefaultWarehousingOrderEntryQuantityDao extends AbstractItemDao implements WarehousingOrderEntryQuantityDao
Provides the methods to retrieve the various quantities related to an order entry
  • Field Details

    • cancelQuery

      protected static final String cancelQuery
    • returnedQuery

      protected static final String returnedQuery
  • Constructor Details

    • DefaultWarehousingOrderEntryQuantityDao

      public DefaultWarehousingOrderEntryQuantityDao()
  • Method Details

    • getCancelledQuantity

      public Long getCancelledQuantity(OrderEntryModel orderEntry)
      Retrieve the cancelled quantity for a specific order entry
      Specified by:
      getCancelledQuantity in interface WarehousingOrderEntryQuantityDao
      Parameters:
      orderEntry - the order entry for which we want to get the cancelled quantity
      Returns:
      the cancelled quantity
    • getQuantityReturned

      public Long getQuantityReturned(OrderEntryModel orderEntry)
      Retrieve the quantity returned for a specific order entry
      Specified by:
      getQuantityReturned in interface WarehousingOrderEntryQuantityDao
      Parameters:
      orderEntry - the order entry for which we want to get the returned quantity
      Returns:
      the returned quantity
    • processRequestWithParams

      public Long processRequestWithParams(String queryString, Map<String,Object> params)
      Process the flexible search given in parameter and applies the list of parameters associated
      Specified by:
      processRequestWithParams in interface WarehousingOrderEntryQuantityDao
      Parameters:
      queryString - the flexible search to process
      params - the list of params requested by the associated query
      Returns:
      the quantity asked