Subversion Repositories SmartDukaan

Rev

Rev 24543 | Rev 24699 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
24439 govind 11
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
24383 amit.gupta 12
 
13
@Repository
14
public interface TicketRepository {
15
	void persist(Ticket ticket);
16
	Ticket selectById(int ticketId);
17
	List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);
24543 tejbeer 18
	List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved,int offset, int limit);
24383 amit.gupta 19
	List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);
20
	List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
21
	List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
22
	List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
24417 govind 23
	public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
24439 govind 24
	public List<Ticket> selectAllByEscalatedUserType(int authUser,EscalationType escalationType,int offset,int limit);
25
	public long selectAllCountByEscalatedUserType(int authUser,EscalationType escalationType);
26
	public Long selectAllCount();
24538 govind 27
	public List<Ticket> selectAllNotClosedTickets();
28
	public List<Ticket> selectAllByAssignee(int assigneeId,Optional<Boolean> resolved,SortOrder sortOrder,int offset,int limit);
24543 tejbeer 29
	public List<Ticket> selectAllByTicketIds(List<Integer> ticketIds);
24538 govind 30
	public long selectAllCountByAssignee(int assigneeId,Optional<Boolean> resolved);
24570 govind 31
	public List<Ticket> selectAllByEscalatedUserType(int authUserId, int offset, int limit);
32
	public long selectAllCountByEscalatedUserType(int authUserId);
24500 govind 33
 
24439 govind 34
}