Package org.appng.core.repository
Interface PermissionRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PermissionImpl,Integer>
,org.springframework.data.jpa.repository.JpaRepository<PermissionImpl,Integer>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<PermissionImpl>
,org.springframework.data.repository.PagingAndSortingRepository<PermissionImpl,Integer>
,org.springframework.data.repository.query.QueryByExampleExecutor<PermissionImpl>
,org.springframework.data.repository.Repository<PermissionImpl,Integer>
,SearchRepository<PermissionImpl,Integer>
public interface PermissionRepository extends SearchRepository<PermissionImpl,Integer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PermissionImpl>
findByApplicationId(Integer applicationId, org.springframework.data.domain.Sort sort)
PermissionImpl
findByApplicationNameAndName(String application, String name)
PermissionImpl
findByNameAndApplicationId(String name, Integer applicationId)
-
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, findAll, findAll, findAllById, flush, getById, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
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
-
Methods inherited from interface org.appng.persistence.repository.SearchRepository
createSearchQuery, detach, getHistory, getOne, getRevision, getRevisionNumber, isUnique, isUnique, search, search, search, search
-
-
-
-
Method Detail
-
findByNameAndApplicationId
PermissionImpl findByNameAndApplicationId(String name, Integer applicationId)
-
findByApplicationId
List<PermissionImpl> findByApplicationId(Integer applicationId, org.springframework.data.domain.Sort sort)
-
findByApplicationNameAndName
PermissionImpl findByApplicationNameAndName(String application, String name)
-
-