Example #1
0
  @Override
  public void load() {
    try {
      load(AccountIO.find(false, dc).elements());
    } catch (SQLException ex) {

    }
  }
Example #2
0
 @Override
 public void modification(Param current, Param p) throws SQLException {
   if (p instanceof Account) {
     Account c = (Account) p;
     AccountIO.update(c, dc);
     desktop.getDataCache().update(c);
     desktop.postEvent(new GemEvent(this, GemEvent.MODIFICATION, GemEvent.ACCOUNT, c));
   }
 }
Example #3
0
 @Override
 /** @see net.algem.ctrl.parametres.ParamTableCtrl#insertion */
 public void insertion(Param p) throws SQLException {
   if (p instanceof Account) {
     Account c = (Account) p;
     AccountIO.insert(c, dc);
     desktop.getDataCache().add(c);
     desktop.postEvent(new GemEvent(this, GemEvent.CREATION, GemEvent.ACCOUNT, c));
   }
 }