Subversion Repositories SmartDukaan

Rev

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

Rev 23569 Rev 23638
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
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
-
 
13
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
13
 
14
 
14
@Service
15
@Service
15
public interface InventoryService {
16
public interface InventoryService {
16
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
17
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
17
	public Set<String> getAllBrands();
18
	public Set<String> getAllBrands();
Line 33... Line 34...
33
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
34
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
34
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
35
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
35
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
36
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
36
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
37
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
37
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
38
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
38
	public void returnInventory(InventoryItem inventoryItem);
39
	public void returnInventory(PurchaseReturnItem purchaseReturnItem);
39
	public void returnInventoryItems(List<InventoryItem> inventoryItems);
40
	//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
-
 
41
	public void returnItems(DebitNote debitNote) throws Exception;
40
}
42
}