|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.search.actions.ContentNameSearchAction
public class ContentNameSearchAction
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.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ContentNameSearchAction()
|
Method Summary | |
---|---|
String |
execute()
Perform the search and create the ContentNameSearchResult . |
Object |
getBean()
|
ContentNameSearchResult |
getResult()
|
void |
setContentNameQueryTokenizer(QueryTokenizer contentNameQueryTokenizer)
|
void |
setContentNameSearcher(ContentNameSearcher contentNameSearcher)
|
void |
setContentNameSearchSemaphoreHolder(SemaphoreHolder contentNameSearchSemaphoreHolder)
|
void |
setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesIconMapper)
|
void |
setQuery(String query)
|
void |
setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
setSpaceKey(String spaceKey)
|
void |
setType(String[] types)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Constructor Detail |
---|
public ContentNameSearchAction()
Method Detail |
---|
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 setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesIconMapper)
public void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
public void setContentNameQueryTokenizer(QueryTokenizer contentNameQueryTokenizer)
public void setQuery(String query)
public void setType(String[] types)
public void setSpaceKey(String spaceKey)
public ContentNameSearchResult getResult()
public Object getBean()
getBean
in interface Beanable
ContentNameSearchResult
) on successful execution of this action. If the
action has not executed then the return value will be null.public void setContentNameSearchSemaphoreHolder(SemaphoreHolder contentNameSearchSemaphoreHolder)
public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager
in class ConfluenceActionSupport
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setServletRequest
in interface com.opensymphony.webwork.interceptor.ServletRequestAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |