package it.sw.pa.comune.artegna.service;

import it.sw.pa.comune.artegna.service.dto.NotificaDTO;
import java.util.Optional;

/**
 * Service Interface for managing {@link it.sw.pa.comune.artegna.domain.Notifica}.
 */
public interface NotificaService {
    /**
     * Save a notifica.
     *
     * @param notificaDTO the entity to save.
     * @return the persisted entity.
     */
    NotificaDTO save(NotificaDTO notificaDTO);

    /**
     * Updates a notifica.
     *
     * @param notificaDTO the entity to update.
     * @return the persisted entity.
     */
    NotificaDTO update(NotificaDTO notificaDTO);

    /**
     * Partially updates a notifica.
     *
     * @param notificaDTO the entity to update partially.
     * @return the persisted entity.
     */
    Optional<NotificaDTO> partialUpdate(NotificaDTO notificaDTO);

    /**
     * Get the "id" notifica.
     *
     * @param id the id of the entity.
     * @return the entity.
     */
    Optional<NotificaDTO> findOne(Long id);

    /**
     * Delete the "id" notifica.
     *
     * @param id the id of the entity.
     */
    void delete(Long id);
}
