Class DefaultWarehousingConsignmentEntryQuantityDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.warehousing.daos.impl.DefaultWarehousingConsignmentEntryQuantityDao
-
- All Implemented Interfaces:
Dao,WarehousingConsignmentEntryQuantityDao
public class DefaultWarehousingConsignmentEntryQuantityDao extends AbstractItemDao implements WarehousingConsignmentEntryQuantityDao
Provides the methods to retrieve the various quantities related to a consignment entry
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringdeclinedQueryprotected static java.lang.StringshippedQuery-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultWarehousingConsignmentEntryQuantityDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetQuantityDeclined(ConsignmentEntryModel consignmentEntry)Retrieve the quantity allocated for a specific order entryjava.lang.LonggetQuantityShipped(ConsignmentEntryModel consignmentEntry)Retrieve the quantity shipped 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
-
-
-
-
Field Detail
-
shippedQuery
protected static final java.lang.String shippedQuery
-
declinedQuery
protected static final java.lang.String declinedQuery
- See Also:
- Constant Field Values
-
-
Method Detail
-
getQuantityShipped
public java.lang.Long getQuantityShipped(ConsignmentEntryModel consignmentEntry)
Retrieve the quantity shipped for a specific order entry- Specified by:
getQuantityShippedin interfaceWarehousingConsignmentEntryQuantityDao- Parameters:
consignmentEntry- the consignment entry for which we want to get the shipped quantity- Returns:
- the shipped quantity
-
getQuantityDeclined
public java.lang.Long getQuantityDeclined(ConsignmentEntryModel consignmentEntry)
Retrieve the quantity allocated for a specific order entry- Specified by:
getQuantityDeclinedin interfaceWarehousingConsignmentEntryQuantityDao- Parameters:
consignmentEntry- the consignment entry for which we want to get the allocated quantity- Returns:
- the allocated 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 interfaceWarehousingConsignmentEntryQuantityDao- Parameters:
queryString- the flexible search to processparams- the list of params requested by the associated query- Returns:
- the quantity asked
-
-