@Deprecated public class ContentNameSearchAction extends ConfluenceActionSupport implements Beanable, com.opensymphony.webwork.interceptor.ServletRequestAware
An action that will take a query String from the front end and apply it as a search across the 'universal title' field within the Confluence search index.
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ContentNameSearchAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
execute()
Deprecated.
Perform the search and create the
ContentNameSearchResult . |
Object |
getBean()
Deprecated.
|
ContentNameSearchResult |
getResult()
Deprecated.
|
void |
setContentNameSearchService(ContentNameSearchService contentNameSearchService)
Deprecated.
|
void |
setMaxPerCategory(int maxPerCategory)
Deprecated.
|
void |
setQuery(String query)
Deprecated.
|
void |
setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
Deprecated.
|
void |
setSpaceKey(String spaceKey)
Deprecated.
|
void |
setType(String[] types)
Deprecated.
|
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, 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, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public String execute() throws Exception
Perform the search and create the ContentNameSearchResult
. The individual
ContentNameMatch
objects within the result will be ordered and grouped, so you can count on getting
results ordered like -
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setQuery(String query)
public void setType(String[] types)
public void setSpaceKey(String spaceKey)
public void setMaxPerCategory(int maxPerCategory)
public ContentNameSearchResult getResult()
public Object getBean()
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setServletRequest
in interface com.opensymphony.webwork.interceptor.ServletRequestAware
public void setContentNameSearchService(ContentNameSearchService contentNameSearchService)
Copyright © 2003–2016 Atlassian. All rights reserved.