Interface UserMenuRepository

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

    Modifier and Type
    Method
    Description
    void
     
    void
     
    findByIdUsername​(String username)
     

    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

    • deleteByIdUsernameAndIdMenuIdIn

      @Transactional void  deleteByIdUsernameAndIdMenuIdIn(String username, List<String> menuIds)
    • findByIdUsername

      Set<UserMenu>  findByIdUsername(String username)
    • deleteByIdIn

      @Transactional void  deleteByIdIn(List<UserMenuPK> ids)