Subversion Repositories SmartDukaan

Rev

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

Rev 36374 Rev 36521
Line 12... Line 12...
12
import java.io.InputStream;
12
import java.io.InputStream;
13
import java.time.LocalDate;
13
import java.time.LocalDate;
14
import java.time.YearMonth;
14
import java.time.YearMonth;
15
import java.util.List;
15
import java.util.List;
16
import java.util.Map;
16
import java.util.Map;
-
 
17
import java.util.Set;
17
import java.util.LinkedHashMap;
18
import java.util.LinkedHashMap;
18
 
19
 
19
@Service
20
@Service
20
public interface OfferService {
21
public interface OfferService {
21
	void evictOfferCaches(int offerId);
22
	void evictOfferCaches(int offerId);
22
 
23
 
-
 
24
	void evictOfferDefinitionCache(int offerId);
-
 
25
 
-
 
26
	Set<Integer> getMonthOfferIds(YearMonth yearMonth) throws ProfitMandiBusinessException;
-
 
27
 
23
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
28
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
24
 
29
 
25
    List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
30
    List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
26
 
31
 
27
    List<CreateOfferRequest> getPublishedOffersCached(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;
32
    List<CreateOfferRequest> getPublishedOffersCached(int fofoId, YearMonth yearMonth) throws ProfitMandiBusinessException;