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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Number classNamesCount​(String aclClass)
      Class names count.
      AclClass findByAclClass​(String aclClass)
      Find by acl class.
      • 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, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
      • 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
    • Method Detail

      • 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

        AclClass findByAclClass​(String aclClass)
        Find by acl class.
        Parameters:
        aclClass - the acl class
        Returns:
        the acl class