Interface UserSysroleRepository

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

    Modifier and Type
    Method
    Description
    void
    deleteByIdIn​(List<UserSysrolePK> userSysrolePKs)
     
    findByIdUsername​(String username)
     
    org.springframework.data.domain.Page<UserSysrole>
    findByIdUsername​(String username, 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

    • findByIdUsername

      org.springframework.data.domain.Page<UserSysrole>  findByIdUsername(String username, org.springframework.data.domain.Pageable p)
    • findByIdUsername

      Set<UserSysrole>  findByIdUsername(String username)
    • deleteByIdIn

      @Transactional void  deleteByIdIn(List<UserSysrolePK> userSysrolePKs)