com.atlassian.confluence.dashboard.actions
Class ConfigureRssFeedAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction
All Implemented Interfaces:
WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable

public class ConfigureRssFeedAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ConfigureRssFeedAction()
           
 
Method Summary
 java.lang.String doDefault()
          Default webwork action execution method.
 java.lang.String execute()
           
 java.util.List getAccessTypes()
           
 java.util.List getAggregateOptions()
           
 java.lang.String getAllVersions()
           
 java.util.List getAvailableGlobalSpaces()
          Find all spaces that user has permission to view and allow them to search among these
 java.util.List getAvailableSpaces()
          Find all spaces that user has permission to view and allow them to search among these
 ContentEntityManager getContentEntityManager()
           
 java.util.List getContentList()
           
 java.util.List getContentStatusList()
           
 java.util.List getFavouriteSpaces()
           
 java.lang.String getLatestVersions()
           
 int getMaxResults()
           
 java.lang.String getNiceListString(java.util.List list)
          creates a comma separated String based on the passed list.
 java.lang.String getNiceRssType()
           
 java.util.List getPrimaryContentEntityTypes()
           
 java.lang.String getRssLink()
           
 java.util.List getRssSorts()
           
 java.lang.String getRssType()
           
 java.util.List getRssTypes()
           
 java.lang.String getSelectedPublicFeed()
          In order to select the RadioBox in velocity we need to provide a String instead of a boolean.
 java.lang.String getSort()
           
 java.util.List getSpaces()
           
 java.lang.String getSpacesAsNiceList(java.util.List spaceList)
           
 java.util.List getSubContentEntityTypes()
           
 int getTimeSpan()
           
 java.lang.String getTitle()
           
 java.util.List getTypes()
           
 boolean hasAnonymousAccess()
           
 boolean isCreated()
           
 boolean isModified()
           
 boolean isPublicFeed()
           
 boolean isShowContent()
           
 boolean isShowDiff()
           
 boolean isWebdavEnabled()
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setContentList(java.util.List contentList)
           
 void setCreated(boolean created)
           
 void setMaxResults(int maxResults)
           
 void setModified(boolean modified)
           
 void setPublicFeed(boolean publicFeed)
           
 void setRssLink(java.lang.String rssLink)
           
 void setRssType(java.lang.String rssType)
           
 void setShowContent(boolean showContent)
           
 void setShowDiff(boolean showDiff)
           
 void setSmartListManager(SmartListManager smartListManager)
           
 void setSort(java.lang.String sort)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setSpaces(java.util.List spaces)
           
 void setTimeSpan(int timeSpan)
           
 void setTitle(java.lang.String title)
           
 void setTypes(java.util.List types)
           
 void validate()
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigureRssFeedAction

public ConfigureRssFeedAction()
Method Detail

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
java.lang.Exception - if something goes wrong

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getContentEntityManager

public ContentEntityManager getContentEntityManager()

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

getPrimaryContentEntityTypes

public java.util.List getPrimaryContentEntityTypes()

getSubContentEntityTypes

public java.util.List getSubContentEntityTypes()

getContentStatusList

public java.util.List getContentStatusList()

getRssTypes

public java.util.List getRssTypes()

getRssSorts

public java.util.List getRssSorts()

getAccessTypes

public java.util.List getAccessTypes()

getNiceRssType

public java.lang.String getNiceRssType()

getSpacesAsNiceList

public java.lang.String getSpacesAsNiceList(java.util.List spaceList)

getAvailableSpaces

public java.util.List getAvailableSpaces()
Find all spaces that user has permission to view and allow them to search among these

Returns:
List

getAvailableGlobalSpaces

public java.util.List getAvailableGlobalSpaces()
Find all spaces that user has permission to view and allow them to search among these

Returns:
List

getAggregateOptions

public java.util.List getAggregateOptions()

getFavouriteSpaces

public java.util.List getFavouriteSpaces()

getNiceListString

public java.lang.String getNiceListString(java.util.List list)
creates a comma separated String based on the passed list.

Parameters:
list -
Returns:
String

isWebdavEnabled

public boolean isWebdavEnabled()

hasAnonymousAccess

public boolean hasAnonymousAccess()

getSpaces

public java.util.List getSpaces()

setSpaces

public void setSpaces(java.util.List spaces)

getTypes

public java.util.List getTypes()

setTypes

public void setTypes(java.util.List types)

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)

setSmartListManager

public void setSmartListManager(SmartListManager smartListManager)

getContentList

public java.util.List getContentList()

setContentList

public void setContentList(java.util.List contentList)

getRssLink

public java.lang.String getRssLink()

setRssLink

public void setRssLink(java.lang.String rssLink)

getRssType

public java.lang.String getRssType()

setRssType

public void setRssType(java.lang.String rssType)

getSort

public java.lang.String getSort()

setSort

public void setSort(java.lang.String sort)

isPublicFeed

public boolean isPublicFeed()

setPublicFeed

public void setPublicFeed(boolean publicFeed)

getSelectedPublicFeed

public java.lang.String getSelectedPublicFeed()
In order to select the RadioBox in velocity we need to provide a String instead of a boolean.

Returns:
String

getAllVersions

public java.lang.String getAllVersions()

getLatestVersions

public java.lang.String getLatestVersions()

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

isShowDiff

public boolean isShowDiff()

setShowDiff

public void setShowDiff(boolean showDiff)

isShowContent

public boolean isShowContent()

setShowContent

public void setShowContent(boolean showContent)


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.