Subversion Repositories SmartDukaan

Rev

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

Rev 24563 Rev 25069
Line 18... Line 18...
18
public interface SchemeService {
18
public interface SchemeService {
19
	public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
19
	public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
20
	public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
20
	public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
21
	public List<SchemeModel> getAllSchemeModels(LocalDateTime startDateTime, LocalDateTime endDateTime);
21
	public List<SchemeModel> getAllSchemeModels(LocalDateTime startDateTime, LocalDateTime endDateTime);
22
	public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
22
	public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
23
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
23
	public void expireSchemeById(int schemeId, LocalDateTime expireSchemeById) throws ProfitMandiBusinessException;
24
	public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
24
	public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
25
	public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
25
	public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
26
//	public void rollbackSchemeForInventoryItemId(int inventoryItemId);
26
//	public void rollbackSchemeForInventoryItemId(int inventoryItemId);
27
	public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
27
	public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
28
	public Map<String, Object> getSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
28
	public Map<String, Object> getSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;