Subversion Repositories SmartDukaan

Rev

Rev 24439 | Rev 24538 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24439 Rev 24500
Line 11... Line 11...
11
@Repository
11
@Repository
12
public interface TicketRepository {
12
public interface TicketRepository {
13
	void persist(Ticket ticket);
13
	void persist(Ticket ticket);
14
	Ticket selectById(int ticketId);
14
	Ticket selectById(int ticketId);
15
	List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);
15
	List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);
-
 
16
	List<Ticket> SelectAllByTicketIds(List<Integer> ticketIds);
16
	List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved, int offset, int limit);
17
	List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved, int offset, int limit);
17
	List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);
18
	List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);
18
	List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
19
	List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
19
	List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
20
	List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
20
	List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
21
	List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
21
	public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);
22
	public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);
22
	public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
23
	public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
23
	public List<Ticket> selectAllByEscalatedUserType(int authUser,EscalationType escalationType,int offset,int limit);
24
	public List<Ticket> selectAllByEscalatedUserType(int authUser,EscalationType escalationType,int offset,int limit);
24
	public long selectAllCountByEscalatedUserType(int authUser,EscalationType escalationType);
25
	public long selectAllCountByEscalatedUserType(int authUser,EscalationType escalationType);
25
	public Long selectAllCount();
26
	public Long selectAllCount();
-
 
27
	
26
}
28
}
27
29