// private String SetActionRoleInDBOnInit() { String strInit = ""; // Create Actions from Constant vars strInit = new MysqlDbJoinDAO().SaveInObjects( createIBrowserArrInDB( 3, OAuthDbCONST.DB_ACTIONS, new ActionDb() ) ); // Create Roles from Constant vars strInit += new MysqlDbJoinDAO().SaveInObjects( createIBrowserArrInDB( 3, OAuthDbCONST.DB_ROLES, new Role() ) ); return(strInit); }
// Call the MysqlJoin class > with Transaction Command private String saveInDb() { MysqlDbJoinDAO mngrJoin = new MysqlDbJoinDAO(); return(mngrJoin.SaveInObjects(this.roleActions)); }