RRRRHHHH_Code
7bf57b2f0f2b3cf0ae9489a8204918762e64648e
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
package businessLogic; import dataAccess.DB4oManager; import domain.Account; public class AccountManager { private DB4oManager dbMngr; public AccountManager() { try { dbMngr = DB4oManager.getInstance(); } catch (Exception e) { e.printStackTrace(); } } public boolean addAccount(Account ac){ if(this.dbMngr.addAccount(ac)) return true; return false; } public boolean removeAccount(Account ac){ if(this.dbMngr.removeAccount(ac)) return true; return false; } } |
Commits for RRRRHHHH_CoderuralHouses/src/businessLogic/AccountManager.java
Revision | Author | Commited | Message |
---|---|---|---|
7bf57b ... | camjan | Sun 17 May, 2015 11:59:22 +0000 | Possibility of registering new owners added |