public abstract class AbstractViewAttachmentsAction extends ConfluenceActionSupport implements com.opensymphony.webwork.interceptor.ServletRequestAware, BootstrapAware
| Modifier and Type | Field and Description |
|---|---|
protected AttachmentManager |
attachmentManager |
protected FileStorer |
fileStorer |
protected List<String> |
highlight |
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager| Constructor and Description |
|---|
AbstractViewAttachmentsAction() |
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, 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, setAccessModeService, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManageraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected AttachmentManager attachmentManager
protected FileStorer fileStorer
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setServletRequest in interface com.opensymphony.webwork.interceptor.ServletRequestAwarepublic com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper getMultiPartRequest()
public void bootstrap()
bootstrap in interface BootstrapAwareprotected void validateUpload()
public String execute() throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic boolean hasAttachFilePermissions()
public abstract ContentEntityObject getContentEntityObject()
public void setAttachmentManager(AttachmentManager attachmentManager)
public List<Attachment> getLatestVersionsOfAttachments()
public String[] getAttachmentDetails(Attachment attachment)
attachment - the attachment to get the details ofpublic long getUploadLimit()
public String getHighlightParameter()
public List<Attachment> getAllVersions(Attachment attachment)
public int getMaxAttachments()
public void setFileUploadManager(FileUploadManager fileUploadManager)
public String getSortBy()
public void setSortBy(String sortBy)
public void setLabels(String labels)
public String getLabels()
Copyright © 2003–2018 Atlassian. All rights reserved.