Class DefaultWarehousingOrderEntryQuantityDao

    • Field Detail

      • cancelQuery

        protected static final java.lang.String cancelQuery
      • returnedQuery

        protected static final java.lang.String returnedQuery
    • Constructor Detail

      • DefaultWarehousingOrderEntryQuantityDao

        public DefaultWarehousingOrderEntryQuantityDao()
    • Method Detail

      • getCancelledQuantity

        public java.lang.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 java.lang.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 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:
        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