Package org.tailormap.api.repository
Interface UploadRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Upload,
,UUID> org.springframework.data.jpa.repository.JpaRepository<Upload,
,UUID> org.springframework.data.repository.ListCrudRepository<Upload,
,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<Upload,
,UUID> org.springframework.data.repository.PagingAndSortingRepository<Upload,
,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<Upload>
,org.springframework.data.repository.Repository<Upload,
UUID>
-
Method Summary
Modifier and TypeMethodDescriptionfindByCategory
(String category) findByIdAndCategory
(UUID id, String category) findWithContentByIdAndCategory
(UUID id, String category) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findLastModifiedById
@PreAuthorize("permitAll()") @NonNull @Query("select lastModified from Upload where id = :id") Optional<OffsetDateTime> findLastModifiedById(@NonNull UUID id) -
findByIdAndCategory
-
findWithContentByIdAndCategory
-
findByCategory
-