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 TypeMethodDescriptionvoid
findAll()
@NotNull Optional
<TurSEInstance> @NotNull TurSEInstance
save
(@NotNull TurSEInstance turSEInstance) Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById
Methods inherited from interface JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface ListCrudRepository
findAllById, saveAll
Methods inherited from interface ListPagingAndSortingRepository
findAll
Methods inherited from interface PagingAndSortingRepository
findAll
Methods inherited from interface QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAll
- Specified by:
findAll
in interfaceCrudRepository<TurSEInstance,
String> - Specified by:
findAll
in interfaceListCrudRepository<TurSEInstance,
String>
-
findById
@Cacheable("turSEInstancefindById") @NotNull @NotNull Optional<TurSEInstance> findById(@NotNull @NotNull String id) - Specified by:
findById
in interfaceCrudRepository<TurSEInstance,
String>
-
save
@CacheEvict(value={"turSEInstancefindAll","turSEInstancefindById"}, allEntries=true) @NotNull @NotNull TurSEInstance save(@NotNull @NotNull TurSEInstance turSEInstance) - Specified by:
save
in interfaceCrudRepository<TurSEInstance,
String>
-
delete
@Modifying @Query("delete from TurSEInstance si where si.id = ?1") @CacheEvict(value={"turSEInstancefindAll","turSEInstancefindById"}, allEntries=true) void delete(String id)
-