Files
fiscad/src/main/java/io/gmss/fiscad/interfaces/decoupage/QuartierService.java
Aurince AKAKPO 743bb46b47
All checks were successful
CI - Build & Test (develop) / build-and-test (pull_request) Successful in 30s
gestion revu de code en utilisant uniquement les DTO
2026-02-03 20:31:38 +01:00

29 lines
1.0 KiB
Java
Executable File

package io.gmss.fiscad.interfaces.decoupage;
import io.gmss.fiscad.entities.decoupage.Quartier;
import io.gmss.fiscad.exceptions.BadRequestException;
import io.gmss.fiscad.exceptions.NotFoundException;
import io.gmss.fiscad.paylaods.request.crudweb.QuartierPaylaodWeb;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
import java.util.Optional;
public interface QuartierService {
Quartier createQuartier(Quartier quartier) throws BadRequestException;
Quartier updateQuartier(Long id, Quartier quartier) throws NotFoundException;
void deleteQuartier(Long id) throws NotFoundException;
Page<QuartierPaylaodWeb> getQuartierList(Pageable pageable);
List<QuartierPaylaodWeb> getQuartierList();
List<QuartierPaylaodWeb> getQuartierListByArrondissementId(Long arrondissementId);
Page<QuartierPaylaodWeb> getQuartierListByArrondissementId(Long arrondissementId,Pageable pageable);
Optional<QuartierPaylaodWeb> getQuartierById(Long id);
}