Interface PermissionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<org.apache.fineract.useradministration.domain.Permission,,Long> org.springframework.data.jpa.repository.JpaRepository<org.apache.fineract.useradministration.domain.Permission,,Long> org.springframework.data.repository.ListCrudRepository<org.apache.fineract.useradministration.domain.Permission,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<org.apache.fineract.useradministration.domain.Permission,,Long> org.springframework.data.repository.PagingAndSortingRepository<org.apache.fineract.useradministration.domain.Permission,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<org.apache.fineract.useradministration.domain.Permission>,org.springframework.data.repository.Repository<org.apache.fineract.useradministration.domain.Permission,Long>
public interface PermissionRepository
extends org.springframework.data.jpa.repository.JpaRepository<org.apache.fineract.useradministration.domain.Permission,Long>
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.useradministration.domain.PermissionfindOneByCode(String code) 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.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
-
findOneByCode
@Query("SELECT p FROM Permission p WHERE LOWER(TRIM(BOTH FROM p.code)) = LOWER(TRIM(BOTH FROM ?1))") org.apache.fineract.useradministration.domain.Permission findOneByCode(@Param("code") String code)
-