Interface AbstractModelAttributePermissionRepository<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:
AbstractDataFieldPermissionRepository<T,​ID>, GroupDataFieldPermissionRepository, GroupModelAttributePermissionRepository, OrganizationDataFieldPermissionRepository, OrganizationModelAttributePermissionRepository, SysroleDataFieldPermissionRepository, SysroleModelAttributePermissionRepository, UserDataFieldPermissionRepository, UserModelAttributePermissionRepository
@NoRepositoryBean public interface AbstractModelAttributePermissionRepository<T,​ID> extends AbstractModelPermissionRepository<T,​ID>
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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

    • countByIdModelNameAndIdAttributeNameAndIdPermission

      Long  countByIdModelNameAndIdAttributeNameAndIdPermission(String modelName, String attributeName, PermissionEnum permission)