Package cn.sparrow.permission.repository
Interface AbstractDataPermissionRepository<T,ID>
- All Superinterfaces:
AbstractModelPermissionRepository<T,ID>
,org.springframework.data.repository.CrudRepository<T,ID>
,org.springframework.data.jpa.repository.JpaRepository<T,ID>
,org.springframework.data.repository.PagingAndSortingRepository<T,ID>
,org.springframework.data.repository.query.QueryByExampleExecutor<T>
,org.springframework.data.repository.Repository<T,ID>
- All Known Subinterfaces:
GroupDataPermissionRepository
,OrganizationDataPermissionRepository
,SysroleDataPermissionRepository
,UserDataPermissionRepository
@NoRepositoryBean public interface AbstractDataPermissionRepository<T,ID> extends AbstractModelPermissionRepository<T,ID>
Method Summary
Modifier and TypeMethodDescriptioncountByIdModelNameAndIdPermissionAndIdPermissionTypeAndIdDataId(String modelName, PermissionEnum permission, PermissionTypeEnum permissionType, String dataId)
Methods inherited from interface cn.sparrow.permission.repository.AbstractModelPermissionRepository
countByIdModelNameAndIdPermissionAndIdPermissionType
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, 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
Method Details
countByIdModelNameAndIdPermissionAndIdPermissionTypeAndIdDataId
Long countByIdModelNameAndIdPermissionAndIdPermissionTypeAndIdDataId (String modelName, PermissionEnum permission, PermissionTypeEnum permissionType, String dataId)