| 24383 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.cs;
|
|
|
2 |
|
| 24417 |
govind |
3 |
import java.util.List;
|
|
|
4 |
import java.util.Map;
|
| 24699 |
govind |
5 |
import java.util.Optional;
|
| 24417 |
govind |
6 |
|
| 24699 |
govind |
7 |
import javax.swing.SortOrder;
|
|
|
8 |
|
| 24383 |
amit.gupta |
9 |
import org.springframework.stereotype.Service;
|
|
|
10 |
|
| 24439 |
govind |
11 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24417 |
govind |
12 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
|
|
13 |
import com.spice.profitmandi.dao.entity.auth.AuthUser;
|
| 24383 |
amit.gupta |
14 |
import com.spice.profitmandi.dao.entity.cs.Activity;
|
| 24471 |
govind |
15 |
import com.spice.profitmandi.dao.entity.cs.Position;
|
|
|
16 |
import com.spice.profitmandi.dao.entity.cs.Region;
|
| 24417 |
govind |
17 |
import com.spice.profitmandi.dao.entity.cs.Ticket;
|
| 24500 |
govind |
18 |
import com.spice.profitmandi.dao.entity.cs.TicketAssigned;
|
| 24439 |
govind |
19 |
import com.spice.profitmandi.dao.entity.cs.TicketCategory;
|
| 24699 |
govind |
20 |
import com.spice.profitmandi.dao.entity.cs.TicketSearchType;
|
| 24417 |
govind |
21 |
import com.spice.profitmandi.dao.entity.cs.TicketSubCategory;
|
| 24500 |
govind |
22 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
| 24383 |
amit.gupta |
23 |
|
|
|
24 |
@Service
|
|
|
25 |
public interface CsService {
|
| 24500 |
govind |
26 |
// Sends happy code to customer
|
| 24383 |
amit.gupta |
27 |
void addActivity(int ticketId, Activity activity);
|
| 24500 |
govind |
28 |
|
|
|
29 |
void createTicket(int fofoId, int categoryId, int subcategoryId, String message)
|
|
|
30 |
throws ProfitMandiBusinessException;
|
|
|
31 |
|
|
|
32 |
public void addPartnerToRegion(int regionId, List<Integer> fofoIds);
|
|
|
33 |
|
|
|
34 |
public Map<Integer, TicketSubCategory> getSubCategoryIdAndSubCategoryMap(List<Ticket> tickets);
|
|
|
35 |
|
|
|
36 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMap(List<TicketAssigned> ticketAssigneds);
|
|
|
37 |
|
|
|
38 |
public Map<Integer, CustomRetailer> getPartnerByFofoIds(List<Ticket> tickets);
|
|
|
39 |
|
| 24439 |
govind |
40 |
public List<TicketCategory> getAllTicketCategotyFromSubCategory();
|
| 24500 |
govind |
41 |
|
| 24471 |
govind |
42 |
public Map<Integer, AuthUser> getAuthUserIdAndAuthUserMapUsingPositions(List<Position> positions);
|
| 24500 |
govind |
43 |
|
| 24471 |
govind |
44 |
public Map<Integer, TicketCategory> getCategoryIdAndCategoryUsingPositions(List<Position> positions);
|
| 24500 |
govind |
45 |
|
|
|
46 |
public Map<Integer, Region> getRegionIdAndRegionMap(List<Position> positions);
|
|
|
47 |
|
|
|
48 |
public Map<Integer, AuthUser> getTicketIdAndAuthUserMapUsingTickets(List<Ticket> tickets);
|
|
|
49 |
|
| 24570 |
govind |
50 |
public Map<Integer,List<AuthUser>> getAuthUserList(List<Ticket> tickets,AuthUser authUser);
|
| 24500 |
govind |
51 |
|
|
|
52 |
public void updateTicket(int categoryId,int subCategoryId,Ticket ticket) throws ProfitMandiBusinessException;
|
| 24569 |
govind |
53 |
|
|
|
54 |
public void sendAssignedTicketMail(AuthUser authUser,Ticket ticket) throws ProfitMandiBusinessException;
|
| 24699 |
govind |
55 |
|
| 24500 |
govind |
56 |
}
|