Package com.espacogeek.geek.repositories
Interface ExternalReferenceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ExternalReferenceModel,,Integer> org.springframework.data.jpa.repository.JpaRepository<ExternalReferenceModel,,Integer> org.springframework.data.repository.ListCrudRepository<ExternalReferenceModel,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<ExternalReferenceModel,,Integer> org.springframework.data.repository.PagingAndSortingRepository<ExternalReferenceModel,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<ExternalReferenceModel>,org.springframework.data.repository.Repository<ExternalReferenceModel,Integer>
@Repository
public interface ExternalReferenceRepository
extends org.springframework.data.jpa.repository.JpaRepository<ExternalReferenceModel,Integer>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanfindAllByMedia(MediaModel media) findAllByMediaIn(Collection<MediaModel> medias) findByMedia(MediaModel media) findByReferenceAndTypeReference(String reference, TypeReferenceModel typeReference) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByReferenceAndTypeReference
Optional<ExternalReferenceModel> findByReferenceAndTypeReference(String reference, TypeReferenceModel typeReference) -
findByMedia
-
findAllByMedia
-
findAllByMediaIn
-
existsByMediaId
-