From 0d92775689b73801c6ab2fde25c46b28c1401640 Mon Sep 17 00:00:00 2001 From: gleimar Date: Wed, 8 Apr 2015 23:12:13 +0000 Subject: [PATCH] bug#6130 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@42915 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java | 8 ++------ .../dao/hibernate/PuntoVentaHibernateDAO.java | 4 ---- .../ventaboletos/service/PuntoVentaService.java | 2 -- .../ventaboletos/service/impl/PuntoVentaServiceImpl.java | 4 ---- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java b/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java index 5a1a6f986..3e39c1549 100644 --- a/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java @@ -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 { - public Session getDBSession(); public List buscaLike(String strEstacion); diff --git a/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java b/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java index 8ee142f8a..8bff21384 100644 --- a/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java @@ -42,10 +42,6 @@ public class PuntoVentaHibernateDAO extends GenericHibernateDAO obtenerTodos() { diff --git a/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java b/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java index 52da71067..9f2e253bf 100644 --- a/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java +++ b/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java @@ -20,8 +20,6 @@ import com.rjconsultores.ventaboletos.exception.ValidacionCampoException; * @author Administrador */ public interface PuntoVentaService { - - public Session getDBSession(); public List obtenerTodos(); diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index aa82996ec..8b1cc0a15 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -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 {