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

    }
  }
Beispiel #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));
   }
 }
Beispiel #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));
   }
 }