Rev 22471 | Rev 22955 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.inventory;import java.util.List;import java.util.Map;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;import com.spice.profitmandi.common.model.InventoryItemAgingModel;@Servicepublic interface InventoryService {public int getCachedAvailabilityByItemIdWarehouseIds(int itemId, int[] warehouseIds);public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);public Map<String, Object> getPaginatedCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);public Map<String, Object> getCatalog(int fofoId, int offset, int limit, String searchTerm);public Map<String, Object> getPaginatedCatalog(int fofoId, int offset, int limit, String searchTerm);public CustomCurrentInventorySnapshot checkItemAvailability(int fofoId, int itemId) throws ProfitMandiBusinessException;public Map<String, Object> getGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit, String purchaseReference, String searchType) throws ProfitMandiBusinessException;public Map<String, Object> getPaginatedGrnHistory(int fofoId, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;public Map<String, Object> getGrnHistoryDetail(int fofoId, int purchaseId, String host, int port, String webapp) throws ProfitMandiBusinessException;public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;}