Package it.highwaytech.db

Examples of it.highwaytech.db.Title


    for (int i = 0; i < indexes.size(); i++) {
      TitleBean titleBean = new TitleBean();
      int num = ((Integer) indexes.get(i)).intValue();
      int numDoc = xwConn.getNumDoc(xwConn.connection, xwConn.getTheDb(), qr, num, buffer);
      titleBean.setPhysDoc(String.valueOf(numDoc));
      Title titArch = xwConn.getTitle(xwConn.connection, xwConn.getTheDb(), qr, num);
      titleBean.setTitle(titArch.getTitle());
      int firstSon = xwConn.getNumDocFirstSon(numDoc);
      titleBean.setFirstSon(firstSon);
      String xmlDoc = xwConn.getSingleXMLFromNumDoc(numDoc);
      try {
        it.highwaytech.db.HierPath thePath = xwConn.getHierPath(numDoc);
View Full Code Here


          titlesPage.setPages(Integer.parseInt(keyCountQuery), totElements, Integer.parseInt(startPage));
        }
        int ilPrimo = titlesPage.getFirstElement() - 1;
        for (int x = 0; x < Integer.parseInt(keyCountQuery); x++) {
          if (x + ilPrimo < totElements) {
            Title titolo = xwconn.getTitle(xwconn.connection, workFlowBean.getArchiveLookup().getAlias(), qr, x + ilPrimo);
            System.out.println(titolo.getTitle());
            titleList.add(titolo.getTitle());
          }
        }
        System.out.println("Lookup.execute()44444" + qr);
        modelMap.put("selId", qr.id);
        System.out.println("Lookup.execute()6666666" + qr);
View Full Code Here

          hierBrowserBean.setFirstDocNumber(firstDocNumber);
          int lastDocNumber = ((it.highwaytech.db.HierTitle) vectHierTitle.lastElement()).docNumber();
          hierBrowserBean.setLastDocNumber(lastDocNumber);
          boolean opened = theTitle.isOpened();
          hierBrowserBean.setOpened(opened);
          Title titArch = xwconn.getTitle(xwconn.connection, xwconn.getTheDb(), theTitle.docNumber());
          // System.out.println("HierBrowserPageCommand.execute() title docNumber aa "+theTitle.docNumber(xwconn.getTheDb(),
          // xwconn.getServerConnection(xwconn.connection),
          // theTitle.depth()));
          // System.out.println("HierBrowserPageCommand.execute() title docNumber bb "+theTitle.docNumber());
          // System.out.println("HierBrowserPageCommand.execute() title "+title);
          // System.out.println("HierBrowserPageCommand.execute() title "+titArch.getTitle());
          String title = titArch.getTitle();
          hierBrowserBean.setTitle(title);
          boolean lastChild = theTitle.hasBrothers(theTitle.depth());
          hierBrowserBean.setLastChild(!lastChild);
          if (theTitle.depth() > 1) {
            boolean fatherLastChild = theTitle.hasBrothers(theTitle.depth() - 1);
View Full Code Here

    elements = new ArrayList();
    StringBuffer buffer = new StringBuffer();
    for (int i = 0; i < indexes.size(); i++) {
      int num = ((Integer) indexes.get(i)).intValue();
      int numDoc = xwConn.getNumDoc(xwConn.connection, xwConn.getTheDb(), qr, num, buffer);
      Title titArch = xwConn.getTitle(xwConn.connection, xwConn.getTheDb(), qr, num);
      // elements.addElement(String.valueOf(numDoc) + "\260" + buffer.toString() + "[@archive@]" + titArch.getTitle());
      elements.add(String.valueOf(numDoc) + "\260" + titArch.getTitle());
    }

    return elements;
  }
View Full Code Here

    elements = new ArrayList();
    StringBuffer buffer = new StringBuffer();
    for (int i = 0; i < indexes.size(); i++) {
      int num = ((Integer) indexes.get(i)).intValue();
      int numDoc = xwConn.getNumDoc(xwConn.connection, xwConn.getTheDb(), qr, num, buffer);
      Title titArch = xwConn.getTitle(xwConn.connection, xwConn.getTheDb(), qr, num);
      int firstSon = xwConn.getNumDocFirstSon(numDoc);
      String hierTitles = "";
      try {
        it.highwaytech.db.HierPath thePath = xwConn.getHierPath(numDoc);
        for (int a = 1; a < thePath.depth(); a++) {
          String titlePath = thePath.getTitle(a);
          hierTitles += "|@|" + titlePath;
        }
      } catch (Exception e) {
      }
      elements.add(String.valueOf(numDoc) + "\260" + titArch.getTitle() + "@firstSon@" + firstSon + "@hierPath@" + hierTitles);
    }
    return elements;
  }
View Full Code Here

    for (int i = 0; i < indexes.size(); i++) {
      TitleBean titleBean = new TitleBean();
      int num = ((Integer) indexes.get(i)).intValue();
      int numDoc = xwConn.getNumDoc(xwConn.connection, xwConn.getTheDb(), qr, num, buffer);
      titleBean.setPhysDoc(String.valueOf(numDoc));
      Title titArch = xwConn.getTitle(xwConn.connection, xwConn.getTheDb(), qr, num);
      titleBean.setTitle(titArch.getTitle());
      int firstSon = xwConn.getNumDocFirstSon(numDoc);
      titleBean.setFirstSon(firstSon);
      try {
        it.highwaytech.db.HierPath thePath = xwConn.getHierPath(numDoc);
        titleBean.setHierPath(thePath);
View Full Code Here

TOP

Related Classes of it.highwaytech.db.Title

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.