Examples of KontoType


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

      Integer current = result.getAccountType();
      if ((current == null && accType != null) || (current != null && accType != null && !current.equals(accType))) // Neu oder hat sich geaendert
      {
        try
        {
          KontoType kt = KontoType.find(accType);
          Logger.info("auto-completing account type (value: " + accType + " - " + kt + ", old value: " + current + ") for account ID: " + result.getID());
          result.setAccountType(accType);
          result.store();
        }
        catch (Exception e)
View Full Code Here

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

   * @see de.willuhn.jameica.gui.input.SelectInput#getValue()
   */
  @Override
  public Object getValue()
  {
    KontoType type = (KontoType) super.getValue();
    if (type == null)
      return null; // Explizit nichts ausgewaehlt
   
    // Wenn immer noch die selbe Art ausgewaehlt ist, wie die von "current", dann liefern
    // wir den originalen Int-Wert, nicht den der Enum
    KontoType currentType = current != null ? KontoType.find(current) : null;
   
    if (currentType != null && currentType.equals(type))
      return current;
   
    // Ansonsten den neuen
    return type.getValue();
  }
View Full Code Here

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

    for (Konto kt:backend.getSynchronizeKonten(k))
    {
      try
      {
        // Checken, ob das vielleicht ein nicht unterstuetztes Konto ist
        KontoType type = KontoType.find(kt.getAccountType());
       
        // Typ passt nicht
        if (type != null && UNSUPPORTED.contains(type))
          continue;
View Full Code Here

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

  {
    // Kein Konto angegeben. Dann gehen wir mal davon aus, dass es geht
    if (k == null)
      return true;
   
    KontoType kt = null;
    try
    {
      // Checken, ob das vielleicht ein nicht unterstuetztes Konto ist
      kt = KontoType.find(k.getAccountType());
View Full Code Here

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

   * @param konto das Konto, fuer das der Job gesucht wird.
   * @return die passende Implementierung oder null, wenn keine Implementierung gefunden wurde.
   */
  protected Class<? extends SynchronizeJob> getImplementor(final Class<? extends SynchronizeJob> type, final Konto konto)
  {
    KontoType kt = null;
    String id = null;
    try
    {
      kt = KontoType.find(konto != null ? konto.getAccountType() : null);
      id = konto != null ? konto.getID() : null;
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.