Examples of valueInteger()


Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

    if (!check)
      logger.log(logger.EXTREME, "Notebook SQL retrieve has failed.");
    while (query.next()) {
      tempNotebook = new SharedNotebook();
      tempNotebook.setId(query.valueLong(0));
      tempNotebook.setUserId(query.valueInteger(1));
      tempNotebook.setNotebookGuid(query.valueString(2));
      tempNotebook.setEmail(query.valueString(3));
      tempNotebook.setNotebookModifiable(query.valueBoolean(4,false));
      tempNotebook.setRequireLogin(query.valueBoolean(5,true));
      DateFormat indfm = null;
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      logger.log(logger.EXTREME, "SharedNotebook getForNotebook SQL exec has failed.");
   
    while (query.next()) {
      tempNotebook = new SharedNotebook();
      tempNotebook.setId(query.valueLong(0));
      tempNotebook.setUserId(query.valueInteger(1));
      tempNotebook.setNotebookGuid(query.valueString(2));
      tempNotebook.setEmail(query.valueString(3));
      tempNotebook.setNotebookModifiable(query.valueBoolean(4,false));
      tempNotebook.setRequireLogin(query.valueBoolean(5,true));
      DateFormat indfm = null;
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      return null;
    }
    while (query.next()) {
      Pair<String,Integer> newCount = new Pair<String,Integer>();
      newCount.setFirst(query.valueString(0));
      newCount.setSecond(query.valueInteger(1));
      counts.add(newCount);
   
    return counts;
  }
}
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

    query.bindValue(":guid", guid);
    check = query.exec();
    if (!check)
      logger.log(logger.EXTREME, "Notebook SQL retrieve has failed.");
    while (query.next()) {
      return query.valueInteger(0);
   
    return 0;
  }   
 
  // get the "true" notebook guid and not the shared notebook guid
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      if (tempNotebook.isPublished()) {
        Publishing p = new Publishing();
        p.setUri(query.valueString(8));
        p.setAscending(query.valueBoolean(9, false));
        p.setPublicDescription(query.valueString(10));
        p.setOrder(NoteSortOrder.findByValue(query.valueInteger(11)));
        tempNotebook.setPublishing(p);
      }
      index.add(tempNotebook);
   
    return index;
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      if (tempNotebook.isPublished()) {
        Publishing p = new Publishing();
        p.setUri(query.valueString(8));
        p.setAscending(query.valueBoolean(9, false));
        p.setPublicDescription(query.valueString(10));
        p.setOrder(NoteSortOrder.findByValue(query.valueInteger(11)));
        tempNotebook.setPublishing(p);
      }
     
      index.add(tempNotebook);
   
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      int fmt = new Integer(query.valueString(3));
      if (fmt == 1)
        tempSearch.setFormat(QueryFormat.USER);
      else
        tempSearch.setFormat(QueryFormat.SEXP);
      int sequence = new Integer(query.valueInteger(4));
      tempSearch.setUpdateSequenceNum(sequence);
    }
    return tempSearch;
  }
  // Update a tag
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

    if (!check) {
      logger.log(logger.EXTREME, "Notebook SQL retrieve sort order has failed.");
      return -1;
    }
    if (query.next()) {
      return query.valueInteger(0);
   
    return -1;
 

  // Get a notebook's sort order
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

    if (!check) {
      logger.log(logger.EXTREME, "Notebook SQL retrieve sort order has failed.");
      return -1;
    }
    if (query.next()) {
      return query.valueInteger(0);
   
    return -1;
 
  // Get a notebook's sort order
  public void setSortOrder(String guid, int column, int order) {
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueInteger()

      if (tempNotebook.isPublished()) {
        Publishing p = new Publishing();
        p.setUri(query.valueString(8));
        p.setAscending(query.valueBoolean(9, false));
        p.setPublicDescription(query.valueString(10));
        p.setOrder(NoteSortOrder.findByValue(query.valueInteger(11)));
        if (p.getPublicDescription() != null && p.getPublicDescription().trim().equalsIgnoreCase(""))
          p.setPublicDescription(null);
        tempNotebook.setPublishing(p);
      }
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.