Interface ContentSubmissionRepository

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

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

    Modifier and Type
    Method
    Description
    Trova tutte le sottomissioni in un determinato stato (per il dashboard del Curatore).
    Trova la sottomissione associata a una specifica entità.

    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

    • findBySubmittableEntityIdAndSubmittableEntityType

      Optional<ContentSubmission> findBySubmittableEntityIdAndSubmittableEntityType(Long entityId, String entityType)
      Trova la sottomissione associata a una specifica entità.
    • findByStatus

      List<ContentSubmission> findByStatus(StatoContenuto status)
      Trova tutte le sottomissioni in un determinato stato (per il dashboard del Curatore).