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