| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.inventory;
|
1 |
package com.spice.profitmandi.service.inventory;
|
| 2 |
|
2 |
|
| 3 |
import java.util.List;
|
3 |
import java.util.List;
|
| 4 |
import java.util.Map;
|
4 |
import java.util.Map;
|
| - |
|
5 |
import java.util.Set;
|
| 5 |
|
6 |
|
| 6 |
import org.springframework.stereotype.Service;
|
7 |
import org.springframework.stereotype.Service;
|
| 7 |
|
8 |
|
| 8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 9 |
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
|
10 |
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
|
| 10 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
11 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
| 11 |
|
12 |
|
| 12 |
@Service
|
13 |
@Service
|
| 13 |
public interface InventoryService {
|
14 |
public interface InventoryService {
|
| 14 |
public List<String> getAllBrands();
|
15 |
public Set<String> getAllBrands();
|
| 15 |
public Map<Integer, String> getAllItemIdItemDescriptionMap(String brand);
|
16 |
public Map<Integer, String> getAllItemIdItemDescriptionMap(String brand);
|
| 16 |
public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);
|
17 |
public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);
|
| 17 |
public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
18 |
public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
| 18 |
public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
19 |
public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
| 19 |
public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|
20 |
public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
|