public class ConfigureRssFeedAction extends ConfluenceActionSupport implements com.opensymphony.xwork.Preparable, FormAware
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, PREVIEW, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ConfigureRssFeedAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Default webwork action execution method.
|
String |
execute() |
List<com.atlassian.core.util.PairType> |
getAccessTypes() |
List<com.atlassian.core.util.PairType> |
getAggregateOptions() |
List<SpacePickerHelper.SpaceDTO> |
getAvailableGlobalSpaces()
Find all spaces that user has permission to view and allow them to search among these
|
ContentEntityManager |
getContentEntityManager() |
String |
getContentListAsString()
creates a comma separated String based on the configured list of content types
|
List<com.atlassian.core.util.PairType> |
getContentStatusList() |
FeedCustomContentType |
getCustomContentType(String identifier) |
List<FeedCustomContentType> |
getCustomContentTypes() |
List |
getExcludedSpaceKeys() |
List<SpacePickerHelper.SpaceDTO> |
getFavouriteSpaces() |
int |
getMaxResults() |
String |
getNiceRssType() |
String |
getRssLink() |
List<com.atlassian.core.util.PairType> |
getRssSorts() |
String |
getRssType() |
List<com.atlassian.core.util.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<com.atlassian.core.util.PairType> |
getSubContentEntityTypes() |
int |
getTimeSpan() |
String |
getTitle() |
List<String> |
getTypes() |
boolean |
hasAnonymousAccess() |
boolean |
isCreated() |
boolean |
isEditMode() |
boolean |
isModified() |
boolean |
isPublicFeed() |
boolean |
isShowContent() |
boolean |
isShowDiff()
Deprecated.
Since 4.0. Diffs are no longer supported in RSS feeds.
|
boolean |
isWebdavEnabled() |
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 |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setPublicFeed(boolean publicFeed) |
void |
setRssLink(String rssLink) |
void |
setRssType(String rssType) |
void |
setSettingsManager(SettingsManager settingsManager) |
void |
setShowContent(boolean showContent) |
void |
setShowDiff(boolean showDiff)
Deprecated.
Since 4.0. Diffs are no longer supported in RSS feeds.
|
void |
setSort(String sort) |
void |
setSpaceManager(SpaceManager spaceManager) |
void |
setSpaces(List spaces) |
void |
setTimeSpan(int timeSpan) |
void |
setTitle(String title) |
void |
setTypes(List<String> types) |
void |
validate() |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPreviousLoginDate, setServletRequestSupplier, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
public void prepare()
prepare
in interface com.opensymphony.xwork.Preparable
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public ContentEntityManager getContentEntityManager()
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public List<com.atlassian.core.util.PairType> getSubContentEntityTypes()
public List<com.atlassian.core.util.PairType> getContentStatusList()
public List<com.atlassian.core.util.PairType> getRssTypes()
public List<com.atlassian.core.util.PairType> getRssSorts()
public List<com.atlassian.core.util.PairType> getAccessTypes()
public String getNiceRssType()
public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces()
public List<com.atlassian.core.util.PairType> getAggregateOptions()
public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces()
public String getContentListAsString()
public FeedCustomContentType getCustomContentType(String identifier)
public List<FeedCustomContentType> getCustomContentTypes()
public boolean isWebdavEnabled()
public boolean hasAnonymousAccess()
public List getSpaces()
public void setSpaces(List spaces)
public List getExcludedSpaceKeys()
public void setExcludedSpaceKeys(List excludedSpaceKeys)
public boolean isModified()
public void setModified(boolean modified)
public int getMaxResults()
public void setMaxResults(int maxResults)
public int getTimeSpan()
public void setTimeSpan(int timeSpan)
public boolean isCreated()
public void setCreated(boolean created)
public String getRssLink()
public void setRssLink(String rssLink)
public String getRssType()
public void setRssType(String rssType)
public String getSort()
public void setSort(String sort)
public boolean isPublicFeed()
public void setPublicFeed(boolean publicFeed)
public String getSelectedPublicFeed()
public String getTitle()
public void setTitle(String title)
public void setSpaceManager(SpaceManager spaceManager)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setPluginAccessor
in class ConfluenceActionSupport
@Deprecated public boolean isShowDiff()
@Deprecated public void setShowDiff(boolean showDiff)
showDiff
- public boolean isShowContent()
public void setShowContent(boolean showContent)
public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager
in class ConfluenceActionSupport
public boolean isEditMode()
isEditMode
in interface FormAware
Copyright © 2003–2016 Atlassian. All rights reserved.