Ejemplo n.º 1
0
  /**
   * Als Context kann eine Sammel-Lastschrift oder eine einzelne Buchung einer Lastschrift angegeben
   * werden. Abhaengig davon wird entweder eine neue Buchung erzeugt oder die existierende
   * geoeffnet.
   *
   * @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object)
   */
  public void handleAction(Object context) throws ApplicationException {
    SammelLastBuchung u = null;

    if (context instanceof SammelLastBuchung) {
      u = (SammelLastBuchung) context;
    }
    GUI.startView(de.willuhn.jameica.hbci.gui.views.SammelLastBuchungNew.class, u);
  }
Ejemplo n.º 2
0
    /**
     * @see
     *     de.willuhn.jameica.messaging.MessageConsumer#handleMessage(de.willuhn.jameica.messaging.Message)
     */
    public void handleMessage(Message message) throws Exception {
      if (transfer == null) return;

      GenericObject o = ((ObjectChangedMessage) message).getObject();
      if (o == null) return;

      // View neu laden
      if (transfer.equals(o)) GUI.startView(AuslandsUeberweisungNew.this, transfer);
    }
Ejemplo n.º 3
0
  /**
   * Erwartet ein Objekt vom Typ <code>Konto</code> im Context.
   *
   * @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object)
   */
  public void handleAction(Object context) throws ApplicationException {
    I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
    if (context == null || !(context instanceof Konto))
      throw new ApplicationException(i18n.tr("Bitte wählen Sie ein Konto aus."));

    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"));
    }
    GUI.startView(de.willuhn.jameica.hbci.gui.views.UmsatzList.class, k);
  }
Ejemplo n.º 4
0
  /** @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object) */
  public void handleAction(Object context) throws ApplicationException {
    Anlagevermoegen a = null;
    if (context != null) {
      if (context instanceof Mandant) {
        try {
          a = (Anlagevermoegen) Settings.getDBService().createObject(Anlagevermoegen.class, null);
          a.setMandant((Mandant) context);
        } catch (RemoteException e) {
          Logger.error("error while creating anlagevermoegen", e);
        }
      } else {
        a = (Anlagevermoegen) context;
      }
    }

    GUI.startView(de.willuhn.jameica.fibu.gui.views.AnlagevermoegenNeu.class, a);
  }
Ejemplo n.º 5
0
 /** @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object) */
 public void handleAction(Object context) throws ApplicationException {
   GUI.startView(de.willuhn.jameica.gui.internal.views.Backup.class, null);
 }
 public void handleAction(Object context) {
   GUI.startView(FamilienbeitragView.class.getName(), null);
 }
Ejemplo n.º 7
0
 /** @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object) */
 public void handleAction(Object context) throws ApplicationException {
   GUI.startView(de.willuhn.jameica.hbci.gui.views.SammelUeberweisungList.class, null);
 }
Ejemplo n.º 8
0
 /** @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object) */
 public void handleAction(Object context) throws ApplicationException {
   GUI.startView(de.willuhn.jameica.fibu.gui.views.AnlagevermoegenListe.class, context);
 }
 @Override
 public void handleAction(Object context) {
   GUI.startView(ZusatzbetraegelisteView.class.getName(), null);
 }
 @Override
 public void handleAction(Object context) {
   GUI.startView(QIFBuchungsImportView.class.getName(), null);
 }