com.atlassian.confluence.spaces.actions
Class CreateRssFeedAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.spaces.actions.CreateRssFeedAction
All Implemented Interfaces:
WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable

public class CreateRssFeedAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateRssFeedAction()
           
 
Method Summary
 ListQuery createListQuery()
          Create a ListQuery object based on the url parameter.
 String execute()
           
 List<Label> getLabels()
          uses the label String to create a list of label objects to pass into the query object.
 String getLabelString()
           
 String getRssType()
           
 String getSort()
           
 com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
          function to create the actual RSS feed based on the listQuery.
 String getTitle()
           
 boolean isShowContent()
           
 void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 void setBlogpostSubTypes(List<String> blogSubTypes)
           
 void setExcludedSpaceKeys(List<String> excludedSpaceKeys)
           
 void setFeedBuilder(FeedBuilder feedBuilder)
           
 void setLabels(List<Label> labels)
           
 void setLabelString(String labelString)
           
 void setMaxResults(int maxResults)
           
 void setPageSubTypes(List<String> pageSubTypes)
           
 void setPublicFeed(boolean publicFeed)
           
 void setRssType(String rssType)
           
 void setShowContent(boolean showContent)
           
 void setSort(String sort)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setSpaces(List<String> spaces)
           
 void setTimeSpan(int timeSpan)
           
 void setTitle(String title)
           
 void setTypes(List<String> types)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateRssFeedAction

public CreateRssFeedAction()
Method Detail

setBandanaManager

public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)

getSyndFeed

public com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
function to create the actual RSS feed based on the listQuery.


execute

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

getRssType

public String getRssType()

setBlogpostSubTypes

public void setBlogpostSubTypes(List<String> blogSubTypes)

setPageSubTypes

public void setPageSubTypes(List<String> pageSubTypes)

setRssType

public void setRssType(String rssType)

getSort

public String getSort()

setSort

public void setSort(String sort)

setSpaces

public void setSpaces(List<String> spaces)

setExcludedSpaceKeys

public void setExcludedSpaceKeys(List<String> excludedSpaceKeys)

setTypes

public void setTypes(List<String> types)

setLabels

public void setLabels(List<Label> labels)

setMaxResults

public void setMaxResults(int maxResults)

setTimeSpan

public void setTimeSpan(int timeSpan)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

setPublicFeed

public void setPublicFeed(boolean publicFeed)

setFeedBuilder

public void setFeedBuilder(FeedBuilder feedBuilder)

getLabelString

public String getLabelString()

setLabelString

public void setLabelString(String labelString)

isShowContent

public boolean isShowContent()

setShowContent

public void setShowContent(boolean showContent)

getLabels

public List<Label> getLabels()
uses the label String to create a list of label objects to pass into the query object.


createListQuery

public ListQuery createListQuery()
Create a ListQuery object based on the url parameter.

Returns:
ListQuery


Copyright © 2003-2012 Atlassian. All Rights Reserved.