All checks were successful
CI - Build & Test (develop) / build-and-test (pull_request) Successful in 33s
36 lines
1.6 KiB
Java
36 lines
1.6 KiB
Java
package io.gmss.fiscad.interfaces.decoupage;
|
|
|
|
import io.gmss.fiscad.entities.decoupage.SecteurDecoupage;
|
|
import io.gmss.fiscad.exceptions.BadRequestException;
|
|
import io.gmss.fiscad.exceptions.NotFoundException;
|
|
import io.gmss.fiscad.paylaods.request.crudweb.SecteurDecoupagePaylaodWeb;
|
|
import io.gmss.fiscad.paylaods.request.crudweb.SecteurPaylaodWeb;
|
|
import io.gmss.fiscad.paylaods.response.restoration.ParcelleStatsProjectionUnSecteur;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
import java.util.List;
|
|
import java.util.Optional;
|
|
|
|
public interface SecteurDecoupageService {
|
|
|
|
SecteurDecoupagePaylaodWeb createSecteurDecoupage(SecteurDecoupagePaylaodWeb secteur) throws BadRequestException;
|
|
|
|
SecteurDecoupagePaylaodWeb updateSecteurDecoupage(Long id, SecteurDecoupagePaylaodWeb secteur) throws NotFoundException;
|
|
|
|
void deleteSecteurDecoupage(Long id) throws NotFoundException;
|
|
|
|
Page<SecteurDecoupagePaylaodWeb> getSecteurDecoupageList(Pageable pageable);
|
|
|
|
List<SecteurDecoupagePaylaodWeb> getSecteurDecoupageList();
|
|
|
|
Page<SecteurDecoupagePaylaodWeb> getSecteurDecoupageListBySecteurId(Long sectionId,Pageable pageable);
|
|
List<SecteurDecoupagePaylaodWeb> getSecteurDecoupageListBySecteurId(Long sectionId);
|
|
|
|
Optional<SecteurDecoupagePaylaodWeb> getSecteurDecoupageByIdToDto(Long id);
|
|
|
|
Optional<SecteurDecoupage> getSecteurDecoupageById(Long id);
|
|
|
|
List<ParcelleStatsProjectionUnSecteur> getStatParcelleDecoupageUnSecteur(Long secteurId) ;
|
|
List<ParcelleStatsProjectionUnSecteur> getStatParcelleDecoupageByUserId(Long userId) ;
|
|
} |