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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionexistsByTypeAndLevelAndDeletedFalse(String type, String level) existsByTypeAndLevelAndOrgUidAndDeletedFalse(String type, String level, String orgUid) existsByTypeAndLevelAndStatusAndDeletedFalse(String type, String level, String status) findByStatusAndLevelAndDeletedFalse(String status, String level) findByTypeAndLevelAndDeletedFalse(String type, String level) findByTypeAndLevelAndOrgUidAndDeletedFalse(String type, String level, String orgUid) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
findByTypeAndLevelAndDeletedFalse
-
findByTypeAndLevelAndOrgUidAndDeletedFalse
Optional<LlmProviderEntity> findByTypeAndLevelAndOrgUidAndDeletedFalse(String type, String level, String orgUid) -
existsByTypeAndLevelAndDeletedFalse
-
existsByTypeAndLevelAndStatusAndDeletedFalse
-
existsByTypeAndLevelAndOrgUidAndDeletedFalse
-
findByStatusAndLevelAndDeletedFalse
-