Package org.mifosplatform.portfolio.savings.exception

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


        }
        if(toSavingsOfficerId != null)
        {
          toSavingsOfficer = this.staffRepository.findByOfficeHierarchyWithNotFoundDetection(toSavingsOfficerId, savingsForUpdate.office().getHierarchy());
        }
        if (!savingsForUpdate.hasSavingsOfficer(fromSavingsOfficer)) { throw new SavingsOfficerAssignmentException(savingsAccountId, fromSavingsOfficerId); }

        savingsForUpdate.reassignSavingsOfficer(toSavingsOfficer,dateOfSavingsOfficerAssignment);

        this.savingsRepository.saveAndFlush(savingsForUpdate);
View Full Code Here

TOP

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

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.