Class ConfigureRssFeedAction
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction
- All Implemented Interfaces:
FormAware,WebInterface,MessageHolderAware,Serializable,org.apache.struts2.action.Action,org.apache.struts2.interceptor.ValidationAware,org.apache.struts2.locale.LocaleProvider,org.apache.struts2.Preparable,org.apache.struts2.text.TextProvider,org.apache.struts2.Validateable
public class ConfigureRssFeedAction
extends ConfluenceActionSupport
implements org.apache.struts2.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, request, response, spacePermissionManager, strutsHelper, systemInformationService, userAccessor, webInterfaceManagerFields inherited from class org.apache.struts2.ActionSupport
containerFields inherited from interface org.apache.struts2.action.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, getActiveRequest, getActiveResponse, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, 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, setSpacePermissionManager, setStrutsHelper, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManagerMethods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTextStrictMethods inherited from class org.apache.struts2.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, toLocale
-
Constructor Details
-
ConfigureRssFeedAction
public ConfigureRssFeedAction()
-
-
Method Details
-
prepare
public void prepare()- Specified by:
preparein interfaceorg.apache.struts2.Preparable
-
validate
public void validate()- Specified by:
validatein interfaceMessageHolderAware- Specified by:
validatein interfaceorg.apache.struts2.Validateable- Overrides:
validatein classorg.apache.struts2.ActionSupport
-
doDefault
Description copied from class:ConfluenceActionSupportConvenient Action execution method which defaults to returning INPUT- Overrides:
doDefaultin classConfluenceActionSupport- Throws:
Exception
-
execute
- Specified by:
executein interfaceorg.apache.struts2.action.Action- Overrides:
executein classorg.apache.struts2.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
-