Subversion Repositories SmartDukaan

Rev

Rev 22471 | Rev 22955 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
22471 ashik.ali 5
 
6
import org.springframework.stereotype.Service;
7
 
22925 ashik.ali 8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
22471 ashik.ali 10
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
11
 
12
@Service
22925 ashik.ali 13
public interface InventoryService {
14
	public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);
15
	public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
16
	public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
17
	public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
18
	public Map<String, Object> getCatalog(int fofoId, int offset, int limit, String searchTerm);
19
	public Map<String, Object> getPaginatedCatalog(int fofoId, int offset, int limit, String searchTerm);
20
	public CustomCurrentInventorySnapshot checkItemAvailability(int fofoId, int itemId) throws ProfitMandiBusinessException;
21
	public Map<String, Object> getGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit, String purchaseReference, String searchType) throws ProfitMandiBusinessException;
22
	public Map<String, Object> getPaginatedGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
23
	public Map<String, Object> getGrnHistoryDetail(int fofoId, int purchaseId, String host, int port, String webapp) throws ProfitMandiBusinessException;
24
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
25
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
26
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
27
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
28
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
22471 ashik.ali 29
}