Interface RecetaItemRepository

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

public interface RecetaItemRepository extends org.springframework.data.jpa.repository.JpaRepository<RecetaItem,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    existsByItemIdAndInsumoId(Long itemId, Long insumoId)
     
     

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    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

    • findByItemId

      List<RecetaItem> findByItemId(Long itemId)
    • deleteByItemId

      void deleteByItemId(Long itemId)
    • existsByItemIdAndInsumoId

      boolean existsByItemIdAndInsumoId(Long itemId, Long insumoId)