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 |
CANCEL, contentUiSupport, 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, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendAssetsManager, getFrontendFragment, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getReactUIDarkFeatureHelper, 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, setFrontendAssetsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setReactUIDarkFeatureHelper, 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()
public void setActiveContentType(String activeContentType)
public String getActiveContentType()
public void setCustomContentManager(CustomContentManager customContentManager)
public void setContentTypeManager(ContentTypeManager contentTypeManager)
protected SortedMap<String,CustomContentEntityObject> getFirstContainedCustomContentTypes()
public int getContainedCustomContentTypeCount(String contentTypeKey)
public List<CustomContentEntityObject> getContainedCustomContentTypeEntities(String contentTypeKey)
public String getCustomContentTypeI18NKeys(String contentTypeKey)
public String getViewComponentUrl(CustomContentEntityObject cceo)
public String getIconCssClass(CustomContentEntityObject cceo)
public WebInterfaceContext getWebInterfaceContext(WebInterfaceContext context, CustomContentEntityObject cceo)
Copyright © 2003–2016 Atlassian. All rights reserved.