public class UploadAction extends ConfluenceActionSupport implements Beanable, com.opensymphony.webwork.interceptor.ServletRequestAware
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
UploadAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
Object |
getBean() |
Map<String,Object> |
getJsonResult() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setCapabilityService(com.atlassian.plugins.capabilities.api.CapabilityService capabilityService) |
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentType(String contentType) |
void |
setDraftId(long draftId) |
void |
setDraftService(DraftService draftService) |
void |
setDragAndDropEntityId(long dragAndDropEntityId) |
void |
setEditorFormatService(EditorFormatService editorFormatService) |
void |
setFilename(String filename) |
void |
setFileUploadManager(FileUploadManager fileUploadManager) |
void |
setIsVFMSupported(boolean isVFMSupported) |
void |
setMimeType(String mimeType) |
void |
setMinorEdit(boolean minorEdit) |
void |
setPageId(long pageId) |
void |
setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) |
void |
setSize(long size) |
void |
setWithEditorPlaceholder(boolean withEditorPlaceholder) |
void |
validate() |
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 void setMimeType(String mimeType)
public void setContentType(String contentType)
public void setFilename(String filename)
public void setSize(long size)
public void setMinorEdit(boolean minorEdit)
public void setWithEditorPlaceholder(boolean withEditorPlaceholder)
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setServletRequest
in interface com.opensymphony.webwork.interceptor.ServletRequestAware
public void setFileUploadManager(FileUploadManager fileUploadManager)
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setCapabilityService(com.atlassian.plugins.capabilities.api.CapabilityService capabilityService)
public void setPageId(long pageId)
public void setDraftId(long draftId)
public void setEditorFormatService(EditorFormatService editorFormatService)
public void setDraftService(DraftService draftService)
public void setDragAndDropEntityId(long dragAndDropEntityId)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setIsVFMSupported(boolean isVFMSupported)
Copyright © 2003–2016 Atlassian. All rights reserved.