Interface PermissionRepository<T extends tech.corefinance.common.model.AbstractPermission>
- All Superinterfaces:
CommonResourceRepository<T,,String> org.springframework.data.repository.CrudRepository<T,,String> org.springframework.data.repository.ListCrudRepository<T,,String> org.springframework.data.repository.ListPagingAndSortingRepository<T,,String> org.springframework.data.repository.PagingAndSortingRepository<T,,String> org.springframework.data.repository.query.QueryByExampleExecutor<T>,org.springframework.data.repository.Repository<T,String>
@NoRepositoryBean
public interface PermissionRepository<T extends tech.corefinance.common.model.AbstractPermission>
extends CommonResourceRepository<T,String>
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByRoleIdAndResourceType(String roleId, String resourceType, org.springframework.data.domain.Sort sort) findFirstByRoleIdAndResourceTypeAndActionAndUrlAndRequestMethod(String roleId, String resourceType, String action, String url, org.springframework.web.bind.annotation.RequestMethod requestMethod) org.springframework.data.domain.Page<T>Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods 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, findAll, findAll, findBy, findOne
-
Method Details
-
findFirstByRoleIdAndResourceTypeAndActionAndUrlAndRequestMethod
-
findAllByRoleIdAndResourceType
-
searchBy
-