Package com.google.gdata.client.spreadsheet

Examples of com.google.gdata.client.spreadsheet.ListQuery


   * @throws IOException if there was a problem contacting Google
   * @throws ServiceException if there was an error processnig the request
   */
  public List<ListEntry> getAllListEntries()
      throws IOException, ServiceException {
    ListQuery query = new ListQuery(feedUrl);
    ListFeed feed = service.query(query, ListFeed.class);
    return feed.getEntries();
  }
View Full Code Here


   * @throws IOException if there was a problem contacting Google
   * @throws ServiceException if there was an error processnig the request
   */
  public List<ListEntry> getFullTextSearch(String search)
      throws IOException, ServiceException {
    ListQuery query = new ListQuery(feedUrl);
    query.setFullTextQuery(search);
    ListFeed feed = service.query(query, ListFeed.class);
    return feed.getEntries();
  }
View Full Code Here

   * @throws ServiceException if there was an error processnig the request
   */
  public List<ListEntry> getStructuredQuery(
       String structuredQuery)
       throws IOException, ServiceException {
    ListQuery query = new ListQuery(feedUrl);
    query.setFullTextQuery(structuredQuery);
    ListFeed feed = service.query(query, ListFeed.class);
    return feed.getEntries();
  }
View Full Code Here

   * Refreshes the contents of the table, applying any queries the user
   * specifies.
   */
  private void refreshFromServer() {
    try {
      ListQuery query = new ListQuery(listFeedUrl);

      if (!fulltextField.getText().equals("")) {
        query.setFullTextQuery(fulltextField.getText());
      }
      if (!spreadsheetQueryField.getText().equals("")) {
        query.setSpreadsheetQuery(spreadsheetQueryField.getText());
      }
      if (!orderbyField.getText().equals("")) {
        query.setOrderBy(orderbyField.getText());
      }

      ListFeed feed = service.query(query, ListFeed.class);

      model.resetEntries(feed.getEntries());
View Full Code Here

TOP

Related Classes of com.google.gdata.client.spreadsheet.ListQuery

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.