Class AbstractWebSite<C,​I extends WebAccountInformation,​M extends AbstractBankMessages<C>>

    • Field Detail

      • TABLE_TAG

        protected static final java.lang.String TABLE_TAG
        HTML Tag einer Tabelle
        See Also:
        Constant Field Values
      • NON_BREAK_SPACE

        public static final java.lang.String NON_BREAK_SPACE
        Non breaking space unicode
        See Also:
        Constant Field Values
      • webClient

        protected C webClient
        Unser WebClient
    • Constructor Detail

      • AbstractWebSite

        protected AbstractWebSite​(de.willuhn.jameica.hbci.rmi.Konto konto)
                           throws WebSiteException
        Unser Konstruktor. Nur zugänglich für Sub-Klassen.
        Parameters:
        konto - das Konto
        Throws:
        WebSiteException
    • Method Detail

      • getGenericClassParameter

        public static <T> java.lang.Class<T> getGenericClassParameter​(java.lang.Class<?> parameterizedSubClass,
                                                                      java.lang.Class<?> genericSuperClass,
                                                                      int pos)
        Searches and returns the class of a generic Type with the given position in the given superclass. Takes into account the complete hierarchy.
        Parameters:
        parameterizedSubClass -
        genericSuperClass -
        pos -
        Returns:
        the class
      • getMessages

        public int getMessages​(I accountInfo)
                        throws WebSiteException,
                               de.willuhn.util.ApplicationException
        Lädt neue Bank-Nachrichten.
        Specified by:
        getMessages in interface WebSite<C>
        Parameters:
        accountInfo -
        Returns:
        die Anzahl an gespeicherten Nachrichten
        Throws:
        WebSiteException
        de.willuhn.util.ApplicationException
      • getStartdate

        protected abstract java.util.Calendar getStartdate()
        Das Datum, ab dem Umsätze und Banknachrichten abgerufen werden sollen, falls noch keine Umsätze vorliegen.
        Returns:
        das StartDatum
      • getWebClient

        protected abstract C getWebClient()
        Erstellt den bankspezifischen WebClient.
        Returns:
        den WebClient
      • setAccountBasicInfo

        protected final void setAccountBasicInfo​(de.willuhn.jameica.hbci.rmi.Konto konto)
                                          throws WebSiteException
        Creates a new WebAccountInformation object for the bank from the given account. Then is sets the account and the last Transaction date.
        Parameters:
        konto - the account to take the information from.
        Throws:
        WebSiteException