Package com.google.gdata.data.sites

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


    /* 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);
    new CreationActivityEntry().declareExtensions(extProfile);
View Full Code Here


     */
    public BaseContentEntry<?> createPage(String kind, String title, String parent)
        throws SitesException, MalformedURLException, IOException, ServiceException {
      BaseContentEntry<?> entry = null;
      if (kind.equals("announcement")) {
        entry = new AnnouncementEntry();
      } else if (kind.equals("announcementspage")) {
        entry = new AnnouncementsPageEntry();
      } else if (kind.equals("comment")) {
        entry = new CommentEntry();
      } else if (kind.equals("filecabinet")) {
View Full Code Here

TOP

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

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.