Subversion Repositories SmartDukaan

Rev

Rev 23418 | Rev 23509 | 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;
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();
23443 amit.gupta 19
	public Set<String> getAllTagListingBrands(int categoryId);
23418 ashik.ali 20
	public Map<Integer, String> getAllTagListingItemIdItemDescriptionMap(String brand);
22925 ashik.ali 21
	public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);
22
	public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
23
	public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
24
	public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
25
	public Map<String, Object> getCatalog(int fofoId, int offset, int limit, String searchTerm);
26
	public Map<String, Object> getPaginatedCatalog(int fofoId, int offset, int limit, String searchTerm);
22955 ashik.ali 27
	public CustomCurrentInventorySnapshot checkItemAvailability(int itemId, int fofoId) throws ProfitMandiBusinessException;
22925 ashik.ali 28
	public Map<String, Object> getGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit, String purchaseReference, String searchType) throws ProfitMandiBusinessException;
29
	public Map<String, Object> getPaginatedGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
30
	public Map<String, Object> getGrnHistoryDetail(int fofoId, int purchaseId, String host, int port, String webapp) throws ProfitMandiBusinessException;
31
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
32
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
33
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
34
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
35
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
22471 ashik.ali 36
}