| 22925 |
ashik.ali |
1 |
package com.spice.profitmandi.service.inventory;
|
| 22471 |
ashik.ali |
2 |
|
|
|
3 |
import java.util.List;
|
| 22925 |
ashik.ali |
4 |
import java.util.Map;
|
| 23269 |
ashik.ali |
5 |
import java.util.Set;
|
| 22471 |
ashik.ali |
6 |
|
|
|
7 |
import org.springframework.stereotype.Service;
|
|
|
8 |
|
| 22925 |
ashik.ali |
9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
10 |
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
|
| 22471 |
ashik.ali |
11 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
|
|
12 |
|
|
|
13 |
@Service
|
| 22925 |
ashik.ali |
14 |
public interface InventoryService {
|
| 23418 |
ashik.ali |
15 |
public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
|
| 23269 |
ashik.ali |
16 |
public Set<String> getAllBrands();
|
| 23019 |
ashik.ali |
17 |
public Map<Integer, String> getAllItemIdItemDescriptionMap(String brand);
|
| 23418 |
ashik.ali |
18 |
public Set<String> getAllTagListingBrands();
|
|
|
19 |
public Map<Integer, String> getAllTagListingItemIdItemDescriptionMap(String brand);
|
| 22925 |
ashik.ali |
20 |
public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);
|
|
|
21 |
public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
|
|
22 |
public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
|
|
23 |
public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
|
|
24 |
public Map<String, Object> getCatalog(int fofoId, int offset, int limit, String searchTerm);
|
|
|
25 |
public Map<String, Object> getPaginatedCatalog(int fofoId, int offset, int limit, String searchTerm);
|
| 22955 |
ashik.ali |
26 |
public CustomCurrentInventorySnapshot checkItemAvailability(int itemId, int fofoId) throws ProfitMandiBusinessException;
|
| 22925 |
ashik.ali |
27 |
public Map<String, Object> getGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit, String purchaseReference, String searchType) throws ProfitMandiBusinessException;
|
|
|
28 |
public Map<String, Object> getPaginatedGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
|
|
|
29 |
public Map<String, Object> getGrnHistoryDetail(int fofoId, int purchaseId, String host, int port, String webapp) throws ProfitMandiBusinessException;
|
|
|
30 |
public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
|
|
|
31 |
public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
|
|
|
32 |
public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
|
|
|
33 |
public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
|
|
|
34 |
public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
|
| 22471 |
ashik.ali |
35 |
}
|