diff --git a/pom.xml b/pom.xml index 5473141..0763275 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.sadtech.autoresponder core - 0.1-SNAPSHOT + 1.0 diff --git a/src/main/java/org/sadtech/autoresponder/repository/impl/PersonRepositoryImpl.java b/src/main/java/org/sadtech/autoresponder/repository/impl/PersonRepositoryMap.java similarity index 100% rename from src/main/java/org/sadtech/autoresponder/repository/impl/PersonRepositoryImpl.java rename to src/main/java/org/sadtech/autoresponder/repository/impl/PersonRepositoryMap.java diff --git a/src/main/java/org/sadtech/autoresponder/repository/impl/UnitRepositoryImpl.java b/src/main/java/org/sadtech/autoresponder/repository/impl/UnitRepositoryMap.java similarity index 100% rename from src/main/java/org/sadtech/autoresponder/repository/impl/UnitRepositoryImpl.java rename to src/main/java/org/sadtech/autoresponder/repository/impl/UnitRepositoryMap.java diff --git a/src/main/java/org/sadtech/autoresponder/service/PersonService.java b/src/main/java/org/sadtech/autoresponder/service/PersonService.java index da46400..ae963e4 100644 --- a/src/main/java/org/sadtech/autoresponder/service/PersonService.java +++ b/src/main/java/org/sadtech/autoresponder/service/PersonService.java @@ -5,7 +5,9 @@ import org.sadtech.autoresponder.entity.Person; public interface PersonService { Person getPersonById(Integer integer); + void addPerson(Person person); + boolean checkPerson(Integer idPerson); } diff --git a/src/main/java/org/sadtech/autoresponder/service/UnitService.java b/src/main/java/org/sadtech/autoresponder/service/UnitService.java index 42e6c4f..c319e0e 100644 --- a/src/main/java/org/sadtech/autoresponder/service/UnitService.java +++ b/src/main/java/org/sadtech/autoresponder/service/UnitService.java @@ -3,6 +3,7 @@ package org.sadtech.autoresponder.service; import org.sadtech.autoresponder.entity.Unit; public interface UnitService { + Unit nextUnit(Unit unit, String message); Unit getUnitById(Integer idUnit);