Package com.google.gdata.data.sites

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


    new SiteFeed().declareExtensions(extProfile);
    /* Declarations for extensions that need to be handled as specific type
     * should be done before call to {@see ExtensionProfile#setAutoExtending}.
     * Order of declaration is important. */
    extProfile.setAutoExtending(true);
    new ActivityFeed().declareExtensions(extProfile);
    new AnnouncementEntry().declareExtensions(extProfile);
    new AnnouncementsPageEntry().declareExtensions(extProfile);
    new AttachmentEntry().declareExtensions(extProfile);
    new CommentEntry().declareExtensions(extProfile);
    new ContentFeed().declareExtensions(extProfile);
View Full Code Here


    /**
     * Fetches and displays the Site's activity feed.
     */
    public void getActivityFeed() throws IOException, ServiceException {
      ActivityFeed activityFeed = service.getFeed(
          new URL(getActivityFeedUrl()), ActivityFeed.class);
      for (BaseActivityEntry<?> entry : activityFeed.getEntries()){
        System.out.println(entry.getSummary().getPlainText());
      }
    }
View Full Code Here

TOP

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

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.