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;