Class SearchSiteAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
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 public class SearchSiteAction extends ConfluenceActionSupport implements Beanable
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:
  • Constructor Details

    • SearchSiteAction

      public SearchSiteAction()
      Deprecated.
  • Method Details

    • validate

      public void validate()
      Deprecated.
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • doDefault

      public String doDefault() throws Exception
      Deprecated.
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Deprecated.
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getBean

      public Object getBean()
      Deprecated.
      Specified by:
      getBean in interface Beanable
    • newSearchResult

      public String newSearchResult(SearchResult searchResult, String showExcerpts, String queryString)
      Deprecated.
    • getWebInterfaceContext

      public WebInterfaceContext getWebInterfaceContext(SearchResult result)
      Deprecated.
    • getSummaryForResult

      public String getSummaryForResult(SearchResult result)
      Deprecated.
    • getTitleForResult

      public String getTitleForResult(SearchResult result)
      Deprecated.
    • getResults

      public List<SearchResult> getResults()
      Deprecated.
    • getAvailableGlobalSpaces

      public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces()
      Deprecated.
      Find all global spaces that user has permission to view, but that aren't favourites
      Returns:
      List
    • getAggregateOptions

      public List<com.atlassian.core.util.PairType> getAggregateOptions()
      Deprecated.
    • getFavouriteSpaces

      public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces()
      Deprecated.
    • setSpaceManager

      public void setSpaceManager(SpaceManager spaceManager)
      Deprecated.
    • getRelatedLabels

      public List<Label> getRelatedLabels()
      Deprecated.
      Returns a list of related labels to the labels matching the search result
      Returns:
      List of related lables
    • getLabelNames

      public String getLabelNames(Labelable obj)
      Deprecated.
      Retrieve a comma separated string of label names.
      Returns:
      a comma separated string
    • getContentLabels

      public List getContentLabels(ContentEntityObject content, int amount)
      Deprecated.
    • getSpace

      public Space getSpace(String spaceKey)
      Deprecated.
    • getTypeName

      public String getTypeName(String type)
      Deprecated.
    • getTypeOptions

      public List<com.atlassian.core.util.PairType> getTypeOptions()
      Deprecated.
      Returns:
      a list of the type criteria that should be presented on the GUI.
    • getDateRanges

      public List<com.atlassian.core.util.PairType> getDateRanges()
      Deprecated.
      Returns:
      a list of the date range criteria that should be presented on the GUI.
    • getCurrentSearch

      public SearchSiteAction.CriteriaParameters 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

      public Timer getTimer()
      Deprecated.
    • getLabelsSummaryForResult

      public Summary getLabelsSummaryForResult(SearchResult result)
      Deprecated.
    • getQueryString

      public String getQueryString()
      Deprecated.
    • setQueryString

      public void setQueryString(String queryString)
      Deprecated.
    • getWhere

      public String getWhere()
      Deprecated.
    • setWhere

      public void setWhere(String where)
      Deprecated.
    • getKey

      public String getKey()
      Deprecated.
    • setKey

      public void setKey(String key)
      Deprecated.
    • getType

      public String getType()
      Deprecated.
    • getContentType

      public ContentTypeEnum getContentType()
      Deprecated.
    • setType

      public void setType(String type)
      Deprecated.
    • setTypes

      public void setTypes(String[] types)
      Deprecated.
    • getLastModified

      public DateRangeEnum getLastModified()
      Deprecated.
    • setLastModified

      public void setLastModified(DateRangeEnum lastModified)
      Deprecated.
    • getTotalSearchResults

      public int getTotalSearchResults()
      Deprecated.
    • getPaginationSupport

      public PaginationSupport getPaginationSupport()
      Deprecated.
    • getContentTypesDisplayMapper

      public ContentTypesDisplayMapper getContentTypesDisplayMapper()
      Deprecated.
    • setContentTypesDisplayMapper

      public void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper)
      Deprecated.
    • setQueryAnalyzer

      public void setQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer)
      Deprecated.
    • setSearchManager

      public void setSearchManager(SearchManager searchManager)
      Deprecated.
    • getSearchWords

      public List<String> getSearchWords()
      Deprecated.
    • getSearchQuery

      public SearchSiteAction.BackwardsCompatibility getSearchQuery()
      Deprecated.
    • setContributor

      public void setContributor(String who)
      Deprecated.
    • getContributor

      public String getContributor()
      Deprecated.
    • getContributorUsername

      public String getContributorUsername()
      Deprecated.
    • setContributorUsername

      public void setContributorUsername(String contributorUsername)
      Deprecated.
    • setPredefinedSearchBuilder

      public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
      Deprecated.
    • isIncludeArchivedSpaces

      public boolean isIncludeArchivedSpaces()
      Deprecated.
    • setIncludeArchivedSpaces

      public void setIncludeArchivedSpaces(boolean includeArchivedSpaces)
      Deprecated.
    • isSuggestArchivedSpaces

      public boolean isSuggestArchivedSpaces()
      Deprecated.
    • getSearchUuid

      public String getSearchUuid()
      Deprecated.
    • setDelegatedSearchResultRenderer

      public void setDelegatedSearchResultRenderer(DelegatedSearchResultRenderer defaultRenderer)
      Deprecated.
      Parameters:
      defaultRenderer - the defaultRenderer to set
    • setHitHighlighterFactory

      public void setHitHighlighterFactory(HitHighlighterFactory hitHighlighterFactory)
      Deprecated.