| Line 100... |
Line 100... |
| 100 |
|
100 |
|
| 101 |
void assignTicket(Ticket ticket,int currentUserId) throws ProfitMandiBusinessException;
|
101 |
void assignTicket(Ticket ticket,int currentUserId) throws ProfitMandiBusinessException;
|
| 102 |
|
102 |
|
| 103 |
void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
|
103 |
void assignTicket(Ticket ticket) throws ProfitMandiBusinessException;
|
| 104 |
|
104 |
|
| - |
|
105 |
/**
|
| - |
|
106 |
* True if authId has ever been an assignee on the given ticket (any escalation level, including
|
| - |
|
107 |
* the initial L1 assignment). Reads from ticket_assigned history.
|
| - |
|
108 |
*/
|
| - |
|
109 |
boolean isInEscalationChain(int ticketId, int authId);
|
| - |
|
110 |
|
| - |
|
111 |
/**
|
| - |
|
112 |
* Batch variant of {@link #isInEscalationChain}. Returns the subset of ticketIds where authId
|
| - |
|
113 |
* has been an assignee at some point. Use this for dashboards / list views to avoid N+1.
|
| - |
|
114 |
*/
|
| - |
|
115 |
Set<Integer> ticketsInEscalationChain(int authId, List<Integer> ticketIds);
|
| - |
|
116 |
|
| 105 |
Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
|
117 |
Map<Integer, List<AuthUser>> getAssignedAuthList(List<Ticket> tickets);
|
| 106 |
|
118 |
|
| 107 |
Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId) throws ProfitMandiBusinessException;
|
119 |
Map<EscalationType, AuthUser> getAuthUserAndEsclationByPartnerId(int fofoId) throws ProfitMandiBusinessException;
|
| 108 |
|
120 |
|
| 109 |
// Batch method to fetch auth user escalations for all fofoIds at once
|
121 |
// Batch method to fetch auth user escalations for all fofoIds at once
|