| 21789 |
ashik.ali |
1 |
package com.spice.profitmandi.service.tag;
|
|
|
2 |
|
| 33247 |
ranu |
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
4 |
import com.spice.profitmandi.common.model.TagListingModel;
|
|
|
5 |
import com.spice.profitmandi.dao.entity.catalog.Tag;
|
|
|
6 |
import com.spice.profitmandi.dao.entity.dtr.Retailer;
|
|
|
7 |
import org.springframework.stereotype.Service;
|
|
|
8 |
|
| 21789 |
ashik.ali |
9 |
import java.time.LocalDateTime;
|
|
|
10 |
import java.util.List;
|
| 21801 |
ashik.ali |
11 |
import java.util.Map;
|
| 21789 |
ashik.ali |
12 |
import java.util.Set;
|
|
|
13 |
|
|
|
14 |
@Service
|
|
|
15 |
public interface TagService {
|
|
|
16 |
public void createTagListings(List<TagListingModel> tagListingModels) throws ProfitMandiBusinessException;
|
| 22563 |
amit.gupta |
17 |
public void createTagListing(int tagId, int itemId, float sellingPrice, float mop, float priceSupport, float maxDiscountPrice, LocalDateTime startDate);
|
| 21789 |
ashik.ali |
18 |
public List<Retailer> getRetailersByTagId(int tagId);
|
| 33247 |
ranu |
19 |
|
|
|
20 |
public List<Tag> getTagsByPinCode(String pinCode) throws ProfitMandiBusinessException;
|
| 21789 |
ashik.ali |
21 |
public Set<String> getPinCodesByTagId(int tagId);
|
| 33247 |
ranu |
22 |
|
|
|
23 |
public List<Tag> getTagsByRetailerId(int retailerId) throws ProfitMandiBusinessException;
|
| 21801 |
ashik.ali |
24 |
public Set<Integer> getTagIdsByPinCode(String pinCode);
|
| 33247 |
ranu |
25 |
|
|
|
26 |
public Set<Integer> getFofoTagIdsByPinCode(String pinCode) throws ProfitMandiBusinessException;
|
| 21867 |
ashik.ali |
27 |
public Set<Integer> getPinCodePositiveTagIds();
|
|
|
28 |
public Set<Integer> getPinCodeNegativeTagIds();
|
|
|
29 |
public Set<Integer> getUserPositiveTagIds();
|
|
|
30 |
public Set<Integer> getUserNegativeTagIds();
|
| 33247 |
ranu |
31 |
|
|
|
32 |
public List<Map<String, Object>> getTagListingDetail(int tagId) throws ProfitMandiBusinessException;
|
|
|
33 |
|
|
|
34 |
public Set<Integer> getUserTagIdsByTagIds(Set<Integer> tagIds) throws ProfitMandiBusinessException;
|
| 21789 |
ashik.ali |
35 |
}
|