Interface TurSNSiteSpotlightRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurSNSiteSpotlight,,String> org.springframework.data.jpa.repository.JpaRepository<TurSNSiteSpotlight,,String> org.springframework.data.repository.ListCrudRepository<TurSNSiteSpotlight,,String> org.springframework.data.repository.ListPagingAndSortingRepository<TurSNSiteSpotlight,,String> org.springframework.data.repository.PagingAndSortingRepository<TurSNSiteSpotlight,,String> org.springframework.data.repository.query.QueryByExampleExecutor<TurSNSiteSpotlight>,org.springframework.data.repository.Repository<TurSNSiteSpotlight,String>
public interface TurSNSiteSpotlightRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurSNSiteSpotlight,String>
- Since:
- 0.3.4
- Author:
- Alexandre Oliveira
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(@NotNull TurSNSiteSpotlight turSNSiteSpotlight) findByProvider(String provider) findByTurSNSite(org.springframework.data.domain.Sort orders, TurSNSite turSNSite) findByTurSNSiteAndLanguage(TurSNSite turSNSite, Locale language) findByUnmanagedIdAndTurSNSiteAndLanguage(String unmanagedId, TurSNSite turSNSite, Locale language) @NotNull TurSNSiteSpotlightsave(@NotNull TurSNSiteSpotlight turSNSiteSpotlight) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findByIdMethods 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
-
Field Details
-
FIND_BY_UNMANAGED_ID_AND_TUR_SN_SITE_AND_LANGUAGE
- See Also:
-
FIND_BY_TUR_SN_SITE_AND_LANGUAGE
- See Also:
-
FIND_BY_TUR_SN_SITE
- See Also:
-
FIND_BY_PROVIDER
- See Also:
-
-
Method Details
-
findByUnmanagedIdAndTurSNSiteAndLanguage
@Cacheable("turSNSiteSpotlightFindByUnmanagedIdAndTurSNSiteAndLanguage") Set<TurSNSiteSpotlight> findByUnmanagedIdAndTurSNSiteAndLanguage(String unmanagedId, TurSNSite turSNSite, Locale language) -
findByTurSNSiteAndLanguage
@Cacheable("turSNSiteSpotlightFindByTurSNSiteAndLanguage") List<TurSNSiteSpotlight> findByTurSNSiteAndLanguage(TurSNSite turSNSite, Locale language) -
findByTurSNSite
@Cacheable("turSNSiteSpotlightFindByTurSNSite") List<TurSNSiteSpotlight> findByTurSNSite(org.springframework.data.domain.Sort orders, TurSNSite turSNSite) -
findByProvider
@Cacheable("turSNSiteSpotlightFindByProvider") Set<TurSNSiteSpotlight> findByProvider(String provider) -
save
@CacheEvict(value={"turSNSiteSpotlightFindByUnmanagedIdAndTurSNSiteAndLanguage","turSNSiteSpotlightFindByTurSNSiteAndLanguage","turSNSiteSpotlightFindByTurSNSite","turSNSiteSpotlightFindByProvider"}, allEntries=true) @NotNull @NotNull TurSNSiteSpotlight save(@NotNull @NotNull TurSNSiteSpotlight turSNSiteSpotlight) - Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<TurSNSiteSpotlight,String>
-
delete
@CacheEvict(value={"turSNSiteSpotlightFindByUnmanagedIdAndTurSNSiteAndLanguage","turSNSiteSpotlightFindByTurSNSiteAndLanguage","turSNSiteSpotlightFindByTurSNSite","turSNSiteSpotlightFindByProvider"}, allEntries=true) void delete(@NotNull @NotNull TurSNSiteSpotlight turSNSiteSpotlight) - Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<TurSNSiteSpotlight,String>
-