Subversion Repositories SmartDukaan

Rev

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

Rev 23443 Rev 23509
Line 7... Line 7...
7
import org.springframework.stereotype.Service;
7
import org.springframework.stereotype.Service;
8
 
8
 
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
10
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
11
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
11
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
-
 
12
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
12
 
13
 
13
@Service
14
@Service
14
public interface InventoryService {
15
public interface InventoryService {
15
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
16
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
16
	public Set<String> getAllBrands();
17
	public Set<String> getAllBrands();
Line 31... Line 32...
31
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
32
	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 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> 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> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
35
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
36
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
-
 
37
	public void returnInventory(InventoryItem inventoryItem);
-
 
38
	public void returnInventoryItems(List<InventoryItem> inventoryItems);
36
}
39
}