| 24383 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.cs;
|
|
|
2 |
|
| 24417 |
govind |
3 |
import java.util.List;
|
|
|
4 |
import java.util.Map;
|
| 25597 |
amit.gupta |
5 |
import java.util.Set;
|
| 24417 |
govind |
6 |
|
| 24383 |
amit.gupta |
7 |
import org.springframework.stereotype.Service;
|
|
|
8 |
|
| 24439 |
govind |
9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24417 |
govind |
10 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
|
|
11 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 24383 |
amit.gupta |
12 |
import com.spice.profitmandi.dao.entity.cs.Activity;
|
| 24471 |
govind |
13 |
import com.spice.profitmandi.dao.entity.cs.Position;
|
|
|
14 |
import com.spice.profitmandi.dao.entity.cs.Region;
|
| 24417 |
govind |
15 |
import com.spice.profitmandi.dao.entity.cs.Ticket;
|
| 24500 |
govind |
16 |
import com.spice.profitmandi.dao.entity.cs.TicketAssigned;
|
| 24439 |
govind |
17 |
import com.spice.profitmandi.dao.entity.cs.TicketCategory;
|
| 24417 |
govind |
18 |
import com.spice.profitmandi.dao.entity.cs.TicketSubCategory;
|
| 26978 |
tejbeer |
19 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
| 24383 |
amit.gupta |
20 |
|
|
|
21 |
@Service
|
|
|
22 |
public interface CsService {
|
| 24500 |
govind |
23 |
// Sends happy code to customer
|
| 24383 |
amit.gupta |
24 |
void addActivity(int ticketId, Activity activity);
|
| 24500 |
govind |
25 |
|
|
|
26 |
void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
|
|
|
27 |
throws ProfitMandiBusinessException;
|
|
|
28 |
|
|
|
29 |
public void addPartnerToRegion(int regionId, List<Integer> fofoIds);
|
|
|
30 |
|
|
|
31 |
public Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
|
|
32 |
|
|
|
33 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
|
|
|
34 |
|
|
|
35 |
public Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
|
|
36 |
|
| 24439 |
govind |
37 |
public List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
| 24500 |
govind |
38 |
|
| 24471 |
govind |
39 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
| 24500 |
govind |
40 |
|
| 24471 |
govind |
41 |
public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
| 24500 |
govind |
42 |
|
|
|
43 |
public Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
|
| 25721 |
tejbeer |
44 |
|
|
|
45 |
public Map<Integer, List<CustomRetailer>> getpositionIdAndpartnerRegionMap(List<Position> position);
|
|
|
46 |
|
| 25570 |
tejbeer |
47 |
public Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
|
| 24500 |
govind |
48 |
|
|
|
49 |
public Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
|
| 25721 |
tejbeer |
50 |
|
|
|
51 |
public Map<Integer, List<AuthUser>> getAuthUserList(List<Ticket> tickets, AuthUser authUser);
|
|
|
52 |
|
|
|
53 |
public void updateTicket(int categoryId, int subCategoryId, Ticket ticket) throws ProfitMandiBusinessException;
|
|
|
54 |
|
|
|
55 |
public void sendAssignedTicketMail(AuthUser authUser, Ticket ticket) throws ProfitMandiBusinessException;
|
|
|
56 |
|
| 25597 |
amit.gupta |
57 |
public Map<String, Set<String>> getAuthUserPartnerEmailMapping();
|
| 25721 |
tejbeer |
58 |
|
|
|
59 |
public Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
|
|
|
60 |
|
| 26298 |
tejbeer |
61 |
public Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
|
|
|
62 |
|
| 25721 |
tejbeer |
63 |
public List<String> getAuthUserByPartnerId(int fofoId);
|
|
|
64 |
|
| 26978 |
tejbeer |
65 |
public Map<EscalationType, String> getAuthUserAndEsclationTypeByPartnerId(int fofoId);
|
|
|
66 |
|
| 26460 |
amit.gupta |
67 |
public Map<Integer, List<Integer>> getL2L1Mapping();
|
| 26298 |
tejbeer |
68 |
|
| 24500 |
govind |
69 |
}
|