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 Summary
Fields Modifier and Type Field Description protected static java.lang.StringcancelQueryprotected static java.lang.StringreturnedQuery-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultWarehousingOrderEntryQuantityDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetCancelledQuantity(OrderEntryModel orderEntry)Retrieve the cancelled quantity for a specific order entryjava.lang.LonggetQuantityReturned(OrderEntryModel orderEntry)Retrieve the quantity returned for a specific order entryjava.lang.LongprocessRequestWithParams(java.lang.String queryString, java.util.Map<java.lang.String,java.lang.Object> params)Process the flexible search given in parameter and applies the list of parameters associated-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
getCancelledQuantity
public java.lang.Long getCancelledQuantity(OrderEntryModel orderEntry)
Retrieve the cancelled quantity for a specific order entry- Specified by:
getCancelledQuantityin interfaceWarehousingOrderEntryQuantityDao- Parameters:
orderEntry- the order entry for which we want to get the cancelled quantity- Returns:
- the cancelled quantity
-
getQuantityReturned
public java.lang.Long getQuantityReturned(OrderEntryModel orderEntry)
Retrieve the quantity returned for a specific order entry- Specified by:
getQuantityReturnedin interfaceWarehousingOrderEntryQuantityDao- Parameters:
orderEntry- the order entry for which we want to get the returned quantity- Returns:
- the returned quantity
-
processRequestWithParams
public java.lang.Long processRequestWithParams(java.lang.String queryString, java.util.Map<java.lang.String,java.lang.Object> params)Process the flexible search given in parameter and applies the list of parameters associated- Specified by:
processRequestWithParamsin interfaceWarehousingOrderEntryQuantityDao- Parameters:
queryString- the flexible search to processparams- the list of params requested by the associated query- Returns:
- the quantity asked
-
-