| Line 10... |
Line 10... |
| 10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 11 |
import com.spice.profitmandi.common.model.CreateSchemeRequest;
|
11 |
import com.spice.profitmandi.common.model.CreateSchemeRequest;
|
| 12 |
import com.spice.profitmandi.common.model.SchemeModel;
|
12 |
import com.spice.profitmandi.common.model.SchemeModel;
|
| 13 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
13 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
| 14 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
14 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| - |
|
15 |
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
|
| 15 |
|
16 |
|
| 16 |
@Service
|
17 |
@Service
|
| 17 |
public interface SchemeService {
|
18 |
public interface SchemeService {
|
| 18 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
19 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
| 19 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
20 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
| Line 25... |
Line 26... |
| 25 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
26 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
| 26 |
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;
|
| 27 |
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;
|
| 28 |
public List<Scheme> getPaginatedSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
29 |
public List<Scheme> getPaginatedSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
| 29 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason) throws Exception;
|
30 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason) throws Exception;
|
| - |
|
31 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
|
| - |
|
32 |
SchemeType schemeType) throws ProfitMandiBusinessException;
|
| 30 |
}
|
33 |
}
|