Subversion Repositories SmartDukaan

Rev

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

Rev 24417 Rev 24439
Line 4... Line 4...
4
import java.util.Optional;
4
import java.util.Optional;
5
 
5
 
6
import org.springframework.stereotype.Repository;
6
import org.springframework.stereotype.Repository;
7
 
7
 
8
import com.spice.profitmandi.dao.entity.cs.Ticket;
8
import com.spice.profitmandi.dao.entity.cs.Ticket;
-
 
9
import com.spice.profitmandi.dao.enumuration.cs.EscalationType;
9
 
10
 
10
@Repository
11
@Repository
11
public interface TicketRepository {
12
public interface TicketRepository {
12
	void persist(Ticket ticket);
13
	void persist(Ticket ticket);
13
	Ticket selectById(int ticketId);
14
	Ticket selectById(int ticketId);
Line 17... Line 18...
17
	List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);
18
	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> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);
19
	List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
20
	List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);
20
	public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);
21
	public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);
21
	public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
22
	public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);
-
 
23
	public List<Ticket> selectAllByEscalatedUserType(int authUser,EscalationType escalationType,int offset,int limit);
-
 
24
	public long selectAllCountByEscalatedUserType(int authUser,EscalationType escalationType);
-
 
25
	public Long selectAllCount();
22
}
26
}
23
27