| Line 8... |
Line 8... |
| 8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 9 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
9 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
| 10 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
10 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 11 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
11 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
| 12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
| 13 |
import com.spice.profitmandi.dao.enumuration.transaction.PriceDropImeiStatus;
|
- |
|
| 14 |
|
13 |
|
| 15 |
@Service
|
14 |
@Service
|
| 16 |
public interface PriceDropService {
|
15 |
public interface PriceDropService {
|
| 17 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
16 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
| 18 |
throws ProfitMandiBusinessException;
|
17 |
throws ProfitMandiBusinessException;
|
| Line 24... |
Line 23... |
| 24 |
|
23 |
|
| 25 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
24 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
| 26 |
|
25 |
|
| 27 |
List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
|
26 |
List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
|
| 28 |
|
27 |
|
| 29 |
List<PriceDropIMEI> processPriceDrop(int priceDropId) throws ProfitMandiBusinessException;
|
28 |
List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
|
| 30 |
|
29 |
|
| 31 |
}
|
30 |
}
|