| Line 15... |
Line 15... |
| 15 |
import java.util.List;
|
15 |
import java.util.List;
|
| 16 |
import java.util.Map;
|
16 |
import java.util.Map;
|
| 17 |
|
17 |
|
| 18 |
@Service
|
18 |
@Service
|
| 19 |
public interface OfferService {
|
19 |
public interface OfferService {
|
| - |
|
20 |
void evictOfferCaches(int offerId);
|
| - |
|
21 |
|
| 20 |
void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
|
22 |
void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
|
| 21 |
|
23 |
|
| 22 |
List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
|
24 |
List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
|
| 23 |
|
25 |
|
| - |
|
26 |
List<CreateOfferRequest> getPublishedOffersCached(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
|
| - |
|
27 |
|
| 24 |
Map<Integer, CreateOfferRequest> getAllOffers(YearMonth yearMonth) throws ProfitMandiBusinessException;
|
28 |
Map<Integer, CreateOfferRequest> getAllOffers(YearMonth yearMonth) throws ProfitMandiBusinessException;
|
| 25 |
|
29 |
|
| - |
|
30 |
CreateOfferRequest getOfferDefinition(int offerId) throws ProfitMandiBusinessException;
|
| - |
|
31 |
|
| 26 |
CreateOfferRequest getOffer(int fofoId, int offerId) throws ProfitMandiBusinessException;
|
32 |
CreateOfferRequest getOffer(int fofoId, int offerId) throws ProfitMandiBusinessException;
|
| 27 |
|
33 |
|
| 28 |
List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int catalogId) throws ProfitMandiBusinessException;
|
34 |
List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int catalogId) throws ProfitMandiBusinessException;
|
| 29 |
|
35 |
|
| 30 |
Map<Integer, CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, String brand);
|
36 |
Map<Integer, CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, String brand);
|