Package de.willuhn.jameica.hbci.rmi

Examples of de.willuhn.jameica.hbci.rmi.Konto.store()


            {
              if (changeCustId)
              {
                Logger.info("updating customerid in account ID " + k.getID());
                k.setKundennummer(pcr.custId);
                k.store();
               
                k.addToProtokoll(i18n.tr("Ge�nderte Kundenkennung - neu: {0}, alt: {1}",pcr.custId,custOld),Protokoll.TYP_SUCCESS);
                count++;
              }
View Full Code Here


    try {
      if (!k.hasFlag(Konto.FLAG_OFFLINE))
        throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein Offline-Konto aus"));

      if (k.isNewObject())
        k.store();
    }
    catch (RemoteException e)
    {
      Logger.error("error while syncing konto",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Synchronisieren des Kontos"));
View Full Code Here

      u.setSaldo(su);
      Konto k = u.getKonto();
      if (k.hasFlag(Konto.FLAG_OFFLINE) && u.isNewObject()) // BUGZILLA 1232
      {
        k.setSaldo(su);
        k.store();
        Application.getMessagingFactory().sendMessage(new SaldoMessage(k));
      }
     
      u.setCustomerRef((String)getCustomerRef().getValue());
      u.setDatum(du);
View Full Code Here

      // Konto zuruecksetzen
      k.transactionBegin();
      k.reset();
      k.setFlags(k.getFlags() | Konto.FLAG_DISABLED);
      k.store();

      Logger.info("disabled account id: " + k.getID());

      // Dauerauftraege, die noch bei der Bank liegen als offline markieren
      DBIterator dalist = k.getDauerauftraege();
View Full Code Here

      if (!Application.getCallback().askUser(q))
        return;

      k.reset();
      k.store();
      Application.getMessagingFactory().sendMessage(new ObjectChangedMessage(k));
      Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Datum zur�ckgesetzt."), StatusBarMessage.TYPE_SUCCESS));
    }
    catch (Exception e)
    {
View Full Code Here

    Konto k = (Konto) context;
   
    try
    {
      if (k.isNewObject())
        k.store(); // wir speichern eigenmaechtig
    }
    catch (RemoteException e)
    {
      Logger.error("error while storing konto",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Speichern des Kontos"));
View Full Code Here

    try
    {
      final Konto konto = (Konto) context;

      if (konto.isNewObject())
        konto.store();

      Class<SynchronizeJobKontoauszug> type = SynchronizeJobKontoauszug.class;

      BeanService bs = Application.getBootLoader().getBootable(BeanService.class);
      SynchronizeEngine engine   = bs.get(SynchronizeEngine.class);
View Full Code Here

    if (isImport)
      k.setSaldo(saldo + betrag);
    else
      k.setSaldo(saldo - betrag);

    k.store();
   
    // Geaendertes Konto bekanntmachen
    Application.getMessagingFactory().sendMessage(new ObjectChangedMessage(k));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.