From 23a46b4be35277e06ec89f48730eeb694e686be8 Mon Sep 17 00:00:00 2001
From: Kenmegne <stephanie.kenmegne@gmail.com>
Date: Thu, 18 Jun 2026 15:40:06 +0000
Subject: [PATCH] add fdx-commons and fdx-consultation

---
 apifdxweb/api/apifdxweb-service-ifaces/src/main/java/com/megatim/apifdxweb/service/ifaces/administration/RoleRS.java |  114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 114 insertions(+), 0 deletions(-)

diff --git a/apifdxweb/api/apifdxweb-service-ifaces/src/main/java/com/megatim/apifdxweb/service/ifaces/administration/RoleRS.java b/apifdxweb/api/apifdxweb-service-ifaces/src/main/java/com/megatim/apifdxweb/service/ifaces/administration/RoleRS.java
new file mode 100644
index 0000000..1ae955d
--- /dev/null
+++ b/apifdxweb/api/apifdxweb-service-ifaces/src/main/java/com/megatim/apifdxweb/service/ifaces/administration/RoleRS.java
@@ -0,0 +1,114 @@
+package com.megatim.apifdxweb.service.ifaces.administration;
+
+import com.megatim.apifdxweb.model.formodel.RoleFormModel;
+import com.megatim.apifdxweb.service.ifaces.abstracts.AbstractFormModelIFaces;
+import com.megatim.apifdxweb.service.ifaces.abstracts.AbstractGenericCrudResourceIFaces;
+import com.megatim.apifdxweb.model.administration.Role;
+import com.megatim.apifdxweb.model.dtos.administration.RoleDto;
+
+/**
+ * Interface du service JAX-RS
+ *
+ * @since Fri Sep 27 08:15:34 GMT+01:00 2019
+ *
+ */
+public interface RoleRS extends AbstractGenericCrudResourceIFaces<Role, RoleDto, Long, Role>, AbstractFormModelIFaces<RoleFormModel> {
+
+//    @POST
+//    @Consumes({MediaType.APPLICATION_JSON})
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    @Path("validate/{id}")
+//    @Secured(action = "validate")
+//    public void validate(@Context HttpHeaders headers, @PathParam("id") Long id);
+//
+//    @POST
+//    @Consumes({MediaType.APPLICATION_JSON})
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    @Path("reject/{id}")
+//    @Secured(action = "reject")
+//    public void reject(@Context HttpHeaders headers, @PathParam("id") Long id);
+//
+//    @GET
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    @Path("findbyetatoperation/{property}/{value}")
+//    @Secured(action = "*")
+//    public Response findByEtatOperation(@Context HttpHeaders headers, @PathParam("property") String propertyName, @PathParam("value") String propertyValue);
+//
+//    @POST
+//    @Consumes({MediaType.APPLICATION_JSON})
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("add")
+//    @Secured(action = "add")
+//    @SecuredAdmin
+//    @SecuredMegaAdmin
+//    public Response save(@Context HttpHeaders headers, @Valid Role entity);
+//
+//    @POST
+//    @Consumes({MediaType.APPLICATION_JSON})
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("update/{id}")
+//    @Secured(action = "update")
+//    @SecuredAdmin
+//    @SecuredMegaAdmin
+//    public Response update(@Context HttpHeaders headers, @PathParam("id") Long id, @Valid Role entity);
+//
+//    @POST
+//    @Consumes({MediaType.APPLICATION_JSON})
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("delete/{id}")
+//    @Secured(action = "delete")
+//    @SecuredAdmin
+//    @SecuredMegaAdmin
+//    public void delete(@Context HttpHeaders headers, @PathParam("id") Long id);
+//
+//    @GET
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("findbyid/{id}")
+//    @Secured(action = "*")
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    public Response findById(@Context HttpHeaders headers, @PathParam("id") Long id);
+//
+//    @GET
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("findbyoneproperty/{property}/{value}")
+//    @Secured(action = "*")
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    public Response findByOneProperty(@Context HttpHeaders headers, @PathParam("property") String propertyName, @PathParam("value") String propertyValue);
+//
+//    @POST
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("findwithpagination/{pageNumber}/{pagesize}")
+//    @Secured(action = "*")
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    public Response findWithPagination(@Context HttpHeaders headers, @PathParam("pageNumber") Integer pageNumber, @PathParam("pagesize") Integer pagesize, Role searchEntity);
+//
+//    @POST
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Secured(action = "*")
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    public Response findAll(@Context HttpHeaders headers, Role searchEntity);
+//
+//    @POST
+//    @Produces({MediaType.APPLICATION_JSON})
+//    @Path("count")
+//    @Secured(action = "*")
+//    @SecuredAdmin
+//    @SecuredSuperAdmin
+//    @SecuredMegaAdmin
+//    public Long count(@Context HttpHeaders headers, Role searchEntity);
+}

--
Gitblit v1.10.0