Package com.bytedesk.core.category
Interface CategoryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CategoryEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<CategoryEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<CategoryEntity>,org.springframework.data.repository.ListCrudRepository<CategoryEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<CategoryEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<CategoryEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<CategoryEntity>,org.springframework.data.repository.Repository<CategoryEntity,Long>
public interface CategoryRepository
extends org.springframework.data.jpa.repository.JpaRepository<CategoryEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<CategoryEntity>
-
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 TypeMethodDescriptionexistsByNameAndOrgUidAndDeletedFalse(String name, String orgUid) existsByUid(String uid) findByKbUidAndDeletedFalse(String kbUid) findByNameAndKbUidAndDeletedFalse(String name, String kbUid) findByNameAndTypeAndLevelAndPlatformAndDeletedFalse(String name, String type, String level, String platform) findByNameAndTypeAndOrgUidAndLevelAndPlatformAndDeletedFalse(String name, String type, String orgUid, String level, String platform) findByParentAndPlatformAndDeletedOrderByOrderAsc(CategoryEntity parent, String platform, Boolean deleted) 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
-
findByParentAndPlatformAndDeletedOrderByOrderAsc
List<CategoryEntity> findByParentAndPlatformAndDeletedOrderByOrderAsc(CategoryEntity parent, String platform, Boolean deleted) -
findByNameAndTypeAndOrgUidAndLevelAndPlatformAndDeletedFalse
-
findByNameAndTypeAndLevelAndPlatformAndDeletedFalse
-
findByNameAndKbUidAndDeletedFalse
-
findByKbUidAndDeletedFalse
-
existsByNameAndOrgUidAndDeletedFalse
-
existsByUid
-