public class AttachedImagesAction extends ConfluenceActionSupport implements Beanable
Simple Action to retrieve the details of a ContentEntityObject's image attachments.
Since it is purpose built for the editor, it's possible this action should be moved to an editor actions package.
Warning: Think twice before removing or replacing this action. At the time of 4.0, this action was significantly faster than the equivalent REST resource /content/{id}/attachments.json
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 |
|---|
AttachedImagesAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Object |
getBean() |
boolean |
isPermitted() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentId(long contentId) |
void |
setThumbnailManager(ThumbnailManager thumbnailManager) |
void |
validate() |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, 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, withServletRequestSupplieraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrorspublic void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupportpublic boolean isPermitted()
isPermitted in class ConfluenceActionSupportpublic String execute()
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportpublic void setAttachmentManager(AttachmentManager attachmentManager)
public void setThumbnailManager(ThumbnailManager thumbnailManager)
public void setContentId(long contentId)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
Copyright © 2003–2022 Atlassian. All rights reserved.