Subversion Repositories SmartDukaan

Rev

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

Rev 33030 Rev 33247
Line 8... Line 8...
8
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
8
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
9
import com.spice.profitmandi.dao.entity.dtr.User;
9
import com.spice.profitmandi.dao.entity.dtr.User;
10
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
10
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
11
import com.spice.profitmandi.dao.entity.fofo.RetailerContact;
11
import com.spice.profitmandi.dao.entity.fofo.RetailerContact;
12
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
12
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
13
import com.spice.profitmandi.service.offers.PartnerCriteria;
-
 
14
import org.springframework.stereotype.Service;
13
import org.springframework.stereotype.Service;
15
 
14
 
16
import java.util.List;
15
import java.util.List;
17
import java.util.Map;
16
import java.util.Map;
18
import java.util.Set;
17
import java.util.Set;
Line 28... Line 27...
28
    public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
27
    public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
29
                                                 UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
28
                                                 UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
30
 
29
 
31
    public List<DistrictMaster> getAllDistrictMaster(String stateName);
30
    public List<DistrictMaster> getAllDistrictMaster(String stateName);
32
 
31
 
33
    public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
32
    public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds) throws ProfitMandiBusinessException;
34
 
33
 
35
    public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
34
    public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly) throws ProfitMandiBusinessException;
36
 
35
 
37
    public Map<Integer, CustomRetailer> getAllFofoRetailers();
36
    public Map<Integer, CustomRetailer> getAllFofoRetailers() throws ProfitMandiBusinessException;
38
 
37
 
39
    public Map<Integer, CustomRetailer> getFofoRetailersPaginated(boolean activeOnly, int offset, int limit,
38
    public Map<Integer, CustomRetailer> getFofoRetailersPaginated(boolean activeOnly, int offset, int limit,
40
                                                                  FofoType fofoType);
39
                                                                  FofoType fofoType) throws ProfitMandiBusinessException;
41
 
40
 
42
    public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
41
    public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
43
 
42
 
44
    public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
43
    public Map<Integer, String> getAllFofoRetailerIdEmailIdMap() throws ProfitMandiBusinessException;
45
 
44
 
46
    public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
45
    public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList() throws ProfitMandiBusinessException;
47
 
46
 
48
    public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
47
    public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds) throws ProfitMandiBusinessException;
49
 
48
 
50
    Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
49
    Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds) throws ProfitMandiBusinessException;
51
 
50
 
52
    Map<Integer, String> getAllFofoRetailerIdNameMap();
51
    Map<Integer, String> getAllFofoRetailerIdNameMap() throws ProfitMandiBusinessException;
53
 
52
 
54
    Map<Integer, String> getAllFofoRetailerIdUrlMap();
53
    Map<Integer, String> getAllFofoRetailerIdUrlMap();
55
 
54
 
56
    Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
55
    Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
57
 
56