Class 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

    @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:
    Serialized Form
    • Constructor Detail

      • SearchSiteAction

        public SearchSiteAction()
        Deprecated.
    • Method Detail

      • validate

        public void validate()
        Deprecated.
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
                       throws Exception
        Deprecated.
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getSummaryForResult

        public String getSummaryForResult​(SearchResult result)
        Deprecated.
      • getTitleForResult

        public String getTitleForResult​(SearchResult result)
        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.
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.