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 TypeMethodDescriptionfindByStatus(StatoContenuto status) Trova tutte le sottomissioni in un determinato stato (per il dashboard del Curatore).findBySubmittableEntityIdAndSubmittableEntityType(Long entityId, String entityType) 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, 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
-
findBySubmittableEntityIdAndSubmittableEntityType
Optional<ContentSubmission> findBySubmittableEntityIdAndSubmittableEntityType(Long entityId, String entityType) Trova la sottomissione associata a una specifica entità . -
findByStatus
Trova tutte le sottomissioni in un determinato stato (per il dashboard del Curatore).
-