Class NetworkFeedAction

    • Constructor Detail

      • NetworkFeedAction

        public NetworkFeedAction()
    • Method Detail

      • getSyndFeed

        public com.rometools.rome.feed.synd.SyndFeed getSyndFeed()
        Magic accessor that is monitored by RssResult.
        Returns:
        the feed
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • setFeedBuilder

        public void setFeedBuilder​(SyndFeedService feedBuilder)
      • setPredefinedSearchBuilder

        public void setPredefinedSearchBuilder​(PredefinedSearchBuilder predefinedSearchBuilder)
      • isUserRequired

        public boolean isUserRequired()
        Description copied from interface: UserAware
        If the action requires that the user be set before being run, then it should return true to this method. If the action requires a user, but no user is available, then the interceptor will automatically redirect to the 'notfound' result
        Specified by:
        isUserRequired in interface UserAware
        Returns:
        true if the action requires a page in order to execute
      • isViewPermissionRequired

        public boolean isViewPermissionRequired()
        Specified by:
        isViewPermissionRequired in interface UserAware
        Returns:
        true if the action requires a check on com.atlassian.confluence.user.actions.UserAwareInterceptor.VIEW_USER_PROFILE_PERMISSION
      • setUsername

        public void setUsername​(String username)
      • setRssType

        public void setRssType​(String rssType)
      • setMax

        public void setMax​(int max)
      • setContentType

        public void setContentType​(ContentTypeEnum contentType)
        Set the content type to be returned.

        Struts sets the contentType from the named parameter using EnumTypeConverter as defined by NetworkFeedAction-conversion.properties.