Interface DownloadDetailRepository
-
- All Superinterfaces:
EntityRepository<DownloadDetail>
,WithSaveAndFlush<DownloadDetail>
- All Known Implementing Classes:
DownloadDetailJpaRepository
public interface DownloadDetailRepository extends EntityRepository<DownloadDetail>, WithSaveAndFlush<DownloadDetail>
- Author:
- ehugonnet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
deleteDownloadsByTicket(Ticket ticket)
Gets paginated ticket downloads.SilverpeasList<DownloadDetail>
getDownloadsByTicket(Ticket ticket, PaginationCriterion paginationCriterion, DownloadDetail.QUERY_ORDER_BY orderBy)
Gets paginated ticket downloads.-
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
-
getDownloadsByTicket
SilverpeasList<DownloadDetail> getDownloadsByTicket(Ticket ticket, PaginationCriterion paginationCriterion, DownloadDetail.QUERY_ORDER_BY orderBy)
Gets paginated ticket downloads.- Parameters:
ticket
- a ticket.paginationCriterion
- a pagination.orderBy
- an optional order by.- Returns:
- a paginated list of downloads.
-
deleteDownloadsByTicket
long deleteDownloadsByTicket(Ticket ticket)
Gets paginated ticket downloads.- Parameters:
paginationCriterion
- a pagination.orderBy
- an optional order by.ticket
- a ticket.- Returns:
- a paginated list of downloads.
-
-