| 24383 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.cs;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
import java.util.Optional;
|
|
|
5 |
|
| 24538 |
govind |
6 |
import javax.swing.SortOrder;
|
|
|
7 |
|
| 24383 |
amit.gupta |
8 |
import org.springframework.stereotype.Repository;
|
|
|
9 |
|
|
|
10 |
import com.spice.profitmandi.dao.entity.cs.Ticket;
|
| 24699 |
govind |
11 |
import com.spice.profitmandi.dao.entity.cs.TicketSearchType;
|
| 26283 |
tejbeer |
12 |
import com.spice.profitmandi.dao.entity.fofo.ActivityType;
|
| 24439 |
govind |
13 |
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
|
| 24383 |
amit.gupta |
14 |
|
|
|
15 |
@Repository
|
|
|
16 |
public interface TicketRepository {
|
|
|
17 |
void persist(Ticket ticket);
|
| 26283 |
tejbeer |
18 |
|
| 24383 |
amit.gupta |
19 |
Ticket selectById(int ticketId);
|
| 26283 |
tejbeer |
20 |
|
| 24383 |
amit.gupta |
21 |
List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);
|
| 26283 |
tejbeer |
22 |
|
|
|
23 |
List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved, SortOrder sortOrder, int offset,
|
|
|
24 |
int limit);
|
|
|
25 |
|
| 24383 |
amit.gupta |
26 |
List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);
|
| 26283 |
tejbeer |
27 |
|
| 24383 |
amit.gupta |
28 |
List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
|
| 26283 |
tejbeer |
29 |
|
| 24383 |
amit.gupta |
30 |
List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
|
| 26283 |
tejbeer |
31 |
|
| 24383 |
amit.gupta |
32 |
List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
|
| 26283 |
tejbeer |
33 |
|
| 24417 |
govind |
34 |
public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
|
| 26283 |
tejbeer |
35 |
|
|
|
36 |
public List<Ticket> selectAllByEscalatedUserType(int authUser, EscalationType escalationType, int offset,
|
|
|
37 |
int limit);
|
|
|
38 |
|
|
|
39 |
public long selectAllCountByEscalatedUserType(int authUser, EscalationType escalationType);
|
|
|
40 |
|
| 24439 |
govind |
41 |
public Long selectAllCount();
|
| 26283 |
tejbeer |
42 |
|
| 24538 |
govind |
43 |
public List<Ticket> selectAllNotClosedTickets();
|
| 26283 |
tejbeer |
44 |
|
|
|
45 |
public List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, SortOrder sortOrder,
|
|
|
46 |
TicketSearchType ticketSearchType, int searchTerm, int offset, int limit);
|
|
|
47 |
|
| 24543 |
tejbeer |
48 |
public List<Ticket> selectAllByTicketIds(List<Integer> ticketIds);
|
| 26283 |
tejbeer |
49 |
|
|
|
50 |
public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved, TicketSearchType ticketSearchType,
|
|
|
51 |
int searchTerm);
|
|
|
52 |
|
|
|
53 |
public List<Ticket> selectAllManagerTicket(int authUserId, SortOrder sortOrder, Optional<Boolean> resolved,
|
|
|
54 |
TicketSearchType ticketSearchType, int searchTerm, int offset, int limit);
|
|
|
55 |
|
|
|
56 |
public long selectAllCountByManagerTicket(int authUserId, Optional<Boolean> resolved,
|
|
|
57 |
TicketSearchType ticketSearchType, int searchTerm);
|
|
|
58 |
|
|
|
59 |
public List<Ticket> selectAllResolvedMarkedTicketByCreator(int assigneeId);
|
|
|
60 |
|
|
|
61 |
public List<Ticket> selectAllNotClosedTicketsWithStatus(ActivityType activityType);
|
| 24439 |
govind |
62 |
}
|