From 27ff85a7c5646df92236b181f3190855c5a7f697 Mon Sep 17 00:00:00 2001 From: gleimar Date: Tue, 28 Aug 2012 15:13:14 +0000 Subject: [PATCH] git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@20779 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/com/rjconsultores/ventaboletos/dao/SeguroKmDAO.java | 4 ++-- .../service/{SeguroService.java => SeguroKmService.java} | 2 +- .../ventaboletos/service/SeguroTarifaService.java | 5 +++++ .../{SeguroServiceImpl.java => SeguroServiceKmImpl.java} | 6 +++--- 4 files changed, 11 insertions(+), 6 deletions(-) rename src/com/rjconsultores/ventaboletos/service/{SeguroService.java => SeguroKmService.java} (88%) create mode 100644 src/com/rjconsultores/ventaboletos/service/SeguroTarifaService.java rename src/com/rjconsultores/ventaboletos/service/impl/{SeguroServiceImpl.java => SeguroServiceKmImpl.java} (81%) diff --git a/src/com/rjconsultores/ventaboletos/dao/SeguroKmDAO.java b/src/com/rjconsultores/ventaboletos/dao/SeguroKmDAO.java index c8f68cbb1..95135e5eb 100644 --- a/src/com/rjconsultores/ventaboletos/dao/SeguroKmDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/SeguroKmDAO.java @@ -1,11 +1,11 @@ package com.rjconsultores.ventaboletos.dao; -import com.rjconsultores.ventaboletos.service.SeguroService; +import com.rjconsultores.ventaboletos.service.SeguroKmService; public interface SeguroKmDAO { /** - * See {@link SeguroService#atualizarSeguroPorKm(Integer, Integer, Integer)} + * See {@link SeguroKmService#atualizarSeguroPorKm(Integer, Integer, Integer)} * @param rutaId * @param orgaoId * @param usuarioId diff --git a/src/com/rjconsultores/ventaboletos/service/SeguroService.java b/src/com/rjconsultores/ventaboletos/service/SeguroKmService.java similarity index 88% rename from src/com/rjconsultores/ventaboletos/service/SeguroService.java rename to src/com/rjconsultores/ventaboletos/service/SeguroKmService.java index ce94aed00..903f2bb8c 100644 --- a/src/com/rjconsultores/ventaboletos/service/SeguroService.java +++ b/src/com/rjconsultores/ventaboletos/service/SeguroKmService.java @@ -2,7 +2,7 @@ package com.rjconsultores.ventaboletos.service; import com.rjconsultores.ventaboletos.exception.BusinessException; -public interface SeguroService { +public interface SeguroKmService { /** * Atualiza o seguro de acordo a kilometragem do trecho diff --git a/src/com/rjconsultores/ventaboletos/service/SeguroTarifaService.java b/src/com/rjconsultores/ventaboletos/service/SeguroTarifaService.java new file mode 100644 index 000000000..c5b71af5d --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/service/SeguroTarifaService.java @@ -0,0 +1,5 @@ +package com.rjconsultores.ventaboletos.service; + +public interface SeguroTarifaService { + +} diff --git a/src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceKmImpl.java similarity index 81% rename from src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceImpl.java rename to src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceKmImpl.java index b1fe61f7f..2c90d42cb 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/SeguroServiceKmImpl.java @@ -6,11 +6,11 @@ import org.springframework.transaction.annotation.Transactional; import com.rjconsultores.ventaboletos.dao.SeguroKmDAO; import com.rjconsultores.ventaboletos.exception.BusinessException; -import com.rjconsultores.ventaboletos.service.SeguroService; +import com.rjconsultores.ventaboletos.service.SeguroKmService; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; -@Service("seguroService") -public class SeguroServiceImpl implements SeguroService{ +@Service("seguroKmService") +public class SeguroServiceKmImpl implements SeguroKmService{ @Autowired private SeguroKmDAO seguroKmDAO;