com.atlassian.confluence.dashboard.actions
Class ConfigureRssFeedAction

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

public class ConfigureRssFeedAction
extends ConfluenceActionSupport
implements Preparable

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, 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
ConfigureRssFeedAction()
           
 
Method Summary
 String doDefault()
          Default webwork action execution method.
 String execute()
           
 List<PairType> getAccessTypes()
           
 List getAggregateOptions()
           
 String getAllVersions()
           
 List getAvailableGlobalSpaces()
          Find all spaces that user has permission to view and allow them to search among these
 ContentEntityManager getContentEntityManager()
           
 List getContentList()
           
 List<PairType> getContentStatusList()
           
 List getFavouriteSpaces()
           
 String getLatestVersions()
           
 int getMaxResults()
           
 String getNiceListString(List<String> list)
          creates a comma separated String based on the passed list.
 String getNiceRssType()
           
 List<PairType> getPrimaryContentEntityTypes()
           
 String getRssLink()
           
 List<PairType> getRssSorts()
           
 String getRssType()
           
 List<PairType> getRssTypes()
           
 String getSelectedPublicFeed()
          In order to select the RadioBox in velocity we need to provide a String instead of a boolean.
 String getSort()
           
 List getSpaces()
           
 String getSpacesAsNiceList(List spaceList)
           
 List<PairType> getSubContentEntityTypes()
           
 int getTimeSpan()
           
 String getTitle()
           
 List getTypes()
           
 boolean hasAnonymousAccess()
           
 boolean isCreated()
           
 boolean isModified()
           
 boolean isPublicFeed()
           
 boolean isShowContent()
           
 boolean isShowDiff()
           
 boolean isWebdavEnabled()
           
 void prepare()
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setContentList(List contentList)
           
 void setCreated(boolean created)
           
 void setMaxResults(int maxResults)
           
 void setModified(boolean modified)
           
 void setPublicFeed(boolean publicFeed)
           
 void setRssLink(String rssLink)
           
 void setRssType(String rssType)
           
 void setSettingsManager(SettingsManager settingsManager)
           
 void setShowContent(boolean showContent)
           
 void setShowDiff(boolean showDiff)
           
 void setSort(String sort)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setSpaces(List spaces)
           
 void setTimeSpan(int timeSpan)
           
 void setTitle(String title)
           
 void setTypes(List types)
           
 void validate()
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, 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, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSpacePermissionManager, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigureRssFeedAction

public ConfigureRssFeedAction()
Method Detail

prepare

public void prepare()
Specified by:
prepare in interface Preparable

validate

public void validate()
Specified by:
validate in interface Validateable
Overrides:
validate in class ActionSupport

doDefault

public String doDefault()
                 throws Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
Exception - if something goes wrong

execute

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

getContentEntityManager

public ContentEntityManager getContentEntityManager()

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

getPrimaryContentEntityTypes

public List<PairType> getPrimaryContentEntityTypes()

getSubContentEntityTypes

public List<PairType> getSubContentEntityTypes()

getContentStatusList

public List<PairType> getContentStatusList()

getRssTypes

public List<PairType> getRssTypes()

getRssSorts

public List<PairType> getRssSorts()

getAccessTypes

public List<PairType> getAccessTypes()

getNiceRssType

public String getNiceRssType()

getSpacesAsNiceList

public String getSpacesAsNiceList(List spaceList)

getAvailableGlobalSpaces

public List getAvailableGlobalSpaces()
Find all spaces that user has permission to view and allow them to search among these

Returns:
List

getAggregateOptions

public List getAggregateOptions()

getFavouriteSpaces

public List getFavouriteSpaces()

getNiceListString

public String getNiceListString(List<String> list)
creates a comma separated String based on the passed list.

Parameters:
list - of elements
Returns:
String

isWebdavEnabled

public boolean isWebdavEnabled()

hasAnonymousAccess

public boolean hasAnonymousAccess()

getSpaces

public List getSpaces()

setSpaces

public void setSpaces(List spaces)

getTypes

public List getTypes()

setTypes

public void setTypes(List types)

isModified

public boolean isModified()

setModified

public void setModified(boolean modified)

getMaxResults

public int getMaxResults()

setMaxResults

public void setMaxResults(int maxResults)

getTimeSpan

public int getTimeSpan()

setTimeSpan

public void setTimeSpan(int timeSpan)

isCreated

public boolean isCreated()

setCreated

public void setCreated(boolean created)

getContentList

public List getContentList()

setContentList

public void setContentList(List contentList)

getRssLink

public String getRssLink()

setRssLink

public void setRssLink(String rssLink)

getRssType

public String getRssType()

setRssType

public void setRssType(String rssType)

getSort

public String getSort()

setSort

public void setSort(String sort)

isPublicFeed

public boolean isPublicFeed()

setPublicFeed

public void setPublicFeed(boolean publicFeed)

getSelectedPublicFeed

public String getSelectedPublicFeed()
In order to select the RadioBox in velocity we need to provide a String instead of a boolean.

Returns:
String

getAllVersions

public String getAllVersions()

getLatestVersions

public String getLatestVersions()

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

isShowDiff

public boolean isShowDiff()

setShowDiff

public void setShowDiff(boolean showDiff)

isShowContent

public boolean isShowContent()

setShowContent

public void setShowContent(boolean showContent)

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)
Overrides:
setSettingsManager in class ConfluenceActionSupport


Confluence is developed by Atlassian.