Package org.mifosplatform.portfolio.savings.exception

Examples of org.mifosplatform.portfolio.savings.exception.SavingsOfficerUnassignmentException


      final Map<String, Object> actualChanges = new LinkedHashMap<>(5);
      this.fromApiJsonDeserializer.validateForUnAssignSavingsOfficer(command.json());
      
      final SavingsAccount savingsForUpdate = this.savingsRepository.findOneWithNotFoundDetection(savingsAccountId);
        if (savingsForUpdate.getSavingsOfficer() == null) { throw new SavingsOfficerUnassignmentException(savingsAccountId); }

        final LocalDate dateOfSavingsOfficerUnassigned = command.localDateValueOfParameterNamed("unassignedDate");
       
        savingsForUpdate.removeSavingsOfficer(dateOfSavingsOfficerUnassigned);
View Full Code Here

TOP

Related Classes of org.mifosplatform.portfolio.savings.exception.SavingsOfficerUnassignmentException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.