Class AbstractMahoeSynchronizeJobProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.util.List<java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob>> getJobs()
      Returns the list of synchronise jobs to that can be executed.
      java.util.List<java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob>> getJobTypes()  
      protected abstract java.util.Set<de.willuhn.jameica.hbci.rmi.KontoType> getSupportedAccountTypes()
      Returns the list of supported an account type.
      protected abstract boolean isBankSupported​(de.willuhn.jameica.hbci.rmi.Konto account)
      Checks if the bank of a given account is supported in terms of BLZ or BIC.
      protected abstract boolean isJobTypeSupported​(java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob> type, de.willuhn.jameica.hbci.rmi.Konto account)
      Checks if the jobType is supported by the given account.
      boolean supports​(java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob> type, de.willuhn.jameica.hbci.rmi.Konto konto)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface de.willuhn.jameica.hbci.synchronize.SynchronizeJobProvider

        getSynchronizeJobs
    • Constructor Detail

      • AbstractMahoeSynchronizeJobProvider

        protected AbstractMahoeSynchronizeJobProvider()
        Default constructor
    • Method Detail

      • getJobTypes

        public java.util.List<java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob>> getJobTypes()
        Specified by:
        getJobTypes in interface de.willuhn.jameica.hbci.synchronize.SynchronizeJobProvider
        See Also:
        SynchronizeJobProvider.getJobTypes()
      • supports

        public boolean supports​(java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob> type,
                                de.willuhn.jameica.hbci.rmi.Konto konto)
        Specified by:
        supports in interface de.willuhn.jameica.hbci.synchronize.SynchronizeJobProvider
        See Also:
        SynchronizeJobProvider.supports(Class, Konto)
      • getJobs

        protected abstract java.util.List<java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob>> getJobs()
        Returns the list of synchronise jobs to that can be executed.
        Returns:
        the list of synchronise jobs to that can be executed
      • getSupportedAccountTypes

        protected abstract java.util.Set<de.willuhn.jameica.hbci.rmi.KontoType> getSupportedAccountTypes()
        Returns the list of supported an account type.
        Returns:
        the list of supported an account type
      • isBankSupported

        protected abstract boolean isBankSupported​(de.willuhn.jameica.hbci.rmi.Konto account)
                                            throws java.rmi.RemoteException
        Checks if the bank of a given account is supported in terms of BLZ or BIC.
        Parameters:
        account - to check
        Returns:
        true in case the BLZ or BIC is supported, false else.
        Throws:
        java.rmi.RemoteException
      • isJobTypeSupported

        protected abstract boolean isJobTypeSupported​(java.lang.Class<? extends de.willuhn.jameica.hbci.synchronize.jobs.SynchronizeJob> type,
                                                      de.willuhn.jameica.hbci.rmi.Konto account)
                                               throws java.rmi.RemoteException
        Checks if the jobType is supported by the given account.
        Parameters:
        type - of the job
        account - to check
        Returns:
        true in case the BLZ or BIC is supported, false else.
        Throws:
        java.rmi.RemoteException