Package com.bytedesk.ai.provider
Interface LlmProviderRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<LlmProviderEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<LlmProviderEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<LlmProviderEntity>
,org.springframework.data.repository.ListCrudRepository<LlmProviderEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<LlmProviderEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<LlmProviderEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<LlmProviderEntity>
,org.springframework.data.repository.Repository<LlmProviderEntity,
Long>
public interface LlmProviderRepository
extends org.springframework.data.jpa.repository.JpaRepository<LlmProviderEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<LlmProviderEntity>
-
Method Summary
Modifier and TypeMethodDescriptionexistsByNameAndLevel
(String name, String level) existsByNameAndLevelAndOrgUidAndDeletedFalse
(String name, String level, String orgUid) findByNameAndLevel
(String name, String level) findByNameAndLevelAndOrgUidAndDeletedFalse
(String name, String level, String orgUid) findByStatusAndLevelAndDeletedFalse
(String status, String level) 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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOne
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
findByNameAndLevel
-
findByNameAndLevelAndOrgUidAndDeletedFalse
Optional<LlmProviderEntity> findByNameAndLevelAndOrgUidAndDeletedFalse(String name, String level, String orgUid) -
existsByNameAndLevel
-
existsByNameAndLevelAndOrgUidAndDeletedFalse
-
findByStatusAndLevelAndDeletedFalse
-