diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/EtfController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/EtfController.java index cd6fbf51..b0f126ef 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/EtfController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/EtfController.java @@ -52,7 +52,6 @@ import org.laladev.moneyjinn.server.controller.mapper.EtfEffectiveFlowTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.EtfFlowTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.EtfTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CalcEtfSaleRequest; import org.laladev.moneyjinn.server.model.CalcEtfSaleResponse; import org.laladev.moneyjinn.server.model.CreateEtfFlowRequest; @@ -89,7 +88,6 @@ public class EtfController extends AbstractController implements EtfControllerAp private final EtfTransportMapper etfTransportMapper; private final EtfFlowTransportMapper etfFlowTransportMapper; private final EtfEffectiveFlowTransportMapper etfEffectiveFlowTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override public ResponseEntity listEtfOverview( @@ -278,6 +276,5 @@ protected void addBeanMapper() { super.registerBeanMapper(this.etfFlowTransportMapper); super.registerBeanMapper(this.etfEffectiveFlowTransportMapper); super.registerBeanMapper(this.etfTransportMapper); - super.registerBeanMapper(this.validationItemTransportMapper); } } diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/GroupController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/GroupController.java index aa104d47..b9d569c2 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/GroupController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/GroupController.java @@ -31,7 +31,6 @@ import org.laladev.moneyjinn.model.validation.ValidationResult; import org.laladev.moneyjinn.server.controller.api.GroupControllerApi; import org.laladev.moneyjinn.server.controller.mapper.GroupTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreateGroupRequest; import org.laladev.moneyjinn.server.model.CreateGroupResponse; import org.laladev.moneyjinn.server.model.GroupTransport; @@ -57,13 +56,11 @@ public class GroupController extends AbstractController implements GroupControllerApi { private final IGroupService groupService; private final GroupTransportMapper groupTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.groupTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowController.java index a8728304..7d130007 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowController.java @@ -60,7 +60,6 @@ import org.laladev.moneyjinn.server.controller.mapper.ImportedMoneyflowTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.MoneyflowSplitEntryTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.PostingAccountTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreateImportedMoneyflowRequest; import org.laladev.moneyjinn.server.model.ImportImportedMoneyflowRequest; import org.laladev.moneyjinn.server.model.ImportedMoneyflowTransport; @@ -102,16 +101,14 @@ public class ImportedMoneyflowController extends AbstractController implements I private final ImportedMoneyflowTransportMapper importedMoneyflowTransportMapper; private final MoneyflowSplitEntryTransportMapper moneyflowSplitEntryTransportMapper; private final PostingAccountTransportMapper postingAccountTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { - this.registerBeanMapper(this.capitalsourceTransportMapper); - this.registerBeanMapper(this.contractpartnerTransportMapper); - this.registerBeanMapper(this.postingAccountTransportMapper); - this.registerBeanMapper(this.importedMoneyflowTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); + super.registerBeanMapper(this.capitalsourceTransportMapper); + super.registerBeanMapper(this.contractpartnerTransportMapper); + super.registerBeanMapper(this.postingAccountTransportMapper); + super.registerBeanMapper(this.importedMoneyflowTransportMapper); super.registerBeanMapper(this.moneyflowSplitEntryTransportMapper); } diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowReceiptController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowReceiptController.java index 349a2e4f..6fab9421 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowReceiptController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/ImportedMoneyflowReceiptController.java @@ -40,7 +40,6 @@ import org.laladev.moneyjinn.model.validation.ValidationResult; import org.laladev.moneyjinn.server.controller.api.ImportedMoneyflowReceiptControllerApi; import org.laladev.moneyjinn.server.controller.mapper.ImportedMoneyflowReceiptTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreateImportedMoneyflowReceiptsRequest; import org.laladev.moneyjinn.server.model.ImportedMoneyflowReceiptTransport; import org.laladev.moneyjinn.server.model.ShowImportImportedMoneyflowReceiptsResponse; @@ -72,7 +71,6 @@ public class ImportedMoneyflowReceiptController extends AbstractController private final IAccessRelationService accessRelationService; private final IUserService userService; private final ImportedMoneyflowReceiptTransportMapper importedMoneyflowReceiptTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; private static final String MEDIA_TYPE_IMAGE_JPEG = "image/jpeg"; private static final String MEDIA_TYPE_APPLICATION_PDF = "application/pdf"; @@ -81,7 +79,6 @@ public class ImportedMoneyflowReceiptController extends AbstractController @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.importedMoneyflowReceiptTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MoneyflowController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MoneyflowController.java index 80963132..2af0ff6b 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MoneyflowController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MoneyflowController.java @@ -53,7 +53,6 @@ import org.laladev.moneyjinn.server.controller.mapper.MoneyflowSearchParamsTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.MoneyflowSplitEntryTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.MoneyflowTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreateMoneyflowRequest; import org.laladev.moneyjinn.server.model.MoneyflowSplitEntryTransport; import org.laladev.moneyjinn.server.model.MoneyflowTransport; @@ -97,7 +96,6 @@ public class MoneyflowController extends AbstractController implements Moneyflow private final MoneyflowSearchParamsTransportMapper moneyflowSearchParamsTransportMapper; private final MoneyflowSplitEntryTransportMapper moneyflowSplitEntryTransportMapper; private final MoneyflowTransportMapper moneyflowTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; private static final DateTimeFormatter SEARCH_DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyyMMdd"); @@ -105,7 +103,6 @@ public class MoneyflowController extends AbstractController implements Moneyflow @PostConstruct protected void addBeanMapper() { super.registerBeanMapper(this.moneyflowTransportMapper); - super.registerBeanMapper(this.validationItemTransportMapper); super.registerBeanMapper(this.moneyflowSearchParamsTransportMapper); super.registerBeanMapper(this.moneyflowSplitEntryTransportMapper); } diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MonthlySettlementController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MonthlySettlementController.java index adbe1bfb..2b064d35 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MonthlySettlementController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/MonthlySettlementController.java @@ -44,7 +44,6 @@ import org.laladev.moneyjinn.server.controller.api.MonthlySettlementControllerApi; import org.laladev.moneyjinn.server.controller.mapper.ImportedMonthlySettlementTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.MonthlySettlementTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.GetAvailableMonthlySettlementMonthResponse; import org.laladev.moneyjinn.server.model.MonthlySettlementTransport; import org.laladev.moneyjinn.server.model.ShowMonthlySettlementCreateResponse; @@ -79,14 +78,12 @@ public class MonthlySettlementController extends AbstractController implements M private final IAccessRelationService accessRelationService; private final ImportedMonthlySettlementTransportMapper importedMonthlySettlementTransportMapper; private final MonthlySettlementTransportMapper monthlySettlementTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.monthlySettlementTransportMapper); this.registerBeanMapper(this.importedMonthlySettlementTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PostingAccountController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PostingAccountController.java index 0184a12a..02c5079a 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PostingAccountController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PostingAccountController.java @@ -31,7 +31,6 @@ import org.laladev.moneyjinn.model.validation.ValidationResult; import org.laladev.moneyjinn.server.controller.api.PostingAccountControllerApi; import org.laladev.moneyjinn.server.controller.mapper.PostingAccountTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreatePostingAccountRequest; import org.laladev.moneyjinn.server.model.CreatePostingAccountResponse; import org.laladev.moneyjinn.server.model.PostingAccountTransport; @@ -56,13 +55,11 @@ public class PostingAccountController extends AbstractController implements PostingAccountControllerApi { private final IPostingAccountService postingAccountService; private final PostingAccountTransportMapper postingAccountTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.postingAccountTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PreDefMoneyflowController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PreDefMoneyflowController.java index 19d91907..9bc7168f 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PreDefMoneyflowController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/PreDefMoneyflowController.java @@ -33,7 +33,6 @@ import org.laladev.moneyjinn.model.validation.ValidationResult; import org.laladev.moneyjinn.server.controller.api.PreDefMoneyflowControllerApi; import org.laladev.moneyjinn.server.controller.mapper.PreDefMoneyflowTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CreatePreDefMoneyflowRequest; import org.laladev.moneyjinn.server.model.CreatePreDefMoneyflowResponse; import org.laladev.moneyjinn.server.model.PreDefMoneyflowTransport; @@ -57,13 +56,11 @@ public class PreDefMoneyflowController extends AbstractController implements PreDefMoneyflowControllerApi { private final IPreDefMoneyflowService preDefMoneyflowService; private final PreDefMoneyflowTransportMapper preDefMoneyflowTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.preDefMoneyflowTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/UserController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/UserController.java index ed44d76d..bbdd5524 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/UserController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/UserController.java @@ -43,7 +43,6 @@ import org.laladev.moneyjinn.server.controller.mapper.AccessRelationTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.GroupTransportMapper; import org.laladev.moneyjinn.server.controller.mapper.UserTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.AccessRelationTransport; import org.laladev.moneyjinn.server.model.ChangePasswordRequest; import org.laladev.moneyjinn.server.model.CreateUserRequest; @@ -86,7 +85,6 @@ public class UserController extends AbstractController implements UserController private final AccessRelationTransportMapper accessRelationTransportMapper; private final GroupTransportMapper groupTransportMapper; private final UserTransportMapper userTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct @@ -94,7 +92,6 @@ protected void addBeanMapper() { this.registerBeanMapper(this.userTransportMapper); this.registerBeanMapper(this.groupTransportMapper); this.registerBeanMapper(this.accessRelationTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } private UsernamePasswordAuthenticationToken getUsernamePasswordAuthenticationToken(final LoginRequest request) { diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudCapitalsourceController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudCapitalsourceController.java index d60bbfa9..7772b553 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudCapitalsourceController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudCapitalsourceController.java @@ -35,7 +35,6 @@ import org.laladev.moneyjinn.server.controller.api.CrudCapitalsourceControllerApi; import org.laladev.moneyjinn.server.controller.impl.AbstractController; import org.laladev.moneyjinn.server.controller.mapper.CapitalsourceTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.CapitalsourceTransport; import org.laladev.moneyjinn.service.api.IAccessRelationService; import org.laladev.moneyjinn.service.api.ICapitalsourceService; @@ -60,13 +59,11 @@ public class CrudCapitalsourceController extends AbstractController implements C private final ICapitalsourceService capitalsourceService; private final IUserService userService; private final CapitalsourceTransportMapper capitalsourceTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.capitalsourceTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerAccountController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerAccountController.java index d0216bb6..201b8a00 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerAccountController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerAccountController.java @@ -34,7 +34,6 @@ import org.laladev.moneyjinn.server.controller.api.CrudContractpartnerAccountControllerApi; import org.laladev.moneyjinn.server.controller.impl.AbstractController; import org.laladev.moneyjinn.server.controller.mapper.ContractpartnerAccountTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.ContractpartnerAccountTransport; import org.laladev.moneyjinn.service.api.IContractpartnerAccountService; import org.springframework.http.ResponseEntity; @@ -56,13 +55,11 @@ public class CrudContractpartnerAccountController extends AbstractController implements CrudContractpartnerAccountControllerApi { private final IContractpartnerAccountService contractpartnerAccountService; private final ContractpartnerAccountTransportMapper contractpartnerAccountTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.contractpartnerAccountTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override diff --git a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerController.java b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerController.java index 67b54041..1ff5f3df 100644 --- a/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerController.java +++ b/moneyjinn-server/src/main/java/org/laladev/moneyjinn/server/controller/impl/crud/CrudContractpartnerController.java @@ -35,7 +35,6 @@ import org.laladev.moneyjinn.server.controller.api.CrudContractpartnerControllerApi; import org.laladev.moneyjinn.server.controller.impl.AbstractController; import org.laladev.moneyjinn.server.controller.mapper.ContractpartnerTransportMapper; -import org.laladev.moneyjinn.server.controller.mapper.ValidationItemTransportMapper; import org.laladev.moneyjinn.server.model.ContractpartnerTransport; import org.laladev.moneyjinn.service.api.IAccessRelationService; import org.laladev.moneyjinn.service.api.IContractpartnerAccountService; @@ -62,13 +61,11 @@ public class CrudContractpartnerController extends AbstractController implements private final IContractpartnerService contractpartnerService; private final IUserService userService; private final ContractpartnerTransportMapper contractpartnerTransportMapper; - private final ValidationItemTransportMapper validationItemTransportMapper; @Override @PostConstruct protected void addBeanMapper() { this.registerBeanMapper(this.contractpartnerTransportMapper); - this.registerBeanMapper(this.validationItemTransportMapper); } @Override