Package restapi.crud

Interface ContactPreferencesRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ContactPreferencesEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<ContactPreferencesEntity,Long>, org.springframework.data.repository.PagingAndSortingRepository<ContactPreferencesEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ContactPreferencesEntity>, org.springframework.data.repository.Repository<ContactPreferencesEntity,Long>

@Repository public interface ContactPreferencesRepository extends org.springframework.data.jpa.repository.JpaRepository<ContactPreferencesEntity,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByUserId(long userId)
     
    findByUserIdAndContactId(long userId, long contactId)
     

    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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, 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