Interface TurStoreInstanceRepository
- All Superinterfaces:
CrudRepository<TurStoreInstance,
,String> JpaRepository<TurStoreInstance,
,String> ListCrudRepository<TurStoreInstance,
,String> ListPagingAndSortingRepository<TurStoreInstance,
,String> PagingAndSortingRepository<TurStoreInstance,
,String> QueryByExampleExecutor<TurStoreInstance>
,Repository<TurStoreInstance,
String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findAll()
@NotNull Optional
<TurStoreInstance> @NotNull TurStoreInstance
save
(@NotNull TurStoreInstance turStoreInstance) 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<TurStoreInstance,
String> - Specified by:
findAll
in interfaceListCrudRepository<TurStoreInstance,
String>
-
findById
@Cacheable("turStoreInstancefindById") @NotNull @NotNull Optional<TurStoreInstance> findById(@NotNull @NotNull String id) - Specified by:
findById
in interfaceCrudRepository<TurStoreInstance,
String>
-
save
@CacheEvict(value={"turStoreInstancefindAll","turStoreInstancefindById"}, allEntries=true) @NotNull @NotNull TurStoreInstance save(@NotNull @NotNull TurStoreInstance turStoreInstance) - Specified by:
save
in interfaceCrudRepository<TurStoreInstance,
String>
-
delete
@Modifying @Query("delete from TurStoreInstance si where si.id = ?1") @CacheEvict(value={"turStoreInstancefindAll","turStoreInstancefindById"}, allEntries=true) void delete(String id)
-