Ejemplo n.º 1
0
 public void update(GlbRoleDao attrs) throws RemoteException {
   try {
     this.attrs = attrs;
     dao.update(this.attrs);
   } catch (Exception ex) {
     ex.toString();
   }
 }
Ejemplo n.º 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();
   }
 }