api docs update

This commit is contained in:
John Woodlock
2012-05-28 16:27:03 +10:00
parent 59e29f9b6a
commit d487c7a0fe
2 changed files with 10 additions and 7 deletions
+4 -1
View File
@@ -24,4 +24,7 @@ create new user... didn't check repeatPassword (see example in docs) but does in
takes 4/5 seconds! takes 4/5 seconds!
update: give hardtofigureout error msg when using equivalent to create parameters...worked ok with ones in docs tho. update: give hardtofigureout error msg when using equivalent to create parameters...worked ok with ones in docs tho.
delete: does delete (I delete super1), no 200 ok returned, "org.springframework.dao.InvalidDataAccessApiUsageException: attempt to create merge event with null entity; " if delete a non-existant user delete: does delete (I delete super1), no 200 ok returned, "org.springframework.dao.InvalidDataAccessApiUsageException: attempt to create merge event with null entity; " if delete a non-existant user
Loan Product
List - interestRateCalculatedInPeriod is it usefult to show this field...also enums questionsor show only a few cos on loan template
@@ -143,15 +143,15 @@ public class LoanProductReadPlatformServiceImpl implements LoanProductReadPlatfo
MoneyData toleranceMoney = MoneyData.of(currencyData, tolerance); MoneyData toleranceMoney = MoneyData.of(currencyData, tolerance);
BigDecimal interestRatePerPeriod = rs.getBigDecimal("interestRatePerPeriod"); BigDecimal interestRatePerPeriod = rs.getBigDecimal("interestRatePerPeriod");
Integer interestRatePeriod = JdbcSupport.getInteger(rs, "interestRatePerPeriodFreq"); int interestRatePeriod = JdbcSupport.getInteger(rs, "interestRatePerPeriodFreq");
BigDecimal annualInterestRate = rs.getBigDecimal("annualInterestRate"); BigDecimal annualInterestRate = rs.getBigDecimal("annualInterestRate");
Integer interestMethod = JdbcSupport.getInteger(rs, "interestMethod"); int interestMethod = JdbcSupport.getInteger(rs, "interestMethod");
Integer interestCalculationInPeriodMethod = JdbcSupport.getInteger(rs, "interestCalculationInPeriodMethod"); int interestCalculationInPeriodMethod = JdbcSupport.getInteger(rs, "interestCalculationInPeriodMethod");
Integer repaidEvery = JdbcSupport.getInteger(rs, "repaidEvery"); Integer repaidEvery = JdbcSupport.getInteger(rs, "repaidEvery");
Integer repaymentFrequency = JdbcSupport.getInteger(rs, "repaymentPeriodFrequency"); int repaymentFrequency = JdbcSupport.getInteger(rs, "repaymentPeriodFrequency");
Integer numberOfRepayments = JdbcSupport.getInteger(rs, "numberOfRepayments"); Integer numberOfRepayments = JdbcSupport.getInteger(rs, "numberOfRepayments");
Integer amortizationMethod = JdbcSupport.getInteger(rs, "amortizationMethod"); int amortizationMethod = JdbcSupport.getInteger(rs, "amortizationMethod");
DateTime createdOn = JdbcSupport.getDateTime(rs, "createdon"); DateTime createdOn = JdbcSupport.getDateTime(rs, "createdon");
DateTime lastModifedOn = JdbcSupport.getDateTime(rs, "modifiedon"); DateTime lastModifedOn = JdbcSupport.getDateTime(rs, "modifiedon");
@@ -160,7 +160,7 @@ public class LoanProductReadPlatformServiceImpl implements LoanProductReadPlatfo
interestRatePerPeriod, interestRatePeriod, interestRatePerPeriod, interestRatePeriod,
annualInterestRate, interestMethod, interestCalculationInPeriodMethod, annualInterestRate, interestMethod, interestCalculationInPeriodMethod,
repaidEvery, repaidEvery,
repaymentFrequency, numberOfRepayments, amortizationMethod, repaymentFrequency, numberOfRepayments, amortizationMethod,
toleranceMoney, createdOn, lastModifedOn); toleranceMoney, createdOn, lastModifedOn);
} }