From 9649f0aba4febd1cba2f18eee7d607827fb2fb7e Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Fri, 7 Sep 2012 13:31:57 +1000 Subject: [PATCH] commit item identified as uncommitted after git pull --rebase --- .../ApiDataConversionService.java | 136 +++++++++--------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/mifosng-provider/src/main/java/org/mifosng/platform/api/infrastructure/ApiDataConversionService.java b/mifosng-provider/src/main/java/org/mifosng/platform/api/infrastructure/ApiDataConversionService.java index 3d18f3ab5..a2cd88043 100644 --- a/mifosng-provider/src/main/java/org/mifosng/platform/api/infrastructure/ApiDataConversionService.java +++ b/mifosng-provider/src/main/java/org/mifosng/platform/api/infrastructure/ApiDataConversionService.java @@ -1,69 +1,69 @@ -package org.mifosng.platform.api.infrastructure; - -import org.mifosng.platform.api.commands.AdjustLoanTransactionCommand; -import org.mifosng.platform.api.commands.BranchMoneyTransferCommand; -import org.mifosng.platform.api.commands.ChargeCommand; -import org.mifosng.platform.api.commands.ClientCommand; -import org.mifosng.platform.api.commands.DepositAccountCommand; -import org.mifosng.platform.api.commands.DepositProductCommand; -import org.mifosng.platform.api.commands.DepositStateTransitionApprovalCommand; -import org.mifosng.platform.api.commands.DepositStateTransitionCommand; -import org.mifosng.platform.api.commands.FundCommand; -import org.mifosng.platform.api.commands.GroupCommand; -import org.mifosng.platform.api.commands.LoanProductCommand; -import org.mifosng.platform.api.commands.LoanStateTransitionCommand; -import org.mifosng.platform.api.commands.LoanTransactionCommand; -import org.mifosng.platform.api.commands.NoteCommand; -import org.mifosng.platform.api.commands.OfficeCommand; -import org.mifosng.platform.api.commands.OrganisationCurrencyCommand; -import org.mifosng.platform.api.commands.RoleCommand; -import org.mifosng.platform.api.commands.SavingProductCommand; -import org.mifosng.platform.api.commands.StaffCommand; -import org.mifosng.platform.api.commands.LoanApplicationCommand; -import org.mifosng.platform.api.commands.UserCommand; - -public interface ApiDataConversionService { - - ChargeCommand convertJsonToChargeCommand(Long resourceIdentifier, String json); - - FundCommand convertJsonToFundCommand(Long resourceIdentifier, String json); - - OfficeCommand convertJsonToOfficeCommand(Long resourceIdentifier, String json); - - RoleCommand convertJsonToRoleCommand(Long resourceIdentifier, String json); - - UserCommand convertJsonToUserCommand(Long resourceIdentifier, String json); - - BranchMoneyTransferCommand convertJsonToBranchMoneyTransferCommand(String jsonRequestBody); - - LoanProductCommand convertJsonToLoanProductCommand(Long resourceIdentifier, String json); - - SavingProductCommand convertJsonToSavingProductCommand(Long resourceIdentifier, String json); - - DepositProductCommand convertJsonToDepositProductCommand(Long resourceIdentifier, String json); - - ClientCommand convertJsonToClientCommand(Long resourceIdentifier, String jsonRequestBody); - - GroupCommand convertJsonToGroupCommand(Long resourceIdentifier, String jsonRequestBody); - - LoanApplicationCommand convertJsonToLoanApplicationCommand(Long resourceIdentifier, String jsonRequestBody); - - LoanStateTransitionCommand convertJsonToLoanStateTransitionCommand(Long resourceIdentifier, String jsonRequestBody); - - LoanTransactionCommand convertJsonToLoanTransactionCommand(Long resourceIdentifier, String jsonRequestBody); - - AdjustLoanTransactionCommand convertJsonToAdjustLoanTransactionCommand( - Long loanId, Long transactionId, String jsonRequestBody); - - OrganisationCurrencyCommand convertJsonToOrganisationCurrencyCommand(String jsonRequestBody); - - NoteCommand convertJsonToNoteCommand(Long resourceIdentifier, Long clientId, String jsonRequestBody); - - DepositAccountCommand convertJsonToDepositAccountCommand(Long resourceIdentifier, String jsonRequestBody); - - DepositStateTransitionCommand convertJsonToDepositStateTransitionCommand(Long resourceIdentifier, String jsonRequestBody); - - DepositStateTransitionApprovalCommand convertJsonToDepositStateTransitionApprovalCommand(Long resourceIdentifier, String jsonRequestBody); - - StaffCommand convertJsonToStaffCommand(Long resourceIdentifier, String json); +package org.mifosng.platform.api.infrastructure; + +import org.mifosng.platform.api.commands.AdjustLoanTransactionCommand; +import org.mifosng.platform.api.commands.BranchMoneyTransferCommand; +import org.mifosng.platform.api.commands.ChargeCommand; +import org.mifosng.platform.api.commands.ClientCommand; +import org.mifosng.platform.api.commands.DepositAccountCommand; +import org.mifosng.platform.api.commands.DepositProductCommand; +import org.mifosng.platform.api.commands.DepositStateTransitionApprovalCommand; +import org.mifosng.platform.api.commands.DepositStateTransitionCommand; +import org.mifosng.platform.api.commands.FundCommand; +import org.mifosng.platform.api.commands.GroupCommand; +import org.mifosng.platform.api.commands.LoanProductCommand; +import org.mifosng.platform.api.commands.LoanStateTransitionCommand; +import org.mifosng.platform.api.commands.LoanTransactionCommand; +import org.mifosng.platform.api.commands.NoteCommand; +import org.mifosng.platform.api.commands.OfficeCommand; +import org.mifosng.platform.api.commands.OrganisationCurrencyCommand; +import org.mifosng.platform.api.commands.RoleCommand; +import org.mifosng.platform.api.commands.SavingProductCommand; +import org.mifosng.platform.api.commands.StaffCommand; +import org.mifosng.platform.api.commands.LoanApplicationCommand; +import org.mifosng.platform.api.commands.UserCommand; + +public interface ApiDataConversionService { + + ChargeCommand convertJsonToChargeCommand(Long resourceIdentifier, String json); + + FundCommand convertJsonToFundCommand(Long resourceIdentifier, String json); + + OfficeCommand convertJsonToOfficeCommand(Long resourceIdentifier, String json); + + RoleCommand convertJsonToRoleCommand(Long resourceIdentifier, String json); + + UserCommand convertJsonToUserCommand(Long resourceIdentifier, String json); + + BranchMoneyTransferCommand convertJsonToBranchMoneyTransferCommand(String jsonRequestBody); + + LoanProductCommand convertJsonToLoanProductCommand(Long resourceIdentifier, String json); + + SavingProductCommand convertJsonToSavingProductCommand(Long resourceIdentifier, String json); + + DepositProductCommand convertJsonToDepositProductCommand(Long resourceIdentifier, String json); + + ClientCommand convertJsonToClientCommand(Long resourceIdentifier, String jsonRequestBody); + + GroupCommand convertJsonToGroupCommand(Long resourceIdentifier, String jsonRequestBody); + + LoanApplicationCommand convertJsonToLoanApplicationCommand(Long resourceIdentifier, String jsonRequestBody); + + LoanStateTransitionCommand convertJsonToLoanStateTransitionCommand(Long resourceIdentifier, String jsonRequestBody); + + LoanTransactionCommand convertJsonToLoanTransactionCommand(Long resourceIdentifier, String jsonRequestBody); + + AdjustLoanTransactionCommand convertJsonToAdjustLoanTransactionCommand( + Long loanId, Long transactionId, String jsonRequestBody); + + OrganisationCurrencyCommand convertJsonToOrganisationCurrencyCommand(String jsonRequestBody); + + NoteCommand convertJsonToNoteCommand(Long resourceIdentifier, Long clientId, String jsonRequestBody); + + DepositAccountCommand convertJsonToDepositAccountCommand(Long resourceIdentifier, String jsonRequestBody); + + DepositStateTransitionCommand convertJsonToDepositStateTransitionCommand(Long resourceIdentifier, String jsonRequestBody); + + DepositStateTransitionApprovalCommand convertJsonToDepositStateTransitionApprovalCommand(Long resourceIdentifier, String jsonRequestBody); + + StaffCommand convertJsonToStaffCommand(Long resourceIdentifier, String json); } \ No newline at end of file