Package org.localify.repositories
Interface ArtistSongRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ArtistSong,,UUID> org.springframework.data.jpa.repository.JpaRepository<ArtistSong,,UUID> org.springframework.data.repository.ListCrudRepository<ArtistSong,,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<ArtistSong,,UUID> org.springframework.data.repository.PagingAndSortingRepository<ArtistSong,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<ArtistSong>,org.springframework.data.repository.Repository<ArtistSong,UUID>
public interface ArtistSongRepository
extends org.springframework.data.jpa.repository.JpaRepository<ArtistSong,UUID>
Repository for
ArtistSong entities.-
Method Summary
Modifier and TypeMethodDescriptiongetByArtistAndSong(Artist artist, Song song) Finds an artist-song relationship by artist and song.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
-
getByArtistAndSong
Finds an artist-song relationship by artist and song.- Parameters:
artist- The artist.song- The song.- Returns:
- An optional containing the artist-song relationship if found, otherwise empty.
-