Class ConfigureRssFeedAction
java.lang.Object
org.apache.struts2.ActionSupport
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
,org.apache.struts2.action.Action
,org.apache.struts2.interceptor.ValidationAware
,org.apache.struts2.Preparable
,org.apache.struts2.Validateable
public class ConfigureRssFeedAction
extends ConfluenceActionSupport
implements com.opensymphony.xwork2.Preparable, FormAware
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.ValidationAware
com.opensymphony.xwork2.interceptor.ValidationAware.LegacyAdapter
-
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, webInterfaceManager
Fields inherited from class org.apache.struts2.ActionSupport
container
Fields 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) int
List<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>
int
getTitle()
getTypes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
prepare()
void
setBlogpostSubTypes
(List<String> blogSubTypes) void
setContentEntityManager
(ContentEntityManager contentEntityManager) void
setCreated
(boolean created) void
setExcludedSpaceKeys
(List excludedSpaceKeys) void
setMaxResults
(int maxResults) void
setModified
(boolean modified) void
setPageSubTypes
(List<String> pageSubTypes) void
setPublicFeed
(boolean publicFeed) void
setRssLink
(String rssLink) void
setRssType
(String rssType) void
setShowContent
(boolean showContent) void
void
setSpaceManager
(SpaceManager spaceManager) void
void
setTimeSpan
(int timeSpan) void
void
void
validate()
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, getActionErrors, getActionMessages, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getCurrentRequest, getCurrentResponse, 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, setStrutsHelper, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, shouldSkipIsPermitted
Methods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTextStrict
Methods 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.struts2.interceptor.ValidationAware
addActionError, addActionMessage, addFieldError, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
-
Constructor Details
-
ConfigureRssFeedAction
public ConfigureRssFeedAction()
-
-
Method Details
-
prepare
public void prepare()- Specified by:
prepare
in interfaceorg.apache.struts2.Preparable
-
validate
public void validate()- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfaceorg.apache.struts2.Validateable
- Overrides:
validate
in classorg.apache.struts2.ActionSupport
-
doDefault
Description copied from class:ConfluenceActionSupport
Convenient Action execution method which defaults to returning INPUT- Overrides:
doDefault
in classConfluenceActionSupport
- Throws:
Exception
-
execute
- Specified by:
execute
in interfaceorg.apache.struts2.action.Action
- Overrides:
execute
in 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:
isEditMode
in interfaceFormAware
-