Class SearchSiteAction
java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.impl.search.actions.SearchSiteAction
- All Implemented Interfaces:
 Beanable,WebInterface,MessageHolderAware,com.opensymphony.xwork2.Action,com.opensymphony.xwork2.interceptor.ValidationAware,com.opensymphony.xwork2.LocaleProvider,com.opensymphony.xwork2.TextProvider,com.opensymphony.xwork2.Validateable,Serializable,org.apache.struts2.action.Action,org.apache.struts2.interceptor.ValidationAware,org.apache.struts2.Validateable
Deprecated.
since 5.9
This action is overridden in the confluence-search plugin, it remains here in case someone is extending this
 action class, it is not wired up in xwork and it's template has been deleted.
 
Do not use it, it will be deleted as soon as possible.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated.A class used to preserve compatibility with old style search URL's where search parameters were entered in the format:searchQuery.spaceKey=conf_all&searchQuery.queryString=hello.static classDeprecated.A Class used to represent the different criteria restriction links that are displayed along with the search results.static classDeprecated.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, 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 TypeMethodDescriptionDeprecated.Convenient Action execution method which defaults to returning INPUTexecute()Deprecated.List<com.atlassian.core.util.PairType>Deprecated.Deprecated.Find all global spaces that user has permission to view, but that aren't favouritesgetBean()Deprecated.getContentLabels(ContentEntityObject content, int amount) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.List<com.atlassian.core.util.PairType>Deprecated.intDeprecated.Deprecated.getKey()Deprecated.getLabelNames(Labelable obj) Deprecated.Retrieve a comma separated string of label names.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Returns a list of related labels to the labels matching the search resultDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.getSummaryForResult(SearchResult result) Deprecated.getTimer()Deprecated.getTitleForResult(SearchResult result) Deprecated.intDeprecated.getType()Deprecated.getTypeName(String type) Deprecated.List<com.atlassian.core.util.PairType>Deprecated.getWebInterfaceContext(SearchResult result) Deprecated.getWhere()Deprecated.booleanDeprecated.booleanDeprecated.newSearchResult(SearchResult searchResult, String showExcerpts, String queryString) Deprecated.voidsetContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper) Deprecated.voidsetContributor(String who) Deprecated.voidsetContributorUsername(String contributorUsername) Deprecated.voidsetDelegatedSearchResultRenderer(DelegatedSearchResultRenderer defaultRenderer) Deprecated.voidsetHitHighlighterFactory(HitHighlighterFactory hitHighlighterFactory) Deprecated.voidsetIncludeArchivedSpaces(boolean includeArchivedSpaces) Deprecated.voidDeprecated.voidsetLastModified(DateRangeEnum lastModified) Deprecated.voidsetPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder) Deprecated.voidsetQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer) Deprecated.voidsetQueryString(String queryString) Deprecated.voidsetSearchManager(SearchManager searchManager) Deprecated.voidsetSpaceManager(SpaceManager spaceManager) Deprecated.voidsetStartIndex(int startIndex) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidvalidate()Deprecated.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, shouldSkipIsPermittedMethods 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, toLocaleMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.struts2.interceptor.ValidationAware
addActionError, addActionMessage, addFieldError, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors 
- 
Constructor Details
- 
SearchSiteAction
public SearchSiteAction()Deprecated. 
 - 
 - 
Method Details
- 
validate
public void validate()Deprecated.- Specified by:
 validatein interfaceMessageHolderAware- Specified by:
 validatein interfaceorg.apache.struts2.Validateable- Overrides:
 validatein classorg.apache.struts2.ActionSupport
 - 
doDefault
Deprecated.Description copied from class:ConfluenceActionSupportConvenient Action execution method which defaults to returning INPUT- Overrides:
 doDefaultin classConfluenceActionSupport- Throws:
 Exception
 - 
execute
Deprecated.- Specified by:
 executein interfaceorg.apache.struts2.action.Action- Overrides:
 executein classorg.apache.struts2.ActionSupport- Throws:
 Exception
 - 
getBean
Deprecated. - 
newSearchResult
Deprecated. - 
getWebInterfaceContext
Deprecated. - 
getSummaryForResult
Deprecated. - 
getTitleForResult
Deprecated. - 
getResults
Deprecated. - 
getAvailableGlobalSpaces
Deprecated.Find all global spaces that user has permission to view, but that aren't favourites- Returns:
 - List
 
 - 
getAggregateOptions
Deprecated. - 
getFavouriteSpaces
Deprecated. - 
setSpaceManager
Deprecated. - 
getRelatedLabels
Deprecated.Returns a list of related labels to the labels matching the search result- Returns:
 - List of related lables
 
 - 
getLabelNames
Deprecated.Retrieve a comma separated string of label names.- Returns:
 - a comma separated string
 
 - 
getContentLabels
Deprecated. - 
getSpace
Deprecated. - 
getTypeName
Deprecated. - 
getTypeOptions
Deprecated.- Returns:
 - a list of the type criteria that should be presented on the GUI.
 
 - 
getDateRanges
Deprecated.- Returns:
 - a list of the date range criteria that should be presented on the GUI.
 
 - 
getCurrentSearch
Deprecated.- Returns:
 - a criteria link that represents the current search state
 
 - 
setStartIndex
public void setStartIndex(int startIndex) Deprecated. - 
getStartIndex
public int getStartIndex()Deprecated. - 
getEndIndex
public int getEndIndex()Deprecated. - 
getTimer
Deprecated. - 
getLabelsSummaryForResult
Deprecated. - 
getQueryString
Deprecated. - 
setQueryString
Deprecated. - 
getWhere
Deprecated. - 
setWhere
Deprecated. - 
getKey
Deprecated. - 
setKey
Deprecated. - 
getType
Deprecated. - 
getContentType
Deprecated. - 
setType
Deprecated. - 
setTypes
Deprecated. - 
getLastModified
Deprecated. - 
setLastModified
Deprecated. - 
getTotalSearchResults
public int getTotalSearchResults()Deprecated. - 
getPaginationSupport
Deprecated. - 
getContentTypesDisplayMapper
Deprecated. - 
setContentTypesDisplayMapper
Deprecated. - 
setQueryAnalyzer
public void setQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer) Deprecated. - 
setSearchManager
Deprecated. - 
getSearchWords
Deprecated. - 
getSearchQuery
Deprecated. - 
setContributor
Deprecated. - 
getContributor
Deprecated. - 
getContributorUsername
Deprecated. - 
setContributorUsername
Deprecated. - 
setPredefinedSearchBuilder
Deprecated. - 
isIncludeArchivedSpaces
public boolean isIncludeArchivedSpaces()Deprecated. - 
setIncludeArchivedSpaces
public void setIncludeArchivedSpaces(boolean includeArchivedSpaces) Deprecated. - 
isSuggestArchivedSpaces
public boolean isSuggestArchivedSpaces()Deprecated. - 
getSearchUuid
Deprecated. - 
setDelegatedSearchResultRenderer
Deprecated.- Parameters:
 defaultRenderer- the defaultRenderer to set
 - 
setHitHighlighterFactory
Deprecated. 
 -