Interface TicketRepository
-
- All Superinterfaces:
EntityRepository<Ticket>
,WithSaveAndFlush<Ticket>
- All Known Implementing Classes:
TicketJpaRepository
public interface TicketRepository extends EntityRepository<Ticket>, WithSaveAndFlush<Ticket>
- Author:
- ehugonnet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
countAllReservationsForUser(String userId)
void
deleteAllTicketsForComponentInstance(String instanceId)
SilverpeasList<Ticket>
findAllReservationsForUser(String userId, PaginationCriterion paginationCriterion, Ticket.QUERY_ORDER_BY orderBy)
List<Ticket>
findAllTicketForSharedObjectId(Long sharedObjectId, String ticketType)
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush
saveAndFlush
-
-
-
-
Method Detail
-
findAllTicketForSharedObjectId
List<Ticket> findAllTicketForSharedObjectId(Long sharedObjectId, String ticketType)
-
countAllReservationsForUser
long countAllReservationsForUser(String userId)
-
findAllReservationsForUser
SilverpeasList<Ticket> findAllReservationsForUser(String userId, PaginationCriterion paginationCriterion, Ticket.QUERY_ORDER_BY orderBy)
-
deleteAllTicketsForComponentInstance
void deleteAllTicketsForComponentInstance(String instanceId)
-
-