com.atlassian.confluence.pages.actions
Class PageDestinationSearchAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.PageDestinationSearchAction
- All Implemented Interfaces:
- Beanable, WebInterface, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, Serializable
public class PageDestinationSearchAction
- extends ConfluenceActionSupport
- implements Beanable
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).
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
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 |
PageDestinationSearchAction
public PageDestinationSearchAction()
validate
public void validate()
- Ensure a valid query has been supplied.
- Specified by:
validate
in interface Validateable
- Overrides:
validate
in class ActionSupport
execute
public String execute()
throws Exception
- Specified by:
execute
in interface Action
- Overrides:
execute
in class ActionSupport
- Throws:
Exception
getQuery
public String getQuery()
setQuery
public void setQuery(String queryString)
getWhere
public String getWhere()
setWhere
public void setWhere(String where)
setStartIndex
public void setStartIndex(int startIndex)
setSearchMapper
public void setSearchMapper(LuceneSearchMapper searchMapper)
setPredefinedSearchBuilder
public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
setSearchManager
public void setSearchManager(SearchManager searchManager)
getBean
public Object getBean()
- Specified by:
getBean
in interface Beanable