Interface CategoryRepository
-
- All Superinterfaces:
CrudRepository<Category,UUID>
,JpaRepository<Category,UUID>
,PagingAndSortingRepository<Category,UUID>
,QueryByExampleExecutor<Category>
,Repository<Category,UUID>
public interface CategoryRepository extends JpaRepository<Category,UUID>
This interface defines various methods that can be used to query the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Category>
findByExternalKey(UUID externalKey)
Returns aCategory
object that matches the external key.-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
-
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
-