Interface ExpenseSplitRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ExpenseSplit,,Long> org.springframework.data.jpa.repository.JpaRepository<ExpenseSplit,,Long> org.springframework.data.repository.ListCrudRepository<ExpenseSplit,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ExpenseSplit,,Long> org.springframework.data.repository.PagingAndSortingRepository<ExpenseSplit,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ExpenseSplit>,org.springframework.data.repository.Repository<ExpenseSplit,Long>
@Repository
public interface ExpenseSplitRepository
extends org.springframework.data.jpa.repository.JpaRepository<ExpenseSplit,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByExpenseId(Long expenseId) Obtiene todas las divisiones de un gasto.findByParticipantIdAndPaidFalse(Long userId) Obtiene todas las divisiones no pagadas de un usuario.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
-
findByExpenseId
Obtiene todas las divisiones de un gasto. -
findByParticipantIdAndPaidFalse
Obtiene todas las divisiones no pagadas de un usuario.
-