接口 RoleRepository

  • 所有超级接口:
    org.springframework.data.repository.CrudRepository<RoleEntity,​Long>, org.springframework.data.repository.PagingAndSortingRepository<RoleEntity,​Long>, org.springframework.data.repository.Repository<RoleEntity,​Long>

    public interface RoleRepository
    extends org.springframework.data.repository.PagingAndSortingRepository<RoleEntity,​Long>
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      Optional<RoleEntity> findByName​(String name)  
      • 从接口继承的方法 org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
      • 从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository

        findAll, findAll