Exemple #1
0
 public void update(GlbRoleDao attrs) throws RemoteException {
   try {
     this.attrs = attrs;
     dao.update(this.attrs);
   } catch (Exception ex) {
     ex.toString();
   }
 }
Exemple #2
0
 public void insert(GlbRoleDao attrs) throws RemoteException, DupKeyException {
   try {
     this.attrs = attrs;
     dao.create(this.attrs);
     dao.update(this.attrs);
   } catch (DupKeyException dkex) {
     throw dkex;
   } catch (Exception ex) {
     ex.toString();
   }
 }