public class SearchSiteAction extends ConfluenceActionSupport implements Beanable
Do not use it, it will be deleted as soon as possible.
Modifier and Type | Class and Description |
---|---|
class |
SearchSiteAction.BackwardsCompatibility
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 |
SearchSiteAction.CriteriaParameters
Deprecated.
A Class used to represent the different criteria restriction links that are displayed along with the search
results.
|
static class |
SearchSiteAction.UserDetails
Deprecated.
|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SearchSiteAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Deprecated.
Default webwork action execution method.
|
String |
execute()
Deprecated.
|
List<com.atlassian.core.util.PairType> |
getAggregateOptions()
Deprecated.
|
List<SpacePickerHelper.SpaceDTO> |
getAvailableGlobalSpaces()
Deprecated.
Find all global spaces that user has permission to view, but that aren't favourites
|
Object |
getBean()
Deprecated.
|
List<com.atlassian.core.util.PairType> |
getContentEntityTypes()
Deprecated.
Since 4.2 Use
getTypeOptions() |
List |
getContentLabels(ContentEntityObject content,
int amount)
Deprecated.
|
ContentTypeEnum |
getContentType()
Deprecated.
|
ContentTypesDisplayMapper |
getContentTypesDisplayMapper()
Deprecated.
|
String |
getContributor()
Deprecated.
|
String |
getContributorUsername()
Deprecated.
|
SearchSiteAction.CriteriaParameters |
getCurrentSearch()
Deprecated.
|
List<com.atlassian.core.util.PairType> |
getDateRanges()
Deprecated.
|
int |
getEndIndex()
Deprecated.
|
List<SpacePickerHelper.SpaceDTO> |
getFavouriteSpaces()
Deprecated.
|
String |
getKey()
Deprecated.
|
String |
getLabelNames(Labelable obj)
Deprecated.
Retrieve a comma separated string of label names.
|
com.atlassian.bonnie.search.summary.Summary |
getLabelsSummaryForResult(SearchResult result)
Deprecated.
|
DateRangeEnum |
getLastModified()
Deprecated.
|
PaginationSupport |
getPaginationSupport()
Deprecated.
|
String |
getQueryString()
Deprecated.
|
List<Label> |
getRelatedLabels()
Deprecated.
Returns a list of related labels to the labels matching the search result
|
List<SearchResult> |
getResults()
Deprecated.
|
SearchSiteAction.BackwardsCompatibility |
getSearchQuery()
Deprecated.
|
String |
getSearchUuid()
Deprecated.
|
List<String> |
getSearchWords()
Deprecated.
|
Space |
getSpace(String spaceKey)
Deprecated.
|
int |
getStartIndex()
Deprecated.
|
String |
getSummaryForResult(SearchResult result)
Deprecated.
|
Timer |
getTimer()
Deprecated.
|
String |
getTitleForResult(SearchResult result)
Deprecated.
|
int |
getTotalSearchResults()
Deprecated.
|
String |
getType()
Deprecated.
|
String |
getTypeName(String type)
Deprecated.
|
List<com.atlassian.core.util.PairType> |
getTypeOptions()
Deprecated.
|
WebInterfaceContext |
getWebInterfaceContext(SearchResult result)
Deprecated.
|
String |
getWhere()
Deprecated.
|
boolean |
isIncludeArchivedSpaces()
Deprecated.
|
boolean |
isSuggestArchivedSpaces()
Deprecated.
|
String |
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 |
setIncludeArchivedSpaces(boolean includeArchivedSpaces)
Deprecated.
|
void |
setKey(String key)
Deprecated.
|
void |
setLastModified(DateRangeEnum lastModified)
Deprecated.
|
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
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 |
setSearchMapper(LuceneSearchMapper searchMapper)
Deprecated.
|
void |
setSpaceManager(SpaceManager spaceManager)
Deprecated.
|
void |
setStartIndex(int startIndex)
Deprecated.
|
void |
setType(String type)
Deprecated.
|
void |
setTypes(String[] types)
Deprecated.
|
void |
setUserAccessor(UserAccessor userAccessor)
Deprecated.
|
void |
setWhere(String where)
Deprecated.
|
void |
validate()
Deprecated.
|
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String newSearchResult(SearchResult searchResult, String showExcerpts, String queryString)
public WebInterfaceContext getWebInterfaceContext(SearchResult result)
public String getSummaryForResult(SearchResult result)
public String getTitleForResult(SearchResult result)
public List<SearchResult> getResults()
public List<SpacePickerHelper.SpaceDTO> getAvailableGlobalSpaces()
public List<com.atlassian.core.util.PairType> getAggregateOptions()
public List<SpacePickerHelper.SpaceDTO> getFavouriteSpaces()
public void setSpaceManager(SpaceManager spaceManager)
@Deprecated public List<com.atlassian.core.util.PairType> getContentEntityTypes()
getTypeOptions()
public List<Label> getRelatedLabels()
public String getLabelNames(Labelable obj)
public List getContentLabels(ContentEntityObject content, int amount)
public List<com.atlassian.core.util.PairType> getTypeOptions()
public List<com.atlassian.core.util.PairType> getDateRanges()
public void setUserAccessor(UserAccessor userAccessor)
setUserAccessor
in class ConfluenceActionSupport
public SearchSiteAction.CriteriaParameters getCurrentSearch()
public void setStartIndex(int startIndex)
public int getStartIndex()
public int getEndIndex()
public Timer getTimer()
public com.atlassian.bonnie.search.summary.Summary getLabelsSummaryForResult(SearchResult result)
public String getQueryString()
public void setQueryString(String queryString)
public String getWhere()
public void setWhere(String where)
public String getKey()
public void setKey(String key)
public String getType()
public ContentTypeEnum getContentType()
public void setType(String type)
public void setTypes(String[] types)
public DateRangeEnum getLastModified()
public void setLastModified(DateRangeEnum lastModified)
public int getTotalSearchResults()
public PaginationSupport getPaginationSupport()
public void setSearchMapper(LuceneSearchMapper searchMapper)
public ContentTypesDisplayMapper getContentTypesDisplayMapper()
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setPluginAccessor
in class ConfluenceActionSupport
public void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper)
public void setQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer)
public void setSearchManager(SearchManager searchManager)
public SearchSiteAction.BackwardsCompatibility getSearchQuery()
public void setContributor(String who)
public String getContributor()
public String getContributorUsername()
public void setContributorUsername(String contributorUsername)
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
public boolean isIncludeArchivedSpaces()
public void setIncludeArchivedSpaces(boolean includeArchivedSpaces)
public boolean isSuggestArchivedSpaces()
public String getSearchUuid()
public void setDelegatedSearchResultRenderer(DelegatedSearchResultRenderer defaultRenderer)
defaultRenderer
- the defaultRenderer to setCopyright © 2003–2016 Atlassian. All rights reserved.