com.atlassian.confluence.user.actions
Class PagePickerAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.user.actions.PagePickerAction
All Implemented Interfaces:
WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
Direct Known Subclasses:
PagePickerInDraftAction, SpacePagePickerAction

public class PagePickerAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
static int MAXRESULTS
           
 
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
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PagePickerAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.util.List getAggregateOptions()
           
 java.util.List getAvailableGlobalSpaces()
           
 ContentEntityObject getContentEntityObject()
           
 java.lang.String getCurrentspace()
           
 java.util.List getFavouriteSpaces()
           
 java.lang.String getFieldname()
           
 java.lang.String getFormname()
           
 java.util.List getHistoryPages()
           
 java.lang.String getMode()
           
 long getPageId()
           
 java.lang.String getQuery()
          Provie access to the current search query string.
 java.util.List getRecentlyUpdatedPages()
           
 java.util.List getReferringPages()
           
 SearchBean getSearchBean()
           
 SearchQueryBean getSearchQuery()
           
 java.util.List getSearchResults()
           
 int getStartIndex()
           
 boolean hasAttachFilePermissions()
           
 boolean isNewPage()
          convenience method to decide whether to retrieve the page or the draft
 boolean isUpdate()
           
protected  void resetSearchQueryBean()
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setCurrentspace(java.lang.String currentspace)
           
 void setFieldname(java.lang.String fieldname)
           
 void setFormname(java.lang.String formname)
           
 void setLinkManager(LinkManager linkManager)
           
 void setMode(java.lang.String mode)
           
 void setPageId(long pageId)
           
 void setPageManager(PageManager pageManager)
           
 void setQuery(java.lang.String query)
          Provide an interface for setting the search query string.
 void setSearchBean(SearchBean searchBean)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setStartIndex(int startIndex)
           
 
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
 

Field Detail

MAXRESULTS

public static final int MAXRESULTS
See Also:
Constant Field Values
Constructor Detail

PagePickerAction

public PagePickerAction()
Method Detail

getHistoryPages

public java.util.List getHistoryPages()

getRecentlyUpdatedPages

public java.util.List getRecentlyUpdatedPages()

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getSearchResults

public java.util.List getSearchResults()
                                throws java.io.IOException
Throws:
java.io.IOException

getReferringPages

public java.util.List getReferringPages()

getAggregateOptions

public java.util.List getAggregateOptions()

getFavouriteSpaces

public java.util.List getFavouriteSpaces()

getAvailableGlobalSpaces

public java.util.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 java.lang.String getFormname()

setFormname

public void setFormname(java.lang.String formname)

getFieldname

public java.lang.String getFieldname()

setFieldname

public void setFieldname(java.lang.String fieldname)

getCurrentspace

public java.lang.String getCurrentspace()

setCurrentspace

public void setCurrentspace(java.lang.String currentspace)

setPageManager

public void setPageManager(PageManager pageManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

setSearchBean

public void setSearchBean(SearchBean searchBean)

getMode

public java.lang.String getMode()

setMode

public void setMode(java.lang.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(java.lang.String query)
Provide an interface for setting the search query string.


getQuery

public java.lang.String getQuery()
Provie access to the current search query string.


hasAttachFilePermissions

public boolean hasAttachFilePermissions()


Copyright © 2003-2011 Atlassian. All Rights Reserved.