/*
|
* 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.natureproduction;
|
|
import com.megatim.fdxcommons.dao.ifaces.natureproduction.NatureProductionFichierDAO;
|
import com.megatim.fdxcommons.model.referentiel.natureproduction.NatureProductionFichier;
|
import com.megatim.fdxconsultation.core.ifaces.referentiel.natureproduction.NatureProductionFichierManager;
|
import java.util.List;
|
import javax.ejb.EJB;
|
import javax.enterprise.context.Dependent;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
@Dependent
|
public class NatureProductionFichierManagerImpl implements NatureProductionFichierManager {
|
|
@EJB
|
private NatureProductionFichierDAO dao;
|
|
@Override
|
public NatureProductionFichierDAO getDao() {
|
return dao;
|
}
|
|
@Override
|
public List<NatureProductionFichier> getByReferentiel(String referentielVersion) {
|
return getDao().getByReferentiel(referentielVersion);
|
}
|
|
}
|