Subversion Repositories SmartDukaan

Rev

Rev 22471 | Rev 22955 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22471 Rev 22925
Line 1... Line 1...
1
package com.spice.profitmandi.service.aging;
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
 
5
 
5
import org.springframework.stereotype.Service;
6
import org.springframework.stereotype.Service;
6
 
7
 
-
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
9
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
7
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
10
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
8
 
11
 
9
@Service
12
@Service
10
public interface InventoryItemAgingService {
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;
11
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals);
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;
12
}
29
}