Subversion Repositories SmartDukaan

Rev

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

Rev 22653 Rev 22859
Line 1... Line 1...
1
package com.spice.profitmandi.service.scheme;
1
package com.spice.profitmandi.service.scheme;
2
 
2
 
3
import java.util.Set;
-
 
4
 
-
 
5
import org.springframework.stereotype.Service;
3
import org.springframework.stereotype.Service;
6
 
4
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
6
import com.spice.profitmandi.common.model.CreateSchemeRequest;
8
import com.spice.profitmandi.dao.entity.catalog.Scheme;
7
import com.spice.profitmandi.dao.entity.catalog.Scheme;
9
 
8
 
10
@Service
9
@Service
11
public interface SchemeService {
10
public interface SchemeService {
12
	public void saveScheme(Scheme scheme, Set<Integer> retailerIds) throws ProfitMandiBusinessException;
11
	public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
-
 
12
	public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
13
	public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
13
	public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
14
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
14
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
15
	public void processSchemeIn(int inventoryItemId) throws ProfitMandiBusinessException;
15
	public float processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
16
	public void processSchemeOut(int inventoryItemId) throws ProfitMandiBusinessException;
16
	public float processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
17
}
17
}