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>
-
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, 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
-
findByParentAndPlatformAndDeletedOrderByOrderAsc
List<CategoryEntity> findByParentAndPlatformAndDeletedOrderByOrderAsc(CategoryEntity parent, String platform, Boolean deleted) -
findByNameAndTypeAndOrgUidAndLevelAndPlatformAndDeletedFalse
-
findByNameAndTypeAndLevelAndPlatformAndDeletedFalse
-
findByNameAndKbUidAndDeletedFalse
-
findByKbUidAndDeletedFalse
-
existsByNameAndOrgUidAndDeletedFalse
-
existsByUid
-