Class AbstractMahoeSynchronizeJobSepaUeberweisung<C,I extends WebAccountInformation,M extends AbstractBankMessages<C,I>>

java.lang.Object
de.willuhn.jameica.hbci.synchronize.jobs.AbstractSynchronizeJob
de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJobSepaUeberweisung
de.frankmuenster.mahoe.jobs.AbstractMahoeSynchronizeJobSepaUeberweisung<C,I,M>
Type Parameters:
I - die bankspezifischen WebAccountInformation
M - die bankspezifische AbstractBankMessages
All Implemented Interfaces:
InterfaceMahoeSynchronizeJob, de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob

public abstract class AbstractMahoeSynchronizeJobSepaUeberweisung<C,I extends WebAccountInformation,M extends AbstractBankMessages<C,I>> extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJobSepaUeberweisung implements InterfaceMahoeSynchronizeJob
Abstrakte Klasse für SEPA-Überweisungen für Mahoe Konten. Hier verarbeiten wir hauptsächlich die Fehlerbehandlung.
Author:
Frank Münster
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected I
    Kontoinformationen
    protected de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung
    Das Konto
    protected boolean
    Ist Terminüberweisung
    protected de.willuhn.jameica.hbci.rmi.Konto
    Das Konto
    protected String
    Die Kundennummer.
    protected de.willuhn.util.ProgressMonitor
    Das Progessmonitor Objekt
    protected AbstractWebSite<C,I,M>
    Das Webseiten Objekt

    Fields inherited from class de.willuhn.jameica.hbci.synchronize.jobs.AbstractSynchronizeJob

    i18n

    Fields inherited from interface de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob

    CTX_ENTITY
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Standardkonstruktor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(de.willuhn.util.ProgressMonitor monitor, boolean lastJob)
    Führt den Job aus.
    Liefert Namen der Überweisung bestehend aus Gegenkonto und IBAN.
    protected abstract void
    Liefert das Webseiten-Objekt für die Bank.
    protected abstract void
    Legt die Überweisung bei der Bank an.
    protected abstract void
    Meldet das Webseiten-Objekt an der Bank an.
    protected void
    Markiert die Überweisung als Abgebrochen.
    protected void
    Markiert die Überweisung als ausgeführt.
    protected void
    Markiert die Überweisung als fehlgeschlagen.

    Methods inherited from class de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJobSepaUeberweisung

    isRecurring

    Methods inherited from class de.willuhn.jameica.hbci.synchronize.jobs.AbstractSynchronizeJob

    configure, getContext, getKonto, getName, setContext, setKonto

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob

    configure, getContext, getKonto, getName, isRecurring, setContext, setKonto
  • Field Details

    • konto

      protected transient de.willuhn.jameica.hbci.rmi.Konto konto
      Das Konto
    • aUeberweisung

      protected transient de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung aUeberweisung
      Das Konto
    • isTermin

      protected transient boolean isTermin
      Ist Terminüberweisung
    • kundennummer

      protected transient String kundennummer
      Die Kundennummer. Extra damit man nicht jedes mal die RemoteException abfangen muss.
    • webSite

      protected transient AbstractWebSite<C,I extends WebAccountInformation,M extends AbstractBankMessages<C,I>> webSite
      Das Webseiten Objekt
    • accountInfo

      protected transient I extends WebAccountInformation accountInfo
      Kontoinformationen
    • monitor

      protected transient de.willuhn.util.ProgressMonitor monitor
      Das Progessmonitor Objekt
  • Constructor Details

    • AbstractMahoeSynchronizeJobSepaUeberweisung

      protected AbstractMahoeSynchronizeJobSepaUeberweisung()
      Standardkonstruktor
  • Method Details

    • execute

      public void execute(de.willuhn.util.ProgressMonitor monitor, boolean lastJob) throws Exception
      Description copied from interface: InterfaceMahoeSynchronizeJob
      Führt den Job aus.
      Specified by:
      execute in interface InterfaceMahoeSynchronizeJob
      Throws:
      Exception
      See Also:
    • getTransferName

      public String getTransferName() throws RemoteException
      Liefert Namen der Überweisung bestehend aus Gegenkonto und IBAN.
      Returns:
      den Namen der Überweisung.
      Throws:
      RemoteException
    • getWebSite

      protected abstract void getWebSite() throws WebSiteException, de.willuhn.util.ApplicationException
      Liefert das Webseiten-Objekt für die Bank.
      Throws:
      WebSiteException
      de.willuhn.util.ApplicationException
    • handleGiroTransfer

      protected abstract void handleGiroTransfer() throws WebSiteException, de.willuhn.util.ApplicationException
      Legt die Überweisung bei der Bank an. Die IMplementierung ist für das markieren der Überweisung zuständig. Dazu stehen die Methoden markExecuted(), markFailed(String) und markCancelled() zur Verfügung.
      Throws:
      WebSiteException
      de.willuhn.util.ApplicationException
    • login

      protected abstract void login() throws WebSiteException, de.willuhn.util.ApplicationException
      Meldet das Webseiten-Objekt an der Bank an.
      Throws:
      WebSiteException
      de.willuhn.util.ApplicationException
    • markCancelled

      protected void markCancelled() throws de.willuhn.util.ApplicationException
      Markiert die Überweisung als Abgebrochen.
      Throws:
      de.willuhn.util.ApplicationException
    • markExecuted

      protected void markExecuted() throws de.willuhn.util.ApplicationException
      Markiert die Überweisung als ausgeführt.
      Throws:
      de.willuhn.util.ApplicationException
    • markFailed

      protected void markFailed(String error) throws de.willuhn.util.ApplicationException
      Markiert die Überweisung als fehlgeschlagen.
      Parameters:
      error - der Fehlertext.
      Throws:
      de.willuhn.util.ApplicationException