Package com.google.gdata.data.spreadsheet

Examples of com.google.gdata.data.spreadsheet.ListFeed


    throws EPAuthenticationException {
    List<ListEntry> returnList = null;

    try {
      SpreadsheetService ssService = getSsService();
      ListFeed listFeed = ssService.getFeed(ssUrl, ListFeed.class);
      returnList = listFeed.getEntries();
    } catch (com.google.gdata.util.AuthenticationException authEx) {
      throw new EPAuthenticationException("SS read access not available");
    } catch (com.google.gdata.util.ServiceException svcex) {
      System.err.println("ServiceException while retrieving " +
          "entry list: " + svcex.getMessage());
View Full Code Here


   * @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

   */
  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

  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

      }
      if (!orderbyField.getText().equals("")) {
        query.setOrderBy(orderbyField.getText());
      }

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

      model.resetEntries(feed.getEntries());
    } catch (ServiceException e) {
      SpreadsheetApiDemo.showErrorBox(e);
    } catch (IOException e) {
      SpreadsheetApiDemo.showErrorBox(e);
    }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.spreadsheet.ListFeed

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.