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 TypeClassDescriptionclass
Deprecated.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 class
Deprecated.A Class used to represent the different criteria restriction links that are displayed along with the search results.static class
Deprecated.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 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.int
Deprecated.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.int
Deprecated.getSummaryForResult
(SearchResult result) Deprecated.getTimer()
Deprecated.getTitleForResult
(SearchResult result) Deprecated.int
Deprecated.getType()
Deprecated.getTypeName
(String type) Deprecated.List<com.atlassian.core.util.PairType>
Deprecated.getWebInterfaceContext
(SearchResult result) Deprecated.getWhere()
Deprecated.boolean
Deprecated.boolean
Deprecated.newSearchResult
(SearchResult searchResult, String showExcerpts, String queryString) Deprecated.void
setContentTypesDisplayMapper
(ContentTypesDisplayMapper contentTypesDisplayMapper) Deprecated.void
setContributor
(String who) Deprecated.void
setContributorUsername
(String contributorUsername) Deprecated.void
setDelegatedSearchResultRenderer
(DelegatedSearchResultRenderer defaultRenderer) Deprecated.void
setHitHighlighterFactory
(HitHighlighterFactory hitHighlighterFactory) Deprecated.void
setIncludeArchivedSpaces
(boolean includeArchivedSpaces) Deprecated.void
Deprecated.void
setLastModified
(DateRangeEnum lastModified) Deprecated.void
setPredefinedSearchBuilder
(PredefinedSearchBuilder predefinedSearchBuilder) Deprecated.void
setQueryAnalyzer
(org.apache.lucene.analysis.Analyzer queryAnalyzer) Deprecated.void
setQueryString
(String queryString) Deprecated.void
setSearchManager
(SearchManager searchManager) Deprecated.void
setSpaceManager
(SpaceManager spaceManager) Deprecated.void
setStartIndex
(int startIndex) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
validate()
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, 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
-
SearchSiteAction
public SearchSiteAction()Deprecated.
-
-
Method Details
-
validate
public void validate()Deprecated.- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfaceorg.apache.struts2.Validateable
- Overrides:
validate
in classorg.apache.struts2.ActionSupport
-
doDefault
Deprecated.Description copied from class:ConfluenceActionSupport
Convenient Action execution method which defaults to returning INPUT- Overrides:
doDefault
in classConfluenceActionSupport
- Throws:
Exception
-
execute
Deprecated.- Specified by:
execute
in interfaceorg.apache.struts2.action.Action
- Overrides:
execute
in 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.
-