Package models

Examples of models.Interest.merge()


    public static void merge(@As(",") Long[] interests, Long survivorInterestId) {
        Interest survivorInterest = Interest.findById(survivorInterestId);
        if (interests != null) {
            for (Long interestToBeDeleted : interests) {
                Interest i = Interest.findById(interestToBeDeleted);
                i.merge(survivorInterest);
            }
            flash.success("Intérêts fusionnés");
        }
        edit();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.