bug#6130
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@42915 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e57d519737
commit
0d92775689
|
@ -4,15 +4,12 @@
|
|||
*/
|
||||
package com.rjconsultores.ventaboletos.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaTipoEstoque;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.hibernate.Session;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -20,7 +17,6 @@ import org.hibernate.Session;
|
|||
*/
|
||||
public interface PuntoVentaDAO extends GenericDAO<PuntoVenta, Integer> {
|
||||
|
||||
public Session getDBSession();
|
||||
|
||||
public List<PuntoVenta> buscaLike(String strEstacion);
|
||||
|
||||
|
|
|
@ -42,10 +42,6 @@ public class PuntoVentaHibernateDAO extends GenericHibernateDAO<PuntoVenta, Inte
|
|||
public PuntoVentaHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
|
||||
setSessionFactory(factory);
|
||||
}
|
||||
|
||||
public Session getDBSession(){
|
||||
return getSession();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PuntoVenta> obtenerTodos() {
|
||||
|
|
|
@ -20,8 +20,6 @@ import com.rjconsultores.ventaboletos.exception.ValidacionCampoException;
|
|||
* @author Administrador
|
||||
*/
|
||||
public interface PuntoVentaService {
|
||||
|
||||
public Session getDBSession();
|
||||
|
||||
public List<PuntoVenta> obtenerTodos();
|
||||
|
||||
|
|
|
@ -73,10 +73,6 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
|||
public PuntoVenta obtenerID(Integer id) {
|
||||
return puntoVentaDAO.obtenerID(id);
|
||||
}
|
||||
|
||||
public Session getDBSession(){
|
||||
return puntoVentaDAO.getDBSession();
|
||||
}
|
||||
|
||||
@Transactional(noRollbackFor = { IntegracionException.class })
|
||||
public PuntoVenta suscribir(PuntoVenta entidad) throws IntegracionException, ValidacionCampoException {
|
||||
|
|
Loading…
Reference in New Issue