Package com.patreonshout.jpa
Interface PatreonCampaignsRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PatreonCampaign,java.lang.Long>
,org.springframework.data.jpa.repository.JpaRepository<PatreonCampaign,java.lang.Long>
,org.springframework.data.repository.PagingAndSortingRepository<PatreonCampaign,java.lang.Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<PatreonCampaign>
,org.springframework.data.repository.Repository<PatreonCampaign,java.lang.Long>
@Repository public interface PatreonCampaignsRepository extends org.springframework.data.jpa.repository.JpaRepository<PatreonCampaign,java.lang.Long>
Spring Data Repository for easy use of CRUD operations on the
PatreonCampaign
object-
Method Summary
Modifier and Type Method Description PatreonCampaign
findByWebaccountId(java.lang.Long id)
gets aPatreonCampaign
by the user's web account idMethods 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, getReferenceById, 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, findBy, findOne
-
Method Details
-
findByWebaccountId
gets aPatreonCampaign
by the user's web account id- Parameters:
id
- is the user's web account id- Returns:
- a
PatreonCampaign
object
-