Interface PartecipazioneRepository

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

@Repository public interface PartecipazioneRepository extends org.springframework.data.jpa.repository.JpaRepository<PartecipazioneEntity, PartecipazioneID>
Repository per la gestione delle operazioni CRUD sulle partecipazioni agli eventi.
Since:
1.2.5
Version:
2.0.0
Author:
Modulink Team
  • Method Summary

    Modifier and Type
    Method
    Description
    Recupera tutte le partecipazioni per uno specifico evento.
    void
    Rimuove la partecipazione di un utente a un evento specifico (Annulla iscrizione).

    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

    • getPartecipazioneEntitiesByEvento

      List<PartecipazioneEntity> getPartecipazioneEntitiesByEvento(EventoEntity evento)
      Recupera tutte le partecipazioni per uno specifico evento.
      Parameters:
      evento - L'evento di riferimento.
      Returns:
      Lista di partecipazioni.
      Since:
      1.2.5
    • removeByUtenteAndEvento

      @Transactional void removeByUtenteAndEvento(UtenteEntity utente, EventoEntity evento)
      Rimuove la partecipazione di un utente a un evento specifico (Annulla iscrizione).
      Parameters:
      utente - L'utente che annulla la partecipazione.
      evento - L'evento da cui disiscriversi.
      Since:
      1.2.5