public class PageDestinationSearchAction extends ConfluenceActionSupport implements Beanable
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).Modifier and Type | Class and Description |
---|---|
static class |
PageDestinationSearchAction.DestinationSearchResults |
class |
PageDestinationSearchAction.IndividualDestinationSearchResult |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
PageDestinationSearchAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, 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
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)
Copyright © 2003–2017 Atlassian. All rights reserved.