com.atlassian.confluence.user.actions
Class PagePickerAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.PagePickerAction
- All Implemented Interfaces:
- WebInterface, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, Serializable
- Direct Known Subclasses:
- PagePickerInDraftAction, SpacePagePickerAction
public class PagePickerAction
- extends ConfluenceActionSupport
- 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, getContext, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, 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, setSystemInformationService, 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, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXRESULTS
public static final int MAXRESULTS
- See Also:
- Constant Field Values
PagePickerAction
public PagePickerAction()
getHistoryPages
public List getHistoryPages()
getRecentlyUpdatedPages
public List getRecentlyUpdatedPages()
execute
public String execute()
throws Exception
- Specified by:
execute
in interface Action
- Overrides:
execute
in class ActionSupport
- Throws:
Exception
getSearchResults
public List getSearchResults()
throws IOException
- Throws:
IOException
getReferringPages
public List getReferringPages()
getAggregateOptions
public List getAggregateOptions()
getFavouriteSpaces
public List getFavouriteSpaces()
getAvailableGlobalSpaces
public List getAvailableGlobalSpaces()
isNewPage
public boolean isNewPage()
- convenience method to decide whether to retrieve the page or the draft
- Returns:
- false
getSearchQuery
public SearchQueryBean getSearchQuery()
resetSearchQueryBean
protected void resetSearchQueryBean()
getContentEntityObject
public ContentEntityObject getContentEntityObject()
isUpdate
public boolean isUpdate()
getFormname
public String getFormname()
setFormname
public void setFormname(String formname)
getFieldname
public String getFieldname()
setFieldname
public void setFieldname(String fieldname)
getCurrentspace
public String getCurrentspace()
setCurrentspace
public void setCurrentspace(String currentspace)
setPageManager
public void setPageManager(PageManager pageManager)
setContentEntityManager
public void setContentEntityManager(ContentEntityManager contentEntityManager)
setSearchBean
public void setSearchBean(SearchBean searchBean)
getMode
public String getMode()
setMode
public void setMode(String mode)
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
setLinkManager
public void setLinkManager(LinkManager linkManager)
getPageId
public long getPageId()
setPageId
public void setPageId(long pageId)
getSearchBean
public SearchBean getSearchBean()
getStartIndex
public int getStartIndex()
setStartIndex
public void setStartIndex(int startIndex)
setQuery
public void setQuery(String query)
- Provide an interface for setting the search query string.
getQuery
public String getQuery()
- Provie access to the current search query string.
hasAttachFilePermissions
public boolean hasAttachFilePermissions()