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

---
 fdx-consultation/fdxconsultation-core-impl/src/main/java/com/megatim/fdxconsultation/core/impl/referentiel/StructureLigneManagerImpl.java |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/fdx-consultation/fdxconsultation-core-impl/src/main/java/com/megatim/fdxconsultation/core/impl/referentiel/StructureLigneManagerImpl.java b/fdx-consultation/fdxconsultation-core-impl/src/main/java/com/megatim/fdxconsultation/core/impl/referentiel/StructureLigneManagerImpl.java
new file mode 100644
index 0000000..4c4b741
--- /dev/null
+++ b/fdx-consultation/fdxconsultation-core-impl/src/main/java/com/megatim/fdxconsultation/core/impl/referentiel/StructureLigneManagerImpl.java
@@ -0,0 +1,39 @@
+/*
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
+ */
+package com.megatim.fdxconsultation.core.impl.referentiel;
+
+import com.megatim.fdxcommons.model.referentiel.StructureLigne;
+import com.megatim.fdxconsultation.core.ifaces.referentiel.StructureLigneManager;
+import com.megatim.fdxconsultation.dao.ifaces.referentiel.StructureLigneDAO;
+import javax.ejb.EJB;
+import javax.enterprise.context.Dependent;
+import javax.persistence.EntityManager;
+
+/**
+ *
+ * @author ASUS
+ */
+@Dependent
+public class StructureLigneManagerImpl implements StructureLigneManager {
+
+   @EJB
+    private StructureLigneDAO dao;
+
+   @Override
+    public StructureLigneDAO getDao() {
+        return dao;
+    }
+
+    @Override
+    public Class<StructureLigne> getManagedEntityClass() {
+        return StructureLigne.class;
+    }
+
+    @Override
+    public EntityManager getEntityManager() {
+        return getDao().getEntityManager();
+    }
+
+}

--
Gitblit v1.10.0