|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.PageDestinationSearchAction
public class PageDestinationSearchAction
An action that will perform a search in Confluence returning results suitable as targets for moving a page to a new
parent. This differs from the SearchSiteAction
in that the results are restricted only to pages and spaces
(spaces are the target for a move to the root of a space).
Nested Class Summary | |
---|---|
class |
PageDestinationSearchAction.DestinationSearchResults
|
class |
PageDestinationSearchAction.IndividualDestinationSearchResult
|
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, 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 | |
---|---|
PageDestinationSearchAction()
|
Method Summary | |
---|---|
String |
execute()
|
Object |
getBean()
|
String |
getQuery()
|
String |
getWhere()
|
void |
setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
|
void |
setQuery(String queryString)
|
void |
setSearchManager(SearchManager searchManager)
|
void |
setSearchMapper(LuceneSearchMapper searchMapper)
|
void |
setStartIndex(int startIndex)
|
void |
setWhere(String where)
|
void |
validate()
Ensure a valid query has been supplied. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageDestinationSearchAction()
Method Detail |
---|
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getQuery()
public void setQuery(String queryString)
public String getWhere()
public void setWhere(String where)
public void setStartIndex(int startIndex)
public void setSearchMapper(LuceneSearchMapper searchMapper)
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
public void setSearchManager(SearchManager searchManager)
public Object getBean()
getBean
in interface Beanable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |