Interface followingRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<followingModel,String>, org.springframework.data.jpa.repository.JpaRepository<followingModel,String>, org.springframework.data.repository.ListCrudRepository<followingModel,String>, org.springframework.data.repository.ListPagingAndSortingRepository<followingModel,String>, org.springframework.data.repository.PagingAndSortingRepository<followingModel,String>, org.springframework.data.repository.query.QueryByExampleExecutor<followingModel>, org.springframework.data.repository.Repository<followingModel,String>

@Repository public interface followingRepository extends org.springframework.data.jpa.repository.JpaRepository<followingModel,String>
The interface Following repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Delete all by account id.
    Exists by streamer id boolean.

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    findAll, findAllById, saveAll

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

    findAll

    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 Details

    • existsByStreamerId

      Boolean existsByStreamerId(String StreamId)
      Exists by streamer id boolean.
      Parameters:
      StreamId - the stream id
      Returns:
      the boolean
    • deleteAllByAccountId

      void deleteAllByAccountId(String streamerId)
      Delete all by account id.
      Parameters:
      streamerId - the streamer id