Examples of Turnus


Examples of de.willuhn.jameica.hbci.rmi.Turnus

    {
      try
      {
        Date first = (Date) getErsteZahlung().getValue();
        Date last  = (Date) getLetzteZahlung().getValue();
        Turnus t   = (Turnus) getTurnus().getValue();
        if (first == null || t == null)
          return;

        Date next = TurnusHelper.getNaechsteZahlung(first,last,t,new Date());
        if (next != null)
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.Turnus

        Date next = a.getNaechsteZahlung();
        table.add(new TextPrint(i18n.tr("N�chste Zahlung"),fontNormal));
        table.add(new TextPrint(next == null ? "-" : HBCI.DATEFORMAT.format(next),fontNormal));

        Turnus turnus = a.getTurnus();
        table.add(new TextPrint(i18n.tr("Turnus"),fontNormal));
        table.add(new TextPrint(turnus == null ? "-" : turnus.getBezeichnung(),fontBold));

        // Leerzeile
        table.add(new LineBreakPrint(fontNormal));
        table.add(new LineBreakPrint(fontNormal));
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.Turnus

        Date next = a.getNaechsteZahlung();
        table.add(new TextPrint(i18n.tr("N�chste Zahlung"),fontNormal));
        table.add(new TextPrint(next == null ? "-" : HBCI.DATEFORMAT.format(next),fontNormal));

        Turnus turnus = a.getTurnus();
        table.add(new TextPrint(i18n.tr("Turnus"),fontNormal));
        table.add(new TextPrint(turnus == null ? "-" : turnus.getBezeichnung(),fontBold));

        // Leerzeile
        table.add(new LineBreakPrint(fontNormal));
        table.add(new LineBreakPrint(fontNormal));
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.Turnus

    TurnusDialog td = new TurnusDialog(TurnusDialog.POSITION_MOUSE);
    td.addCloseListener(new Listener() {
      public void handleEvent(Event event) {
        if (event == null || event.data == null)
          return;
        Turnus choosen = (Turnus) event.data;
        try
        {
          ((Dauerauftrag)getTransfer()).setTurnus(choosen);
          getTurnus().setText(choosen.getBezeichnung());
          nextDate.handleEvent(null);
        }
        catch (RemoteException e)
        {
          Logger.error("error while choosing turnus",e);
          GUI.getStatusBar().setErrorText(i18n.tr("Fehler bei der Auswahl des Zahlungsturnus"));
        }
      }
    });

    Dauerauftrag da = (Dauerauftrag) getTransfer();
    Turnus t = da.getTurnus();
    turnus = new DialogInput(t == null ? "" : t.getBezeichnung(),td);
    turnus.setValue(t);
    turnus.setMandatory(true);
   
    if (da.isActive())
    {
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.Turnus

    {
      try
      {
        Date first = (Date) getErsteZahlung().getValue();
        Date last  = (Date) getLetzteZahlung().getValue();
        Turnus t   = (Turnus) getTurnus().getValue();
        if (first == null || t == null)
          return;

        Date next = TurnusHelper.getNaechsteZahlung(first,last,t,first);
        if (next != null)
View Full Code Here

Examples of de.willuhn.jameica.hbci.rmi.Turnus

   */
  private void handleStore() throws ApplicationException
  {
    try
    {
      Turnus t = getTurnus();
      if (t.isInitial())
        throw new ApplicationException(i18n.tr("Turnus ist Bestandteil der System-Daten und kann nicht ge�ndert werden."));
       
      Zeiteinheit zh = (Zeiteinheit) getZeiteinheit().getValue();
      t.setZeiteinheit(zh.id);
      if (zh.id == Turnus.ZEITEINHEIT_WOECHENTLICH)
      {
        Tag tag = (Tag)getTagWoechentlich().getValue();
        t.setTag(tag.id);
      }
      else
      {
        String s = (String)getTagMonatlich().getValue();
        if (this.lastOfMonth.equals(s))
          t.setTag(HBCIProperties.HBCI_LAST_OF_MONTH);
        else if (this.pleaseChoose.equals(s))
          t.setTag(1);
        else
          t.setTag(Integer.parseInt(s));
      }

      t.setIntervall(Integer.parseInt((String)getIntervall().getValue()));
      t.store();
    }
    catch (RemoteException re)
    {
      Logger.error("error while storing turnus",re);
      throw new ApplicationException(re.getMessage());
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.