Class ConfigureRssFeedAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction
- All Implemented Interfaces:
FormAware,WebInterface,MessageHolderAware,com.opensymphony.xwork2.Action,com.opensymphony.xwork2.interceptor.ValidationAware,com.opensymphony.xwork2.LocaleProvider,com.opensymphony.xwork2.Preparable,com.opensymphony.xwork2.TextProvider,com.opensymphony.xwork2.Validateable,Serializable
public class ConfigureRssFeedAction
extends ConfluenceActionSupport
implements com.opensymphony.xwork2.Preparable, FormAware
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, confluenceAccessManager, contentUiSupport, eventPublisher, formatSettingsManager, globalSettingsManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, localeManager, loginManager, messageHolder, permissionManager, pluginAccessor, PREVIEW, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManagerFields inherited from class com.opensymphony.xwork2.ActionSupport
containerFields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvenient Action execution method which defaults to returning INPUTexecute()List<com.atlassian.core.util.PairType>List<com.atlassian.core.util.PairType>Find all spaces that user has permission to view and allow them to search among thesecreates a comma separated String based on the configured list of content typesList<com.atlassian.core.util.PairType>getCustomContentType(String identifier) intList<com.atlassian.core.util.PairType>List<com.atlassian.core.util.PairType>In order to select the RadioBox in velocity we need to provide a String instead of a boolean.getSort()getSpacesAsNiceList(List spaceList) List<com.atlassian.core.util.PairType>intgetTitle()getTypes()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidprepare()voidsetBlogpostSubTypes(List<String> blogSubTypes) voidsetContentEntityManager(ContentEntityManager contentEntityManager) voidsetCreated(boolean created) voidsetExcludedSpaceKeys(List excludedSpaceKeys) voidsetMaxResults(int maxResults) voidsetModified(boolean modified) voidsetPageSubTypes(List<String> pageSubTypes) voidsetPublicFeed(boolean publicFeed) voidsetRssLink(String rssLink) voidsetRssType(String rssType) voidsetShowContent(boolean showContent) voidvoidsetSpaceManager(SpaceManager spaceManager) voidvoidsetTimeSpan(int timeSpan) voidvoidvoidvalidate()Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, getActionErrors, getActionMessages, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getCurrentRequest, getDateFormatter, getDefaultTimeZone, getFieldErrors, getGlobalSettings, getHelper, getI18n, getLocale, getMessageHolder, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getTimeZone, getUserByName, getUserInterfaceState, getWebInterfaceContext, isAnonymousUser, isEmailVisible, isPermitted, setAccessModeService, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventPublisher, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSkipIsPermitted, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, shouldSkipIsPermittedMethods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTextStrictMethods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getContainer, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocaleMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.opensymphony.xwork2.LocaleProvider
isValidLocale, isValidLocaleString, toLocale
-
Constructor Details
-
ConfigureRssFeedAction
public ConfigureRssFeedAction()
-
-
Method Details
-
prepare
public void prepare()- Specified by:
preparein interfacecom.opensymphony.xwork2.Preparable
-
validate
public void validate()- Specified by:
validatein interfaceMessageHolderAware- Specified by:
validatein interfacecom.opensymphony.xwork2.Validateable- Overrides:
validatein classcom.opensymphony.xwork2.ActionSupport
-
doDefault
Description copied from class:ConfluenceActionSupportConvenient Action execution method which defaults to returning INPUT- Overrides:
doDefaultin classConfluenceActionSupport- Throws:
Exception
-
execute
- Specified by:
executein interfacecom.opensymphony.xwork2.Action- Overrides:
executein classcom.opensymphony.xwork2.ActionSupport- Throws:
Exception
-
getContentEntityManager
-
setContentEntityManager
-
getSubContentEntityTypes
-
getContentStatusList
-
getRssTypes
-
getRssSorts
-
getAccessTypes
-
getNiceRssType
-
getSpacesAsNiceList
-
getAvailableGlobalSpaces
Find all spaces that user has permission to view and allow them to search among these- Returns:
- List
-
getAggregateOptions
-
getFavouriteSpaces
-
getContentListAsString
creates a comma separated String based on the configured list of content types -
getCustomContentType
-
getCustomContentTypes
-
isWebdavEnabled
public boolean isWebdavEnabled() -
hasAnonymousAccess
public boolean hasAnonymousAccess() -
getSpaces
-
setSpaces
-
getExcludedSpaceKeys
-
setExcludedSpaceKeys
-
getTypes
-
setTypes
-
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
-
setPageSubTypes
-
getRssLink
-
setRssLink
-
getRssType
-
setRssType
-
getSort
-
setSort
-
isPublicFeed
public boolean isPublicFeed() -
setPublicFeed
public void setPublicFeed(boolean publicFeed) -
getSelectedPublicFeed
In order to select the RadioBox in velocity we need to provide a String instead of a boolean.- Returns:
- String
-
getTitle
-
setTitle
-
setSpaceManager
-
isShowContent
public boolean isShowContent() -
setShowContent
public void setShowContent(boolean showContent) -
isEditMode
public boolean isEditMode()- Specified by:
isEditModein interfaceFormAware
-