Interface TurSEInstanceRepository
- All Superinterfaces:
CrudRepository<TurSEInstance,,String> JpaRepository<TurSEInstance,,String> ListCrudRepository<TurSEInstance,,String> ListPagingAndSortingRepository<TurSEInstance,,String> PagingAndSortingRepository<TurSEInstance,,String> QueryByExampleExecutor<TurSEInstance>,Repository<TurSEInstance,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoidfindAll()@NotNull Optional<TurSEInstance> @NotNull TurSEInstancesave(@NotNull TurSEInstance turSEInstance) Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsByIdMethods inherited from interface JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface ListCrudRepository
findAllById, saveAllMethods inherited from interface ListPagingAndSortingRepository
findAllMethods inherited from interface PagingAndSortingRepository
findAllMethods inherited from interface QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAllin interfaceCrudRepository<TurSEInstance,String> - Specified by:
findAllin interfaceListCrudRepository<TurSEInstance,String>
-
findById
@Cacheable("turSEInstancefindById") @NotNull @NotNull Optional<TurSEInstance> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceCrudRepository<TurSEInstance,String>
-
save
@CacheEvict(value={"turSEInstancefindAll","turSEInstancefindById"}, allEntries=true) @NotNull @NotNull TurSEInstance save(@NotNull @NotNull TurSEInstance turSEInstance) - Specified by:
savein interfaceCrudRepository<TurSEInstance,String>
-
delete
@Modifying @Query("delete from TurSEInstance si where si.id = ?1") @CacheEvict(value={"turSEInstancefindAll","turSEInstancefindById"}, allEntries=true) void delete(String id)
-