| 24383 |
amit.gupta |
1 |
package com.spice.profitmandi.dao.repository.cs;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
import java.util.Optional;
|
|
|
5 |
|
|
|
6 |
import org.springframework.stereotype.Repository;
|
|
|
7 |
|
|
|
8 |
import com.spice.profitmandi.dao.entity.cs.Ticket;
|
|
|
9 |
|
|
|
10 |
@Repository
|
|
|
11 |
public interface TicketRepository {
|
|
|
12 |
void persist(Ticket ticket);
|
|
|
13 |
Ticket selectById(int ticketId);
|
|
|
14 |
List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);
|
|
|
15 |
List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved, int offset, int limit);
|
|
|
16 |
List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);
|
|
|
17 |
List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
|
|
|
18 |
List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
|
|
|
19 |
List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
|
| 24417 |
govind |
20 |
public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);
|
|
|
21 |
public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
|
| 24383 |
amit.gupta |
22 |
}
|