com.atlassian.confluence.dashboard.actions
Class ConfigureRssFeedAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction
- All Implemented Interfaces:
- FormAware, WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.Preparable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
public class ConfigureRssFeedAction
- extends ConfluenceActionSupport
- implements com.opensymphony.xwork.Preparable, FormAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, 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 |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPreviousLoginDate, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigureRssFeedAction
public ConfigureRssFeedAction()
prepare
public void prepare()
- Specified by:
prepare
in interface com.opensymphony.xwork.Preparable
validate
public void validate()
- Specified by:
validate
in interface MessageHolderAware
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
java.lang.Exception
- if something goes wrong
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class com.opensymphony.xwork.ActionSupport
- Throws:
java.lang.Exception
getContentEntityManager
public ContentEntityManager getContentEntityManager()
setContentEntityManager
public void setContentEntityManager(ContentEntityManager contentEntityManager)
getSubContentEntityTypes
public java.util.List<com.atlassian.core.util.PairType> getSubContentEntityTypes()
getContentStatusList
public java.util.List<com.atlassian.core.util.PairType> getContentStatusList()
getRssTypes
public java.util.List<com.atlassian.core.util.PairType> getRssTypes()
getRssSorts
public java.util.List<com.atlassian.core.util.PairType> getRssSorts()
getAccessTypes
public java.util.List<com.atlassian.core.util.PairType> getAccessTypes()
getNiceRssType
public java.lang.String getNiceRssType()
getSpacesAsNiceList
public java.lang.String getSpacesAsNiceList(java.util.List spaceList)
getAvailableGlobalSpaces
public java.util.List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces()
- Find all spaces that user has permission to view and allow them to search among these
- Returns:
- List
getAggregateOptions
public java.util.List<com.atlassian.core.util.PairType> getAggregateOptions()
getFavouriteSpaces
public java.util.List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces()
getContentListAsString
public java.lang.String getContentListAsString()
- creates a comma separated String based on the configured list of content types
getCustomContentType
public FeedCustomContentType getCustomContentType(java.lang.String identifier)
getCustomContentTypes
public java.util.List<FeedCustomContentType> getCustomContentTypes()
isWebdavEnabled
public boolean isWebdavEnabled()
hasAnonymousAccess
public boolean hasAnonymousAccess()
getSpaces
public java.util.List getSpaces()
setSpaces
public void setSpaces(java.util.List spaces)
getExcludedSpaceKeys
public java.util.List getExcludedSpaceKeys()
setExcludedSpaceKeys
public void setExcludedSpaceKeys(java.util.List excludedSpaceKeys)
getTypes
public java.util.List<java.lang.String> getTypes()
setTypes
public void setTypes(java.util.List<java.lang.String> 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)
setBlogpostSubTypes
public void setBlogpostSubTypes(java.util.List<java.lang.String> blogSubTypes)
setPageSubTypes
public void setPageSubTypes(java.util.List<java.lang.String> pageSubTypes)
getRssLink
public java.lang.String getRssLink()
setRssLink
public void setRssLink(java.lang.String rssLink)
getRssType
public java.lang.String getRssType()
setRssType
public void setRssType(java.lang.String rssType)
getSort
public java.lang.String getSort()
setSort
public void setSort(java.lang.String sort)
isPublicFeed
public boolean isPublicFeed()
setPublicFeed
public void setPublicFeed(boolean publicFeed)
getSelectedPublicFeed
public java.lang.String getSelectedPublicFeed()
- In order to select the RadioBox in velocity we need to provide a String instead of a boolean.
- Returns:
- String
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
- Overrides:
setPluginAccessor
in class ConfluenceActionSupport
isShowDiff
@Deprecated
public boolean isShowDiff()
- Deprecated. Since 4.0. Diffs are no longer supported in RSS feeds.
- Returns:
setShowDiff
@Deprecated
public void setShowDiff(boolean showDiff)
- Deprecated. Since 4.0. Diffs are no longer supported in RSS feeds.
- Parameters:
showDiff
-
isShowContent
public boolean isShowContent()
setShowContent
public void setShowContent(boolean showContent)
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
- Overrides:
setSettingsManager
in class ConfluenceActionSupport
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interface FormAware
Copyright © 2003-2013 Atlassian. All Rights Reserved.