Rev 24383 | Rev 24439 | 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;@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> 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);}