public class UploadAction extends ConfluenceActionSupport implements Beanable, com.opensymphony.webwork.interceptor.ServletRequestAware
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
UploadAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
Object |
getBean() |
Map<String,Object> |
getJsonResult() |
boolean |
isPermitted() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentType(String contentType) |
void |
setDraftId(long draftId) |
void |
setDraftService(DraftService draftService) |
void |
setDragAndDropEntityId(long dragAndDropEntityId) |
void |
setDragAndDropService(DragAndDropService dragAndDropService) |
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, getAccessMode, 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, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
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 boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
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 setPageId(long pageId)
public void setDraftId(long draftId)
public void setDragAndDropService(DragAndDropService dragAndDropService)
public void setDraftService(DraftService draftService)
public void setDragAndDropEntityId(long dragAndDropEntityId)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setIsVFMSupported(boolean isVFMSupported)
Copyright © 2003–2019 Atlassian. All rights reserved.