public class NetworkFeedAction extends ConfluenceActionSupport implements UserAware
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_RESULTS |
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, webInterfaceManager
Constructor and Description |
---|
NetworkFeedAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
com.sun.syndication.feed.synd.SyndFeed |
getSyndFeed()
Magic accessor that is monitored by
RssResult . |
ConfluenceUser |
getUser() |
boolean |
isUserRequired()
If the action requires that the user be set before being run, then it should
return true to this method.
|
boolean |
isViewPermissionRequired() |
void |
setContentType(ContentTypeEnum contentType)
Set the content type to be returned.
|
void |
setFeedBuilder(FeedBuilder feedBuilder) |
void |
setFollowManager(FollowManagerInternal followManager) |
void |
setMax(int max) |
void |
setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder) |
void |
setRssType(String rssType) |
void |
setUserAccessor(UserAccessor userAccessor) |
void |
setUsername(String username) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, 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, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public static final int DEFAULT_MAX_RESULTS
public com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
RssResult
.public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setFeedBuilder(FeedBuilder feedBuilder)
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
public void setFollowManager(FollowManagerInternal followManager)
public ConfluenceUser getUser()
public boolean isUserRequired()
UserAware
isUserRequired
in interface UserAware
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface UserAware
public void setUserAccessor(UserAccessor userAccessor)
setUserAccessor
in class ConfluenceActionSupport
public void setUsername(String username)
public void setRssType(String rssType)
public void setMax(int max)
public void setContentType(ContentTypeEnum contentType)
Webwork sets the contentType from the named parameter using
EnumTypeConverter
as defined by NetworkFeedAction-conversion.properties.
Copyright © 2003–2020 Atlassian. All rights reserved.