Interface PocketRepository

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

public interface PocketRepository extends org.springframework.data.jpa.repository.JpaRepository<Pocket,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<Pocket>
  • Method Summary

    Modifier and Type
    Method
    Description
    findByAppUserId(Long appUserId)
     

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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

    • findByAppUserId

      @Query("select pocket.id from Pocket pocket where pocket.appUserId= :appUserId") Long findByAppUserId(@Param("appUserId") Long appUserId)