/*
|
* 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.dao.impl.referentiel;
|
|
import com.megatim.fdxcommons.model.referentiel.ApplicationSource;
|
import com.megatim.fdxconsultation.dao.ifaces.referentiel.ApplicationSourceDAO;
|
import javax.ejb.Stateless;
|
import javax.persistence.EntityManager;
|
import javax.persistence.PersistenceContext;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
@Stateless
|
public class ApplicationSourceDAOImpl implements ApplicationSourceDAO {
|
|
@PersistenceContext(unitName = "fdxConsultationPersistenceUnit")
|
protected EntityManager em;
|
|
public ApplicationSourceDAOImpl() {
|
}
|
|
@Override
|
public EntityManager getEntityManager() {
|
return em;
|
}
|
|
@Override
|
public Class<ApplicationSource> getManagedEntityClass() {
|
return (ApplicationSource.class);
|
}
|
|
@Override
|
public ApplicationSource getById(String id) {
|
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
}
|
}
|