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 PatreonCampaignfindByWebaccountId(java.lang.Long id)gets aPatreonCampaignby the user's web account idMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByWebaccountId
gets aPatreonCampaignby the user's web account id- Parameters:
id- is the user's web account id- Returns:
- a
PatreonCampaignobject
-