Interface InvoiceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Invoice,,UUID> org.springframework.data.jpa.repository.JpaRepository<Invoice,,UUID> org.springframework.data.repository.ListCrudRepository<Invoice,,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<Invoice,,UUID> org.springframework.data.repository.PagingAndSortingRepository<Invoice,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<Invoice>,org.springframework.data.repository.Repository<Invoice,UUID>
@Repository
public interface InvoiceRepository
extends org.springframework.data.jpa.repository.JpaRepository<Invoice,UUID>
InvoiceRepository.java - JPA repository for invoices.
- Author:
- Kristian Popov
-
Method Summary
Methods 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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods 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
-
findAllByUserIdOrderByIssuedAtDesc
-
countByUserId
-