Subversion Repositories SmartDukaan

Rev

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

Rev 23752 Rev 23781
Line 1... Line 1...
1
package com.spice.profitmandi.service.scheme;
1
package com.spice.profitmandi.service.scheme;
2
 
2
 
3
import java.time.LocalDateTime;
3
import java.time.LocalDateTime;
4
import java.util.List;
4
import java.util.List;
5
import java.util.Map;
5
import java.util.Map;
-
 
6
import java.util.Set;
6
 
7
 
7
import org.springframework.stereotype.Service;
8
import org.springframework.stereotype.Service;
8
 
9
 
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.model.CreateSchemeRequest;
11
import com.spice.profitmandi.common.model.CreateSchemeRequest;
Line 20... Line 21...
20
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
21
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
21
	public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
22
	public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
22
	public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
23
	public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
23
//	public void rollbackSchemeForInventoryItemId(int inventoryItemId);
24
//	public void rollbackSchemeForInventoryItemId(int inventoryItemId);
24
	public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
25
	public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
-
 
26
	public Map<String, Object> getSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
-
 
27
	public List<Scheme> getPaginatedSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
25
}
28
}