com.atlassian.confluence.importexport.actions
Class ExportPageAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.AbstractPageAction
com.atlassian.confluence.importexport.actions.ExportPageAction
- All Implemented Interfaces:
- PageAware, TinyUrlAware, WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
public class ExportPageAction
- extends AbstractPageAction
- implements PageAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
captchaManager, contentPermissionManager, expertView, incomingLinks, isXHtml, linkManager, MARKUP, pageManager, PREVIEW, RICHTEXT, spaceManager, wysiwygConverter |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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 |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
displayDatePath, extractPageTitle, extractSpaceKey, generateAncestryBreadcrumbs, getAvailableSpaces, getBeanKey, getBlogPost, getCaptchaId, getCaptchaManager, getEditor, getEditorVersion, getExpertView, getHelper, getIncomingLinks, getMARKUP, getMode, getNextPost, getPage, getPageId, getPermittedChildren, getPostingDate, getPostingDay, getPostingDayOfMonth, getPostingMonth, getPostingMonthNumeric, getPostingYear, getPREVIEW, getPreviousPost, getPreviousVersion, getRICHTEXT, getShowMarkup, getSpace, getSpaceKey, getSpaceManager, getSubscribableName, getSuggestedLabels, getSupportWysiwyg, getTinyUrl, getTitle, getUseWysiwyg, getWebInterfaceContext, getXhtml, hasAttachFilePermissions, hasInvalidTitleCharacters, hasPermittedChildren, hasSetPagePermissionsPermission, hasViewPagePermission, isLatestVersionRequired, isPermitted, isSpaceAdmin, isViewPermissionRequired, setBreadcrumbsManager, setCaptchaId, setCaptchaManager, setConfluenceWysiwygConverter, setContentPermissionManager, setEditorManager, setLinkManager, setMode, setPage, setPageManager, setPostingDate, setSpaceManager, setXhtml |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, 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, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportPageAction
public ExportPageAction()
isPageRequired
public boolean isPageRequired()
- Description copied from interface:
PageAware
- If the action requires that the page be set before being run, then it should
return true to this method. If the action requires a page, but no page is available,
then the interceptor will automatically redirect to the 'pagenotfound' result
- Specified by:
isPageRequired
in interface PageAware
- Overrides:
isPageRequired
in class AbstractPageAction
- Returns:
- true if the action requires a page in order to execute
getDownloadPath
public java.lang.String getDownloadPath()
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
getAvailableTypes
public java.util.List getAvailableTypes()
setImportExportManager
public void setImportExportManager(ImportExportManager importExportManager)
isIncludeComments
public boolean isIncludeComments()
setIncludeComments
public void setIncludeComments(boolean includeComments)
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
java.lang.Exception
- if something goes wrong
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
getPermissionTypes
protected java.util.List getPermissionTypes()
- Overrides:
getPermissionTypes
in class AbstractPageAction
isBackupAttachments
public boolean isBackupAttachments()
setBackupAttachments
public void setBackupAttachments(boolean backupAttachments)
isBackupHierarchy
public boolean isBackupHierarchy()
setBackupHierarchy
public void setBackupHierarchy(boolean backupHierarchy)
setGateKeeper
public void setGateKeeper(GateKeeper gateKeeper)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.