Interface AclClassPersistence
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AclClass,,Long> org.springframework.data.jpa.repository.JpaRepository<AclClass,,Long> org.springframework.data.repository.PagingAndSortingRepository<AclClass,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<AclClass>,org.springframework.data.repository.Repository<AclClass,Long>
public interface AclClassPersistence
extends org.springframework.data.jpa.repository.JpaRepository<AclClass,Long>
The Interface AclClassPersistence.
-
Method Summary
Modifier and TypeMethodDescriptionclassNamesCount(String aclClass) Class names count.findByAclClass(String aclClass) Find by acl class.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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
classNamesCount
@Query("select count(ac) from AclClass ac where ac.aclClass = :aclClass") Number classNamesCount(@Param("aclClass") String aclClass) Class names count.- Parameters:
aclClass- the acl class- Returns:
- the number
-
findByAclClass
Find by acl class.- Parameters:
aclClass- the acl class- Returns:
- the acl class
-