|
||||||||||
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.
Nested Class Summary | |
---|---|
static class |
ContentNameSearchAction.ContentNameMatch
An individual result from performing the name search. |
static class |
ContentNameSearchAction.ContentNameSearchResult
The result from performing a ContentNameSearch. |
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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 | |
---|---|
java.lang.String |
execute()
Perform the search and create the ContentNameSearchResult . |
java.lang.Object |
getBean()
|
ContentNameSearchAction.ContentNameSearchResult |
getResult()
|
void |
setContentNameQueryTokenizer(QueryTokenizer contentNameQueryTokenizer)
|
void |
setContentNameSearcher(ContentNameSearcher contentNameSearcher)
|
void |
setContentNameSearchSemaphoreHolder(SemaphoreHolder contentNameSearchSemaphoreHolder)
|
void |
setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesIconMapper)
|
void |
setQuery(java.lang.String query)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
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 |
Constructor Detail |
---|
public ContentNameSearchAction()
Method Detail |
---|
public java.lang.String execute() throws java.lang.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
java.lang.Exception
public void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesIconMapper)
public void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
public void setContentNameQueryTokenizer(QueryTokenizer contentNameQueryTokenizer)
public void setQuery(java.lang.String query)
public ContentNameSearchAction.ContentNameSearchResult getResult()
public java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |