Package it.highwaytech.db

Examples of it.highwaytech.db.QueryResult


   * (non-Javadoc)
   *
   * @see com.regesta.framework.xw.XMLEngine#getQRFromSelId(java.lang.String)
   */
  public QueryResult getQRFromSelId(String selId) throws XWException, SQLException {
    QueryResult qr = null;
    if (selId != null) {

      qr = getQuery(connection, theDb, selId);

    } else {
View Full Code Here


   * (non-Javadoc)
   *
   * @see com.regesta.framework.xw.XMLEngine#addToQueryResult(it.highwaytech.db.QueryResult, it.highwaytech.db.QueryResult)
   */
  public QueryResult addToQueryResult(QueryResult qrTo, QueryResult qrFrom) throws XWException, SQLException {
    QueryResult result = null;
    if (qrTo != null && qrFrom != null) {
      result = addToQueryResult(connection, theDb, qrTo, qrFrom, null);
    } else {
      throw new XWException("QueryResult must not be null");
    }
View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#removeDocFormQR(java.lang.String, int)
   */
  public void removeDocFormQR(String selId, int index) throws SQLException, XWException {

    QueryResult qr = null;
    if (selId != null) {

      qr = getQuery(connection, theDb, selId);
      if (qr != null) {
        int docNumber = getNumDoc(connection, theDb, qr, index);
View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#deleteFormQR(java.lang.String, int)
   */
  public QueryResult deleteFormQR(String selId, int index) throws SQLException, XWException {

    QueryResult qr = null;
    if (selId != null) {

      qr = getQuery(connection, theDb, selId);
      if (qr != null) {

View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#getSelectionId(java.lang.String)
   */
  public String getSelectionId(String phrase) throws SQLException, XWException {

    QueryResult qr = null;
    String result = null;
    if (phrase != null) {

      qr = find(connection, theDb, phrase, "", ServerCommand.find_SORT, adjacency, 0, null);
      result = qr.id;
View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#getQRfromPhrase(java.lang.String)
   */
  public QueryResult getQRfromPhrase(String phrase) throws SQLException, XWException {

    QueryResult qr = null;

    if (phrase != null) {

      qr = find(connection, theDb, phrase, "", ServerCommand.find_SORT, adjacency, 0, null);

View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#getQRfromPhrase(java.lang.String, java.lang.String)
   */
  public QueryResult getQRfromPhrase(String phrase, String sortCriteria) throws SQLException, XWException {

    QueryResult qr = null;

    if (phrase != null) {

      qr = find(connection, theDb, phrase, sortCriteria, ServerCommand.find_SORT, adjacency, 0, null);

View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#getSelectionIdFormHier(int)
   */
  public String getSelectionIdFormHier(int nDoc) throws SQLException, XWException {

    QueryResult qr = null;
    String result = null;
    if (nDoc != 0) {

      qr = findHier(connection, theDb, nDoc, ServerCommand.findhier_DESCENDANT_OR_SELF);
      result = qr.id;
View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#getQRFromHier(int, boolean)
   */
  public QueryResult getQRFromHier(int nDoc, boolean includeSelf) throws SQLException, XWException {

    QueryResult qr = null;
    byte mode = ServerCommand.findhier_DESCENDANT;
    if (includeSelf) {
      mode = ServerCommand.findhier_DESCENDANT_OR_SELF;
    }
    if (nDoc != 0) {
View Full Code Here

   *
   * @see com.regesta.framework.xw.XMLEngine#sort(int, java.lang.String)
   */
  public void sort(int parentNumDoc, String sortCriteria) throws SQLException, XWException {

    QueryResult qr = null;
    if (sortCriteria != null) {

      qr = findSons(connection, theDb, parentNumDoc);
      if (qr != null) {

View Full Code Here

TOP

Related Classes of it.highwaytech.db.QueryResult

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.