Package org.kapott.hbci.manager

Examples of org.kapott.hbci.manager.HBCIHandler


              passport.clearBPD();
            }
            if (HBCIUtils.getParam("action.resetUPD").equals("1")) {
              passport.clearUPD();
            }
            hbciHandle=new HBCIHandler(HBCIUtils.getParam("client.passport.hbciversion.default"),
                                       passport);

            /* HBCIExecStatus ret=hbciHandle.execute();
            System.out.println("ExecStatus");
            System.out.println(ret.toString());
View Full Code Here


    public static void main(String[] args)
        throws Exception
    {
        // HBCI Objekte
        HBCIPassport passport   = null;
        HBCIHandler  hbciHandle = null;

        // HBCI4Java initialisieren
        HBCIUtils.init(HBCIUtils.loadPropertiesFile(new FileSystemClassLoader(),"/home/stefan.palme/temp/a.props"),
                       new MyHBCICallback());

        // Nutzer-Passport initialisieren
        Object passportDescription="Passport f�r Kontoauszugs-Demo";
        passport=AbstractHBCIPassport.getInstance(passportDescription);

        try {
            // ein HBCI-Handle f�r einen Nutzer erzeugen
            String version=passport.getHBCIVersion();
            hbciHandle=new HBCIHandler((version.length()!=0)?version:"plus",passport);

            // Kontoausz�ge auflisten
            analyzeReportOfTransactions(passport, hbciHandle);

        } finally {
            if (hbciHandle!=null) {
                hbciHandle.close();
            } else if (passport!=null) {
                passport.close();
            }
        }
    }
View Full Code Here

        ////////////////////////////////////////////////////////////////////

        try
        {
          monitor.setStatusText(i18n.tr("�ffne HBCI-Verbindung"));
          HBCIHandler handler = this.handle.open();

          if (handler == null)
            throw new ApplicationException(i18n.tr("Fehler beim �ffnen der HBCI-Verbindung"));

          monitor.addPercentComplete(1);
View Full Code Here

     
      HBCIUtils.init(props,callback);
      this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
     
      // init handler
      this.handler = new HBCIHandler(params.getProperty("hbciversion"),passport);

      // dump bpd
      //this.dump("BPD",this.passport.getBPD());
     
      // Liste der unterstuetzten Geschaeftsvorfaelle ausgeben
View Full Code Here

   
    HBCIUtils.init(props,callback);
    this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
   
    // init handler
    this.handler = new HBCIHandler("300",passport);

    // dump bpd
    // this.dump("BPD",this.passport.getBPD());
   
    // Liste der unterstuetzten Geschaeftsvorfaelle ausgeben
View Full Code Here

     
      HBCIUtils.init(props,callback);
      this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
     
      // init handler
      this.handler = new HBCIHandler(params.getProperty("hbciversion"),passport);

      // dump bpd
      //this.dump("BPD",this.passport.getBPD());
     
      // Liste der unterstuetzten Geschaeftsvorfaelle ausgeben
View Full Code Here

     
      HBCIUtils.init(props,callback);
      this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
     
      // init handler
      this.handler = new HBCIHandler(params.getProperty("hbciversion"),passport);

      // dump bpd
      //this.dump("BPD",this.passport.getBPD());
     
      // Liste der unterstuetzten Geschaeftsvorfaelle ausgeben
View Full Code Here

   
    HBCIUtils.init(props,callback);
    this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
   
    // init handler
    this.handler = new HBCIHandler("plus",passport);

    // dump bpd
//    this.dump("BPD",this.passport.getBPD());
   
    //Liste der unterstuetzten Geschaeftsvorfaelle ausgeben
View Full Code Here

     
      HBCIUtils.init(props,callback);
      this.passport = (HBCIPassportPinTan) AbstractHBCIPassport.getInstance("PinTan");
     
      // init handler
      this.handler = new HBCIHandler(params.getProperty("hbciversion"),passport);
    }
View Full Code Here

   * @throws Exception
   */
  @Test
  public void testFetchSaldo() throws Exception
  {
    HBCIHandler handler = new HBCIHandler("210",passport);
    HBCIJob job = handler.newJob("SaldoReq");
   
    // wir nehmen wir die Saldo-Abfrage einfach das erste verfuegbare Konto
    job.setParam("my",passport.getAccounts()[0]);
    job.addToQueue();
    handler.execute();
  }
View Full Code Here

TOP

Related Classes of org.kapott.hbci.manager.HBCIHandler

Copyright © 2018 www.massapicom. 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.