Interface MarketplaceItemRepository

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

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

    Modifier and Type
    Method
    Description
    Trova tutti gli articoli del marketplace filtrando in base allo stato del prodotto associato (es.

    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

    • findByProdottoSubmissionStatus

      List<MarketplaceItem> findByProdottoSubmissionStatus(StatoContenuto status)
      Trova tutti gli articoli del marketplace filtrando in base allo stato del prodotto associato (es. APPROVATO). Questo sarĂ  usato per popolare il catalogo pubblico.
      Parameters:
      status - Lo stato del prodotto (es. StatoContenuto.APPROVATO)
      Returns:
      Lista di MarketplaceItem