Package com.centraview.advancedsearch

Examples of com.centraview.advancedsearch.AdvancedSearchUtil


          searchCriteriaVO.setConditionID(String.valueOf(criteriaVO.getConditionID()));
          searchCriteriaVO.setValue(criteriaVO.getValue());
          searchCriteria[criteriaVO.getOrderID() - 1] = searchCriteriaVO;
        }

        AdvancedSearchUtil util = new AdvancedSearchUtil();
        // See if we should add a row.
        String addRow = (String)ruleForm.get("addRow");
        if (addRow.equals("true")) {
          searchCriteria = util.addRow(searchCriteria);
          ruleForm.set("addRow", "false");
        }

        // see if we should delete a row
        String removeRow = (String)ruleForm.get("removeRow");
        if (! removeRow.equals("false")) {
          searchCriteria = util.removeRow(searchCriteria, removeRow);
          ruleForm.set("removeRow", "false");
        }
        ruleForm.set("searchCriteria", searchCriteria);
      }
View Full Code Here

TOP

Related Classes of com.centraview.advancedsearch.AdvancedSearchUtil

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.