Examples of SaveTransaction()


Examples of sg.edu.nus.iss.se07.bc.TransactionManager.SaveTransaction()

        public boolean addTransactions(ArrayList<Tuple4<String, String, Integer, Date>> purchases, int newPoint) throws AppException {
                boolean success = true;

                TransactionManager dataObjectManager = new TransactionManager();
                try {
                        dataObjectManager.SaveTransaction(purchases);

                        int totalPoint = 0;
                        for (int i = 0; i < purchases.size(); i++) {
                                String productID = purchases.get(i).getItem1();
                                int amount = purchases.get(i).getItem3();
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.TransactionManager.SaveTransaction()

        public boolean addTransactions(ArrayList<Tuple4<String, String, Integer, Date>> purchases) throws AppException {
                boolean success = true;

                TransactionManager dataObjectManager = new TransactionManager();
                try {
                        dataObjectManager.SaveTransaction(purchases);

                        int totalPoint = 0;
                        for (int i = 0; i < purchases.size(); i++) {
                                String productID = purchases.get(i).getItem1();
                                int amount = purchases.get(i).getItem3();
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.