| Line 5... |
Line 5... |
| 5 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
5 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 6 |
import com.spice.profitmandi.dao.entity.cs.*;
|
6 |
import com.spice.profitmandi.dao.entity.cs.*;
|
| 7 |
import com.spice.profitmandi.dao.entity.fofo.ActivityType;
|
7 |
import com.spice.profitmandi.dao.entity.fofo.ActivityType;
|
| 8 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
8 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
| 9 |
import com.spice.profitmandi.dao.model.FofoReportingModel;
|
9 |
import com.spice.profitmandi.dao.model.FofoReportingModel;
|
| 10 |
|
- |
|
| 11 |
import org.springframework.stereotype.Service;
|
10 |
import org.springframework.stereotype.Service;
|
| 12 |
|
11 |
|
| 13 |
import java.util.List;
|
12 |
import java.util.List;
|
| 14 |
import java.util.Map;
|
13 |
import java.util.Map;
|
| 15 |
import java.util.Set;
|
14 |
import java.util.Set;
|
| Line 20... |
Line 19... |
| 20 |
void addActivity(Ticket ticket, Activity activity);
|
19 |
void addActivity(Ticket ticket, Activity activity);
|
| 21 |
|
20 |
|
| 22 |
void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
|
21 |
void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
|
| 23 |
throws ProfitMandiBusinessException;
|
22 |
throws ProfitMandiBusinessException;
|
| 24 |
|
23 |
|
| 25 |
public void addPartnerToRegion(int regionId, List<Integer> fofoIds);
|
24 |
void addPartnerToRegion(int regionId, List<Integer> fofoIds);
|
| 26 |
|
25 |
|
| 27 |
public Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
26 |
Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
| 28 |
|
27 |
|
| 29 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
|
28 |
Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
|
| 30 |
|
29 |
|
| 31 |
public Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
30 |
Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
| 32 |
|
31 |
|
| 33 |
public List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
32 |
List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
| 34 |
|
33 |
|
| 35 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
34 |
Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
| 36 |
|
35 |
|
| 37 |
public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
36 |
Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
| 38 |
|
37 |
|
| 39 |
public Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
|
38 |
Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
|
| 40 |
|
39 |
|
| 41 |
public Map<Integer, List<CustomRetailer>> getRegionPartners(List<Position> position);
|
40 |
Map<Integer, List<CustomRetailer>> getRegionPartners(List<Position> position);
|
| 42 |
|
41 |
|
| 43 |
public Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
|
42 |
Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
|
| 44 |
|
43 |
|
| 45 |
public Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
|
44 |
Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
|
| 46 |
|
45 |
|
| 47 |
public void updateTicket(int categoryId, int subCategoryId, Ticket ticket) throws ProfitMandiBusinessException;
|
46 |
void updateTicket(int categoryId, int subCategoryId, Ticket ticket) throws ProfitMandiBusinessException;
|
| 48 |
|
47 |
|
| 49 |
public Map<String, Set<String>> getAuthUserPartnerEmailMapping();
|
48 |
Map<String, Set<String>> getAuthUserPartnerEmailMapping();
|
| 50 |
|
49 |
|
| 51 |
public Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
|
50 |
Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
|
| 52 |
|
51 |
|
| 53 |
public Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
|
52 |
Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
|
| 54 |
|
53 |
|
| 55 |
public List<String> getAuthUserByPartnerId(int fofoId);
|
54 |
List<String> getAuthUserByPartnerId(int fofoId);
|
| 56 |
|
55 |
|
| 57 |
public List<AuthUser> getAuthUserIdByPartnerId(int fofoId);
|
56 |
List<AuthUser> getAuthUserIdByPartnerId(int fofoId);
|
| 58 |
|
57 |
|
| 59 |
public Map<EscalationType, String> getAuthUserAndEsclationTypeByPartnerId(int fofoId);
|
58 |
Map<EscalationType, String> getAuthUserAndEsclationTypeByPartnerId(int fofoId);
|
| 60 |
|
59 |
|
| 61 |
public Map<Integer, List<Integer>> getL2L1Mapping();
|
60 |
Map<Integer, List<Integer>> getL2L1Mapping();
|
| 62 |
|
61 |
|
| 63 |
int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId);
|
62 |
int getAuthUserId(int categoryId, EscalationType escalationType, int fofoId);
|
| 64 |
|
63 |
|
| 65 |
List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
|
64 |
List<AuthUser> getAuthUserIds(int categoryId, List<EscalationType> escalationType);
|
| 66 |
|
65 |
|
| 67 |
public List<AuthUser> getAuthUserByCategoryId(int categoryId);
|
66 |
List<AuthUser> getAuthUserByCategoryId(int categoryId);
|
| 68 |
|
67 |
|
| 69 |
void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
|
68 |
void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
|
| 70 |
|
69 |
|
| 71 |
Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
|
70 |
Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
|
| 72 |
|
71 |
|
| 73 |
public Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId);
|
72 |
Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId);
|
| 74 |
|
73 |
|
| 75 |
Activity createActivity(ActivityType activityType, String message, int createdBy);
|
74 |
Activity createActivity(ActivityType activityType, String message, int createdBy);
|
| 76 |
|
75 |
|
| 77 |
List<AuthUser> getAuthUserByCategoryId(int categoryId, EscalationType escalationType);
|
76 |
List<AuthUser> getAuthUserByCategoryId(int categoryId, EscalationType escalationType);
|
| 78 |
|
77 |
|
| 79 |
public Map<Integer, FofoReportingModel> getPartnerIdSalesHeaders();
|
78 |
Map<Integer, FofoReportingModel> getPartnerIdSalesHeaders();
|
| 80 |
|
79 |
|
| 81 |
public Map<String, Set<Integer>> getAuthUserPartnerIdMappingByCategoryIds(List<Integer> categoryIds,boolean activeOnly);
|
80 |
Map<String, Set<Integer>> getAuthUserPartnerIdMappingByCategoryIds(List<Integer> categoryIds, boolean activeOnly);
|
| 82 |
|
81 |
|
| 83 |
Set<Integer> getAuthFofoIds(String email,boolean active) throws ProfitMandiBusinessException;
|
- |
|
| 84 |
|
82 |
|
| 85 |
}
|
83 |
}
|