Rev 24439 | Rev 24538 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository.cs;import java.util.List;import java.util.Optional;import org.springframework.stereotype.Repository;import com.spice.profitmandi.dao.entity.cs.Ticket;import com.spice.profitmandi.dao.enumuration.cs.EscalationType;@Repositorypublic interface TicketRepository {void persist(Ticket ticket);Ticket selectById(int ticketId);List<Ticket> selectAllByAssignee(int assigneeId, Optional<Boolean> resolved, int offset, int limit);List<Ticket> SelectAllByTicketIds(List<Integer> ticketIds);List<Ticket> selectAllByCreator(int creatorId, Optional<Boolean> resolved, int offset, int limit);List<Ticket> selectAll(int offset, int limit, Optional<Boolean> resolved);List<Ticket> selectAllEscalated(Optional<Boolean> resolved, int offset, int limit);List<Ticket> selectAllEscalatedByCreator(int fofoId, Optional<Boolean> resolved, int offset, int limit);List<Ticket> selectAllEscalatedByAssignee(int assigneId, Optional<Boolean> resolved, int offset, int limit);public long selectAllCountByAssignee(int assigneeId, Optional<Boolean> resolved);public long selectAllCountByCreator(int creatorId, Optional<Boolean> resolved);public List<Ticket> selectAllByEscalatedUserType(int authUser,EscalationType escalationType,int offset,int limit);public long selectAllCountByEscalatedUserType(int authUser,EscalationType escalationType);public Long selectAllCount();}