Class DefaultOrderEntryQuantityService
- java.lang.Object
-
- de.hybris.platform.warehousing.orderentry.service.impl.DefaultOrderEntryQuantityService
-
- All Implemented Interfaces:
OrderEntryQuantityService
public class DefaultOrderEntryQuantityService extends java.lang.Object implements OrderEntryQuantityService
Provides the default implementation to get the values of the quantities for each stage.
-
-
Constructor Summary
Constructors Constructor Description DefaultOrderEntryQuantityService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConsignmentEntryQuantityServicegetConsignmentEntryQuantityService()java.lang.LonggetQuantityAllocated(OrderEntryModel orderEntryModel)Gets the quantity that has been allocated for the givenOrderEntryModeljava.lang.LonggetQuantityCancelled(OrderEntryModel orderEntryModel)Gets the quantity that has been cancelled for the givenOrderEntryModeljava.lang.LonggetQuantityDeclined(OrderEntryModel orderEntryModel)Gets the quantity that was declined for the givenOrderEntryModeljava.lang.LonggetQuantityPending(OrderEntryModel orderEntryModel)Gets the pending quantity for the givenOrderEntryModeljava.lang.LonggetQuantityReturned(OrderEntryModel orderEntryModel)Gets the quantity that has been returned for the givenOrderEntryModeljava.lang.LonggetQuantityShipped(OrderEntryModel orderEntryModel)Gets the quantity that has been shipped for the givenOrderEntryModeljava.lang.LonggetQuantityUnallocated(OrderEntryModel orderEntryModel)Gets the quantity that has not been allocated for the givenOrderEntryModelprotected WarehousingOrderEntryQuantityDaogetWarehousingOrderEntryQuantityDao()voidsetConsignmentEntryQuantityService(ConsignmentEntryQuantityService consignmentEntryQuantityService)voidsetWarehousingOrderEntryQuantityDao(WarehousingOrderEntryQuantityDao warehousingOrderEntryQuantityDao)
-
-
-
Method Detail
-
getQuantityShipped
public java.lang.Long getQuantityShipped(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that has been shipped for the givenOrderEntryModel- Specified by:
getQuantityShippedin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the shipped quantity- Returns:
- the quantity shipped for the given order entry
-
getQuantityCancelled
public java.lang.Long getQuantityCancelled(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that has been cancelled for the givenOrderEntryModel- Specified by:
getQuantityCancelledin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the cancelled quantity- Returns:
- the quantity cancelled for the given order entry
-
getQuantityAllocated
public java.lang.Long getQuantityAllocated(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that has been allocated for the givenOrderEntryModel- Specified by:
getQuantityAllocatedin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the allocated quantity- Returns:
- the quantity allocated for the given order entry
-
getQuantityUnallocated
public java.lang.Long getQuantityUnallocated(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that has not been allocated for the givenOrderEntryModel- Specified by:
getQuantityUnallocatedin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the unallocated quantity- Returns:
- the quantity unallocated for the given order entry
-
getQuantityPending
public java.lang.Long getQuantityPending(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the pending quantity for the givenOrderEntryModel- Specified by:
getQuantityPendingin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the pending quantity- Returns:
- the quantity pending for the given order entry
-
getQuantityReturned
public java.lang.Long getQuantityReturned(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that has been returned for the givenOrderEntryModel- Specified by:
getQuantityReturnedin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the returned quantity- Returns:
- the quantity returned for the given order entry
-
getQuantityDeclined
public java.lang.Long getQuantityDeclined(OrderEntryModel orderEntryModel)
Description copied from interface:OrderEntryQuantityServiceGets the quantity that was declined for the givenOrderEntryModel- Specified by:
getQuantityDeclinedin interfaceOrderEntryQuantityService- Parameters:
orderEntryModel- the given order entry for which we want to get the declined quantity- Returns:
- the quantity declined for the given order entry
-
getWarehousingOrderEntryQuantityDao
protected WarehousingOrderEntryQuantityDao getWarehousingOrderEntryQuantityDao()
-
setWarehousingOrderEntryQuantityDao
public void setWarehousingOrderEntryQuantityDao(WarehousingOrderEntryQuantityDao warehousingOrderEntryQuantityDao)
-
getConsignmentEntryQuantityService
protected ConsignmentEntryQuantityService getConsignmentEntryQuantityService()
-
setConsignmentEntryQuantityService
public void setConsignmentEntryQuantityService(ConsignmentEntryQuantityService consignmentEntryQuantityService)
-
-