Subversion Repositories SmartDukaan

Rev

Rev 24417 | Go to most recent revision | Details | 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
 
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);
20
}