Package com.google.gdata.data.sites

Examples of com.google.gdata.data.sites.RevisionFeed


    new FileCabinetPageEntry().declareExtensions(extProfile);
    new ListItemEntry().declareExtensions(extProfile);
    new ListPageEntry().declareExtensions(extProfile);
    new MoveActivityEntry().declareExtensions(extProfile);
    new RecoveryActivityEntry().declareExtensions(extProfile);
    new RevisionFeed().declareExtensions(extProfile);
    new WebAttachmentEntry().declareExtensions(extProfile);
    new WebPageEntry().declareExtensions(extProfile);
    BatchUtils.declareExtensions(extProfile);
  }
View Full Code Here


    /**
     * Fetches and displays the revisions feed for an entry.
     */
    public void getRevisionFeed(String contentEntryId) throws IOException, ServiceException {
      URL url = new URL(getRevisionFeedUrl() + contentEntryId);
      RevisionFeed revisionFeed = service.getFeed(url, RevisionFeed.class);
      for (BaseContentEntry<?> entry : revisionFeed.getEntries()) {
        System.out.println(entry.getTitle().getPlainText());
        System.out.println("  updated: " + entry.getUpdated().toUiString() + " by " +
            entry.getAuthors().get(0).getEmail());
        System.out.println("  revision #: " + entry.getRevision().getValue());
      }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.sites.RevisionFeed

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.