| 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;
|
| 24383 |
amit.gupta |
19 |
|
|
|
20 |
@Service
|
|
|
21 |
public interface CsService {
|
| 24500 |
govind |
22 |
// Sends happy code to customer
|
| 24383 |
amit.gupta |
23 |
void addActivity(int ticketId, Activity activity);
|
| 24500 |
govind |
24 |
|
|
|
25 |
void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
|
|
|
26 |
throws ProfitMandiBusinessException;
|
|
|
27 |
|
|
|
28 |
public void addPartnerToRegion(int regionId, List<Integer> fofoIds);
|
|
|
29 |
|
|
|
30 |
public Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
|
|
31 |
|
|
|
32 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
|
|
|
33 |
|
|
|
34 |
public Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
|
|
35 |
|
| 24439 |
govind |
36 |
public List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
| 24500 |
govind |
37 |
|
| 24471 |
govind |
38 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
| 24500 |
govind |
39 |
|
| 24471 |
govind |
40 |
public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
| 24500 |
govind |
41 |
|
|
|
42 |
public Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
|
| 25721 |
tejbeer |
43 |
|
|
|
44 |
public Map<Integer, List<CustomRetailer>> getpositionIdAndpartnerRegionMap(List<Position> position);
|
|
|
45 |
|
| 25570 |
tejbeer |
46 |
public Map<Integer, List<CustomRetailer>> getPositionCustomRetailerMap(List<Position> position);
|
| 24500 |
govind |
47 |
|
|
|
48 |
public Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
|
| 25721 |
tejbeer |
49 |
|
|
|
50 |
public Map<Integer, List<AuthUser>> getAuthUserList(List<Ticket> tickets, AuthUser authUser);
|
|
|
51 |
|
|
|
52 |
public void updateTicket(int categoryId, int subCategoryId, Ticket ticket) throws ProfitMandiBusinessException;
|
|
|
53 |
|
|
|
54 |
public void sendAssignedTicketMail(AuthUser authUser, Ticket ticket) throws ProfitMandiBusinessException;
|
|
|
55 |
|
| 25597 |
amit.gupta |
56 |
public Map<String, Set<String>> getAuthUserPartnerEmailMapping();
|
| 25721 |
tejbeer |
57 |
|
|
|
58 |
public Map<String, Set<Integer>> getAuthUserPartnerIdMapping();
|
|
|
59 |
|
| 26298 |
tejbeer |
60 |
public Map<Integer, List<Integer>> getAuthUserIdPartnerIdMapping();
|
|
|
61 |
|
| 25721 |
tejbeer |
62 |
public List<String> getAuthUserByPartnerId(int fofoId);
|
|
|
63 |
|
| 26298 |
tejbeer |
64 |
public Map<Integer, List<Integer>> getL1L2Mapping();
|
|
|
65 |
|
| 26418 |
tejbeer |
66 |
public Map<Integer, Object> getL2AuthUserPartnerDetail() throws Exception;
|
|
|
67 |
|
| 24500 |
govind |
68 |
}
|