Package org.xdams.page.multiarchive.bean

Examples of org.xdams.page.multiarchive.bean.MultiArchiveBean


      System.out.println("QueryParserCommand.execute() aReq.getParameter(\"fromId\") " + workFlowBean.getRequest().getParameter("fromId") + "aaaaaaa");
      List<MultiArchiveBean> multiArchiveBeans = new ArrayList<MultiArchiveBean>();
      if (multiArchivedbNames != null) {
        for (int i = 0; i < multiArchivedbNames.length; i++) {
          try {
            MultiArchiveBean multiArchiveBean = new MultiArchiveBean();
            xwconn = connectionManager.getConnection(ServiceUser.getArchive(userBean, multiArchivedbNames[i]));
            FindDocumentCommand findDocumentCommand = null;
            findDocumentCommand = new FindDocumentCommand(parameterMap, modelMap);
            queryResult = findDocumentCommand.execute(workFlowBean, xwconn);
            QueryBean queryBean = new QueryBean();
            queryBean.setDb(workFlowBean.getAlias());
            System.out.println("findDocumentCommand.getLaFrase() " + findDocumentCommand.getLaFrase());
            System.out.println("findDocumentCommand.getLaFrase() " + findDocumentCommand.getLaFrase());
            System.out.println("findDocumentCommand.getLaFrase() " + findDocumentCommand.getLaFrase());
            System.out.println("findDocumentCommand.getLaFrase() " + findDocumentCommand.getLaFrase());
            System.out.println("findDocumentCommand.getLaFrase() " + findDocumentCommand.getLaFrase());
            queryBean.setQuery(findDocumentCommand.getLaFrase());
            queryBean.setTot(String.valueOf(queryResult.elements));
            multiArchiveBean.setArchive(ServiceUser.getArchive(userBean, multiArchivedbNames[i]));
            multiArchiveBean.setRecordFound((queryResult.elements));
            multiArchiveBeans.add(multiArchiveBean);
            if (httpSession.getAttribute("arrQueryBean" + multiArchivedbNames[i]) == null) {
              ArrayList arrQueryBean = new ArrayList();
              arrQueryBean.add(queryBean);
              httpSession.setAttribute("arrQueryBean" + multiArchivedbNames[i], arrQueryBean);
View Full Code Here

TOP

Related Classes of org.xdams.page.multiarchive.bean.MultiArchiveBean

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.