Interface SysroleRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Sysrole,​String>, org.springframework.data.jpa.repository.JpaRepository<Sysrole,​String>, org.springframework.data.repository.PagingAndSortingRepository<Sysrole,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<Sysrole>, org.springframework.data.repository.Repository<Sysrole,​String>
public interface SysroleRepository extends org.springframework.data.jpa.repository.JpaRepository<Sysrole,​String>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByIdIn​(@NotNull String[] ids)
     
    findByCode​(String name)
     
    org.springframework.data.domain.Page<Sysrole>
    findByNameContaining​(String name, org.springframework.data.domain.Pageable p)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne
  • Method Details

    • findByNameContaining

      org.springframework.data.domain.Page<Sysrole>  findByNameContaining(String name, org.springframework.data.domain.Pageable p)
    • findByCode

      List<Sysrole>  findByCode(String name)
    • deleteByIdIn

      @Transactional void  deleteByIdIn(@NotNull @NotNull String[] ids)