Uses of Class
com.atlassian.confluence.pages.Attachment
Packages that use Attachment
Package
Description
Confluence attachment events.
This package contains handlers that know how to create change values out of
changed objects.
This package groups the breadcrumb logic:
All breadcrumbs for global admin and other general purpose,
Breadcrumb generation and interfaces,
Pre-5.0 breadcrumbs for Spaces.
-
Uses of Attachment in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return AttachmentModifier and TypeMethodDescriptionAttachmentContentTypeApiSupport.update
(Content content, Attachment entity) Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return types with arguments of type AttachmentMethods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type AttachmentModifier and TypeMethodDescriptionboolean
AttachmentContentTypeApiSupport.canRemoveAttachment
(Attachment attachment) protected PageResponse<Content>
AttachmentContentTypeApiSupport.getChildrenForThisType
(Attachment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth) AttachmentContentTypeApiSupport.getLinks
(Attachment attachment) AttachmentContentTypeApiSupport.update
(Content content, Attachment entity) AttachmentContentTypeApiSupport.validateUpdate
(Content updatedContent, Attachment existingEntity) Method parameters in com.atlassian.confluence.api.impl.service.content.typebinding with type arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentContentTypeApiSupport.getAttachments
(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions) AttachmentContentTypeApiSupport.getExtensions
(Iterable<Attachment> attachments, Expansions expansions) -
Uses of Attachment in com.atlassian.confluence.content
Methods in com.atlassian.confluence.content with parameters of type AttachmentModifier and TypeMethodDescriptionContentEntityAdapter.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) Return the URL path to view the a particular attachment of the contentContentEntityAdapterParent.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) DefaultContentAdapter.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) CustomContentEntityObject.getAttachmentUrlPath
(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.editor.embed
Methods in com.atlassian.confluence.content.render.xhtml.editor.embed with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
EditorEmbeddedImageTitleWriter.writeEmbeddedImageTag
(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.editor.link
Methods in com.atlassian.confluence.content.render.xhtml.editor.link with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
AttachmentStaxStreamMarshaller.marshal
(Attachment attachment, XMLStreamWriter xmlStreamWriter, ConversionContext context) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.links
Methods in com.atlassian.confluence.content.render.xhtml.links with parameters of type AttachmentModifier and TypeMethodDescriptiondefault String
HrefEvaluator.createHref
(ConversionContext context, Attachment attachment, String anchor) HtmlExportHrefEvaluator.createHref
(ConversionContext context, Attachment attachment, String anchor) LinksUpdater.AttachmentReferenceDetails.createReference
(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.migration
Methods in com.atlassian.confluence.content.render.xhtml.migration that return AttachmentModifier and TypeMethodDescriptionDefaultEmbeddedResourceResolver.resolve
(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext) EmbeddedResourceResolver.resolve
(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers that return AttachmentModifier and TypeMethodDescriptionAttachmentResourceIdentifierResolver.resolve
(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext) -
Uses of Attachment in com.atlassian.confluence.content.render.xhtml.view.embed
Methods in com.atlassian.confluence.content.render.xhtml.view.embed with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
EmbeddedImageTagWriter.writeEmbeddedImageTag
(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext) void
SimpleEmbeddedImageTagWriter.writeEmbeddedImageTag
(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext) void
ViewEmbeddedImageTitleWriter.writeEmbeddedImageTag
(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext) Constructor parameters in com.atlassian.confluence.content.render.xhtml.view.embed with type arguments of type AttachmentModifierConstructorDescriptionDefaultAttachedImageResourceMarshaller
(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, PermissionManager permissionManager, ThumbnailManager thumbnailManager, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, EmbeddedImageTagWriter embeddedImageWriter, UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter, AttachmentResourceIdentifierOnlyUriResolver attachmentResourceIdentifierOnlyUriResolver, ImageDetailsManager imageDetailsManager, DarkFeaturesManager darkFeaturesManager, AttachedImageRenderHelper attachedImageRenderHelper) SimpleEmbeddedImageTagWriter
(StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, AttachedImageRenderHelper attachedImageRenderHelper) SimpleEmbeddedImageTagWriter
(StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, AttachedImageRenderHelper attachedImageRenderHelper, ImageDetailsManager imageDetailsManager, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider) -
Uses of Attachment in com.atlassian.confluence.content.ui
Methods in com.atlassian.confluence.content.ui with parameters of type AttachmentModifier and TypeMethodDescriptionAttachmentUiSupport.getContentCssClass
(Attachment content) AttachmentUiSupport.getContentTypeI18NKey
(Attachment content) AttachmentUiSupport.getIconCssClass
(Attachment content) AttachmentUiSupport.getIconFilePath
(Attachment content, int size) AttachmentUiSupport.getIconPath
(Attachment content, int size) -
Uses of Attachment in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return AttachmentMethods in com.atlassian.confluence.core that return types with arguments of type AttachmentModifier and TypeMethodDescriptionContentEntityObject.getAttachments()
Don't use it directly, use AttachmentManager.getAttachments(page) instead.ContentEntityObject.getLatestVersionsOfAttachments()
Deprecated.Since 6.13.Methods in com.atlassian.confluence.core with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
ContentEntityObject.addAttachment
(Attachment attachment) protected void
ContentEntityObject.ensureAttachmentBelongsToContent
(Attachment attachment) ContentEntityObject.getAttachmentUrlPath
(Attachment attachment) Gets the path relative to Confluence's base URL to view the given attachment in the context of this content (for example, highlighted in the content's list of attachments).javax.activation.DataSource
DataSourceFactory.getDatasource
(Attachment attachment, boolean useThumbnail) void
ContentEntityObject.removeAttachment
(Attachment attachment) Method parameters in com.atlassian.confluence.core with type arguments of type AttachmentModifier and TypeMethodDescriptionvoid
ContentEntityObject.setAttachments
(List<Attachment> attachments) -
Uses of Attachment in com.atlassian.confluence.dmz.pages
Methods in com.atlassian.confluence.dmz.pages that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentManagerInternal.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.AttachmentManagerInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) Returns a list of all the latest versions of attachments for all the CEOs provided (including trashed)@NonNull PageResponse<Attachment>
AttachmentManagerInternal.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Retrieves all the existing attachments associated with the instance of Confluence, while applying the specified pagination parameters to limit the number of results returned in each request.@NonNull PageResponse<Attachment>
AttachmentManagerInternal.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Retrieves all the current attachments within the specified space, with the results limited according to the provided pagination parameters.Methods in com.atlassian.confluence.dmz.pages with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
AttachmentManagerInternal.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) Moves an attachment to a differentContentEntityObject
container.Method parameters in com.atlassian.confluence.dmz.pages with type arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentManagerInternal.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO. -
Uses of Attachment in com.atlassian.confluence.event.events.content.attachment
Methods in com.atlassian.confluence.event.events.content.attachment that return AttachmentModifier and TypeMethodDescriptionAttachmentEvent.getAttachment()
Returns the real content (the first attachment of the list or null if there is none)@NonNull Attachment
GeneralAttachmentUpdateEvent.getNew()
@NonNull Attachment
GeneralAttachmentUpdateEvent.getOld()
Methods in com.atlassian.confluence.event.events.content.attachment that return types with arguments of type AttachmentConstructors in com.atlassian.confluence.event.events.content.attachment with parameters of type AttachmentModifierConstructorDescriptionAttachmentCreateEvent
(Object src, Attachment attachment) AttachmentCreateEvent
(Object src, Attachment attachment, boolean suppressNotifications) protected
AttachmentEvent
(Object src, Attachment attachment) Convenience method.protected
AttachmentEvent
(Object src, Attachment attachment, boolean suppressNotifications) Convenience method.AttachmentRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) AttachmentRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover, boolean suppressNotifications) AttachmentTrashedEvent
(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser, boolean suppressNotifications) Creates an attachment trashed eventAttachmentUpdateEvent
(Object src, Attachment attachment, Attachment previousVersion) AttachmentUpdateEvent
(Object src, Attachment attachment, Attachment previousVersion, boolean suppressNotifications) AttachmentVersionRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) AttachmentVersionRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover, boolean shouldSuppressNotifications) AttachmentViewEvent
(Object src, Attachment attachment) AttachmentViewEvent
(Object src, Attachment attachment, boolean download) GeneralAttachmentCreateEvent
(Object src, Attachment attachment) GeneralAttachmentCreateEvent
(Object src, Attachment attachment, boolean suppressNotifications) GeneralAttachmentRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) GeneralAttachmentRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover, boolean suppressNotifications) GeneralAttachmentRestoreEvent
(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser, boolean suppressNotifications) Creates an attachment restore eventGeneralAttachmentUpdateEvent
(Object src, Attachment attachment, Attachment previousVersion) GeneralAttachmentUpdateEvent
(Object src, Attachment attachment, Attachment previousVersion, boolean suppressNotifications) GeneralAttachmentVersionRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) GeneralAttachmentVersionRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover, boolean suppressNotifications) HiddenAttachmentCreateEvent
(Object src, Attachment attachment) HiddenAttachmentRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) HiddenAttachmentRestoreEvent
(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser) Creates an attachment restore eventHiddenAttachmentUpdateEvent
(Object src, Attachment attachment, Attachment previousVersion) HiddenAttachmentVersionRemoveEvent
(Object src, Attachment attachment, @Nullable com.atlassian.user.User remover) ProfilePictureThumbnailViewEvent
(Object src, Attachment attachment) ProfilePictureViewEvent
(Object src, Attachment attachment) ThumbnailViewEvent
(Object src, Attachment attachment) Constructor parameters in com.atlassian.confluence.event.events.content.attachment with type arguments of type AttachmentModifierConstructorDescriptionAttachmentBatchUploadCompletedEvent
(Object src, List<Attachment> attachments) AttachmentBatchUploadCompletedEvent
(Object src, List<Attachment> attachments, boolean suppressNotifications) AttachmentCreateEvent
(Object src, List<Attachment> attachments) Construct a new AttachmentCreateEvent.AttachmentCreateEvent
(Object src, List<Attachment> attachments, boolean suppressNotifications) protected
AttachmentEvent
(Object src, List<Attachment> attachments) Convenience method.protected
AttachmentEvent
(Object src, List<Attachment> attachments, boolean suppressNotifications) Constructs a multi-attachment event.AttachmentViewEvent
(Object src, List<Attachment> attachments, boolean download) GeneralAttachmentBatchUploadCompletedEvent
(Object src, List<Attachment> attachments) GeneralAttachmentBatchUploadCompletedEvent
(Object src, List<Attachment> attachments, boolean suppressNotifications) GeneralAttachmentCreateEvent
(Object src, List<Attachment> attachments) Construct a new GeneralAttachmentCreateEvent.GeneralAttachmentCreateEvent
(Object src, List<Attachment> attachments, boolean suppressNotifications) HiddenAttachmentBatchUploadCompletedEvent
(Object src, List<Attachment> attachments) HiddenAttachmentCreateEvent
(Object src, List<Attachment> attachments) Construct a new HiddenAttachmentCreateEvent. -
Uses of Attachment in com.atlassian.confluence.event.events.internal.attachment
Methods in com.atlassian.confluence.event.events.internal.attachment that return AttachmentConstructors in com.atlassian.confluence.event.events.internal.attachment with parameters of type AttachmentModifierConstructorDescriptionAttachmentCreatedAuditingEvent
(Attachment attachment, SaveContext saveContext) -
Uses of Attachment in com.atlassian.confluence.event.events.space
Methods in com.atlassian.confluence.event.events.space that return AttachmentConstructors in com.atlassian.confluence.event.events.space with parameters of type AttachmentModifierConstructorDescriptionSpaceLogoUpdateEvent
(Object src, Space space, SpaceLogoUpdateEvent.SpaceLogoActions eventType, Attachment logo) SpaceLogoUpdateEvent
(Object src, Space space, String eventType, Attachment logo) Deprecated.since 5.10 -
Uses of Attachment in com.atlassian.confluence.event.events.user
Constructors in com.atlassian.confluence.event.events.user with parameters of type AttachmentModifierConstructorDescriptionUserProfilePictureUpdateEvent
(Object src, com.atlassian.user.User user, Attachment image) -
Uses of Attachment in com.atlassian.confluence.impl.audit.handler
Methods in com.atlassian.confluence.impl.audit.handler that return types with arguments of type AttachmentModifier and TypeMethodDescriptioncom.atlassian.confluence.impl.audit.handler.DefaultAuditHandler<Attachment>
AuditHandlerFactory.createAttachmentHandler()
-
Uses of Attachment in com.atlassian.confluence.impl.content.render.prefetch
Methods in com.atlassian.confluence.impl.content.render.prefetch that return types with arguments of type AttachmentModifier and TypeMethodDescriptionstatic @NonNull Function<AttachmentResourceIdentifier,
Optional<Attachment>> AttachmentPrefetcher.prefetchedAttachments
(ConversionContext conversionContext) Method parameters in com.atlassian.confluence.impl.content.render.prefetch with type arguments of type AttachmentModifier and TypeMethodDescriptionint
ImageDetailsPrefetchDao.prefetchImageDetails
(Collection<Attachment> attachments) -
Uses of Attachment in com.atlassian.confluence.impl.event
Methods in com.atlassian.confluence.impl.event that return types with arguments of type AttachmentConstructor parameters in com.atlassian.confluence.impl.event with type arguments of type Attachment -
Uses of Attachment in com.atlassian.confluence.impl.pages.actions
Methods in com.atlassian.confluence.impl.pages.actions that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentUploadHelper.attachFiles
(ContentEntityObject contentEntityObject) -
Uses of Attachment in com.atlassian.confluence.impl.pages.attachments
Methods in com.atlassian.confluence.impl.pages.attachments that return AttachmentModifier and TypeMethodDescriptionReadThroughCachingAttachmentManager.getAttachment
(long id) ReadThroughCachingAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) ReadThroughCachingAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) ReadThroughCachingAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) Methods in com.atlassian.confluence.impl.pages.attachments that return types with arguments of type AttachmentModifier and TypeMethodDescriptionReadThroughCachingAttachmentManager.findAttachmentForDownloadPath
(String downloadPath) ReadThroughCachingAttachmentManager.getAllVersions
(Attachment attachment) ReadThroughCachingAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getAttachments
(List<Long> ids) ReadThroughCachingAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.ReadThroughCachingAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) ReadThroughCachingAttachmentManager.getPreviousVersions
(Attachment attachment) ReadThroughCachingAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) @NonNull List<Attachment>
ReadThroughCachingAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) ReadThroughCachingAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) @NonNull PageResponse<Attachment>
ReadThroughCachingAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
ReadThroughCachingAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Methods in com.atlassian.confluence.impl.pages.attachments with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
ReadThroughCachingAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) ReadThroughCachingAttachmentManager.getAllVersions
(Attachment attachment) ReadThroughCachingAttachmentManager.getAttachmentData
(Attachment attachment) ReadThroughCachingAttachmentManager.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) ReadThroughCachingAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) ReadThroughCachingAttachmentManager.getPreviousVersions
(Attachment attachment) void
ReadThroughCachingAttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) void
ReadThroughCachingAttachmentManager.moveAttachment
(Attachment latestVersion, ContentEntityObject newContainer) void
ReadThroughCachingAttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) ReadThroughCachingAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) void
ReadThroughCachingAttachmentDao.removeAttachmentFromServer
(Attachment attachment) void
ReadThroughCachingAttachmentManager.removeAttachmentFromServer
(Attachment attachment) void
ReadThroughCachingAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachment) void
ReadThroughCachingAttachmentManager.removeAttachmentVersionFromServer
(Attachment attachment) void
ReadThroughCachingAttachmentManager.removeAttachmentVersionFromServerWithoutNotifications
(Attachment attachment) void
ReadThroughCachingAttachmentManager.removeAttachmentWithoutNotifications
(Attachment attachment) void
ReadThroughCachingAttachmentManager.restore
(Attachment attachment) void
ReadThroughCachingAttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
ReadThroughCachingAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) void
ReadThroughCachingAttachmentManager.setAttachmentData
(Attachment attachment, InputStream attachmentData) ReadThroughAttachmentDownloadPathCache.toKey
(Attachment attachment) void
ReadThroughCachingAttachmentManager.trash
(Attachment attachment) Method parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type AttachmentModifier and TypeMethodDescriptionReadThroughCachingAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.void
ReadThroughCachingAttachmentManager.removeAttachments
(List<? extends Attachment> attachments) Constructor parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type AttachmentModifierConstructorDescriptionReadThroughCachingAttachmentDao
(AttachmentDaoInternal delegate, ReadThroughCache<String, Attachment> cache) -
Uses of Attachment in com.atlassian.confluence.impl.pages.attachments.filesystem
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem with parameters of type AttachmentModifier and TypeMethodDescriptionFileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment) Grabs the AttachmentData object for an AttachmentFileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType) FileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range) boolean
FileSystemAttachmentDataDao.isAttachmentPresent
(Attachment attachment) void
FileSystemAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) void
FileSystemAttachmentDataDao.moveDataForAttachmentVersion
(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion) Moves the attachment data from oneAbstractVersionedEntityObject.getVersion()
to the other.void
FileSystemAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Removes all attachment data for the given attachment.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Removes the attachment data for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) void
FileSystemAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) void
FileSystemAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, InputStream data) Sets the data for attachmentvoid
FileSystemAttachmentDataDao.saveDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) void
FileSystemAttachmentDataDao.saveDataForAttachment
(Attachment attachment, InputStream data) Saves data to the attachment data storevoid
FileSystemAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream) void
FileSystemAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream data) Saves data to the attachment data store, for an attachment that has been updated. -
Uses of Attachment in com.atlassian.confluence.impl.pages.attachments.filesystem.model
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem.model with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.impl.pages.thumbnail
Methods in com.atlassian.confluence.impl.pages.thumbnail with parameters of type AttachmentModifier and TypeMethodDescriptiondefault File
ThumbnailManagerInternal.getThumbnailFile
(@NonNull Attachment attachment) Deprecated.since 7.14default File
ThumbnailManagerInternal.getThumbnailFile
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) Deprecated.since 7.14com.atlassian.dc.filestore.api.compat.FilesystemPath
ThumbnailManagerInternal.getThumbnailPath
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) -
Uses of Attachment in com.atlassian.confluence.impl.pages.thumbnail.renderer
Methods in com.atlassian.confluence.impl.pages.thumbnail.renderer with parameters of type AttachmentModifier and TypeMethodDescriptioncom.atlassian.core.util.thumbnail.Thumbnail
DelegatingThumbnailRenderer.retrieveOrCreateThumbNail
(@NonNull Attachment attachment, com.atlassian.dc.filestore.api.compat.FilesystemPath thumbnailFile, int maxWidth, int maxHeight) com.atlassian.core.util.thumbnail.Thumbnail
DelegatingThumbnailRenderer.retrieveOrCreateThumbNail
(@NonNull Attachment attachment, File thumbnailFile, int maxWidth, int maxHeight) Create a new or return an existingThumbnail
for this attachment. -
Uses of Attachment in com.atlassian.confluence.impl.retention.analytics
Method parameters in com.atlassian.confluence.impl.retention.analytics with type arguments of type AttachmentModifier and TypeMethodDescriptionvoid
TrashRemovalStatistic.attachmentDeleted
(List<Attachment> deletedVersions) -
Uses of Attachment in com.atlassian.confluence.impl.user
Methods in com.atlassian.confluence.impl.user with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
UserProfilePictureAccessorInternal.setUserProfilePicture
(com.atlassian.user.User user, Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl with parameters of type AttachmentModifier and TypeMethodDescriptionprotected boolean
DefaultExportEmbeddedResourceRenderer.isPermittedToViewAttachment
(Attachment attachment) Return true if the user is able to view the attachment. -
Uses of Attachment in com.atlassian.confluence.importexport.resource
Methods in com.atlassian.confluence.importexport.resource that return AttachmentModifier and TypeMethodDescriptionprotected Attachment
AttachmentDownloadResourceManager.getAttachment
(String userName, String resourcePath, Map parameters, String urlPrefix) Constructors in com.atlassian.confluence.importexport.resource with parameters of type AttachmentModifierConstructorDescriptionAttachmentDownloadResourceReader
(Attachment attachment, org.springframework.core.io.InputStreamSource inputStreamSource) PartialAttachmentDownloadResourceReader
(Attachment attachment, org.springframework.core.io.InputStreamSource inputStreamSource, RangeRequest range) ThumbnailDownloadResourceReader
(Attachment attachment, File thumbnailFile, org.springframework.core.io.InputStreamSource inputStreamSource) -
Uses of Attachment in com.atlassian.confluence.index.attachment
Methods in com.atlassian.confluence.index.attachment with parameters of type AttachmentModifier and TypeMethodDescriptionAttachmentTextExtractor.extract
(Attachment attachment) Extracts text from an attachment.AttachmentExtractedTextManager.getContent
(Attachment attachment) Returns anOptional
describing theInputStreamSource
of extracted text of the provided attachment version if it is available, or an emptyOptional
otherwise.void
AttachmentExtractedTextManager.removeContent
(Attachment attachment) Remove extracted text of the specified attachment version.void
AttachmentExtractedTextManager.removePreviousVersionContent
(Attachment attachment) Remove extracted text of the previous version of the specified attachment version if it exists.void
AttachmentExtractedTextManager.saveContent
(Attachment attachment, InputStreamSource content) Saves a stream of data as the extracted text of the provided attachment version. -
Uses of Attachment in com.atlassian.confluence.internal.content.collab
Methods in com.atlassian.confluence.internal.content.collab that return types with arguments of type AttachmentConstructor parameters in com.atlassian.confluence.internal.content.collab with type arguments of type AttachmentModifierConstructorDescriptionAttachmentMacroVisitor
(List<Attachment> attachments, ContentEntityObject contentEntityObject, ContentEntityObject parentCeo) OwningContent
(long contentId, IncludeOwnContentEnum includeOwnContentEnum, List<Attachment> attachments) -
Uses of Attachment in com.atlassian.confluence.internal.index.attachment
Methods in com.atlassian.confluence.internal.index.attachment with parameters of type AttachmentModifier and TypeMethodDescriptionDelegatingAttachmentTextExtractor.extract
(Attachment attachment) DefaultAttachmentExtractedTextManager.getContent
(Attachment attachment) void
DefaultAttachmentExtractedTextManager.removeContent
(Attachment attachment) void
DefaultAttachmentExtractedTextManager.removePreviousVersionContent
(Attachment attachment) void
DefaultAttachmentExtractedTextManager.saveContent
(Attachment attachment, InputStreamSource inputStreamSource) boolean
ShouldExtractAttachmentTextPredicate.test
(AttachmentTextExtractor textExtractor, Attachment attachment) Constructor parameters in com.atlassian.confluence.internal.index.attachment with type arguments of type AttachmentModifierConstructorDescriptionDelegatingAttachmentTextExtractor
(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider, BiPredicate<AttachmentTextExtractor, Attachment> shouldExtractPredicate) -
Uses of Attachment in com.atlassian.confluence.internal.pages.persistence
Methods in com.atlassian.confluence.internal.pages.persistence that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentDaoInternal.findLatestVersionsIterator()
Returns an iterator for the latest versions of the current persistent class.AttachmentDaoInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) Retrieves the latest versions of all attachments for all CEOs provided (including trashed)AttachmentDaoInternal.removeAllVersionsFromServer
(Attachment attachment) Removes all versions of an attachmentAttachmentDaoInternal.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AttachmentDaoInternal.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) Methods in com.atlassian.confluence.internal.pages.persistence with parameters of type AttachmentModifier and TypeMethodDescriptionAttachmentDaoInternal.removeAllVersionsFromServer
(Attachment attachment) Removes all versions of an attachment -
Uses of Attachment in com.atlassian.confluence.internal.search.extractor2
Methods in com.atlassian.confluence.internal.search.extractor2 with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.json.jsonator
Methods in com.atlassian.confluence.json.jsonator with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.links
Fields in com.atlassian.confluence.links declared as AttachmentMethods in com.atlassian.confluence.links that return AttachmentMethods in com.atlassian.confluence.links with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
DefaultRelatedContentRefactorer.updateReferrers
(Attachment attachment, Attachment previousAttachment) void
RelatedContentRefactorer.updateReferrers
(Attachment attachment, Attachment previousAttachment) Iterate through all the content that links to (or embeds) the supplied attachment (prior to it's update) and update the details of this relationship to reflect the current name and owner of the attachment. -
Uses of Attachment in com.atlassian.confluence.pages
Subclasses of Attachment in com.atlassian.confluence.pagesModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.since 9.1, useAttachment
directly.Methods in com.atlassian.confluence.pages that return AttachmentModifier and TypeMethodDescriptionAddressableAttachment.attachment()
Returns the value of theattachment
record component.IndexableAttachment.attachment()
Returns the value of theattachment
record component.Attachment.copy()
ReadOnlyAttachment.copy()
Deprecated, for removal: This API element is subject to removal in a future version.Attachment.copyLatestVersion()
Will copy all detail information of an attachment including : - Content Properties - File Name - File Size - Content Type - And set version is 1ReadOnlyAttachment.copyLatestVersion()
Deprecated, for removal: This API element is subject to removal in a future version.AttachmentData.getAttachment()
AttachmentManager.getAttachment
(long id) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableDefaultAttachmentManager.getAttachment
(long id) DefaultAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Get the most recent version of an attachment with a given name for a particular page.DefaultAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Retrieve a named attachment from a page.DelegatorAttachmentManager.getAttachment
(long id) DelegatorAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) DelegatorAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) ReadOnlyAttachmentManager.getAttachment
(long id) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Deprecated, for removal: This API element is subject to removal in a future version.SavableAttachment.getAttachment()
ReadOnlyAttachment.getAttachmentNamed
(String fileName) Deprecated, for removal: This API element is subject to removal in a future version.SavableAttachment.getPreviousVersion()
Methods in com.atlassian.confluence.pages that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentManager.findAttachmentForDownloadPath
(String downloadPath) Find anAttachment
for the givendownloadPath
.DefaultAttachmentManager.findAttachmentForDownloadPath
(String downloadPath) DelegatorAttachmentManager.findAttachmentForDownloadPath
(String downloadPath) ReadOnlyAttachmentManager.findAttachmentForDownloadPath
(String downloadPath) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAllVersions
(Attachment attachment) Get all versions of an attachment, starting with the current versionDefaultAttachmentManager.getAllVersions
(Attachment attachment) DelegatorAttachmentManager.getAllVersions
(Attachment attachment) ReadOnlyAttachmentManager.getAllVersions
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) Returns a list of all attachments, old and new.DefaultAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) DelegatorAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) ReadOnlyAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAttachments
(List<Long> ids) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableDefaultAttachmentManager.getAttachments
(List<Long> ids) DelegatorAttachmentManager.getAttachments
(List<Long> ids) ReadOnlyAttachment.getAttachments()
Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getAttachments
(List<Long> ids) Deprecated, for removal: This API element is subject to removal in a future version.DefaultAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) DelegatorAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.AttachmentManager.getLastAddedVersionsOf
(Attachment attachment) Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.DefaultAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) DelegatorAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) ReadOnlyAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) Returns a list of only latest versions of attachments.DefaultAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) DelegatorAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) ReadOnlyAttachment.getLatestVersionsOfAttachments()
Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Returns a list of all the latest versions of attachments for all the CEOs providedDefaultAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) ReadOnlyAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Returns a list of only latest versions of attachments (including trashed).DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) ReadOnlyAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) AttachmentManager.getPreviousVersions
(Attachment attachment) Get all non-current versions of an attachment, not including the current version.DefaultAttachmentManager.getPreviousVersions
(Attachment attachment) DelegatorAttachmentManager.getPreviousVersions
(Attachment attachment) ReadOnlyAttachmentManager.getPreviousVersions
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.@NonNull PageResponse<Attachment>
DefaultAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DefaultAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DelegatorAttachmentManager.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) @NonNull PageResponse<Attachment>
DelegatorAttachmentManager.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super Attachment>... filter) Methods in com.atlassian.confluence.pages with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
ReadOnlyAttachment.addAttachment
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) Copy specified attachment to specified destination content.void
DefaultAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) void
DelegatorAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) void
ReadOnlyAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAllVersions
(Attachment attachment) Get all versions of an attachment, starting with the current versionDefaultAttachmentManager.getAllVersions
(Attachment attachment) DelegatorAttachmentManager.getAllVersions
(Attachment attachment) ReadOnlyAttachmentManager.getAllVersions
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAttachmentData
(Attachment attachment) Retrieve the data for attachmentAttachmentManager.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) Retrieve the specified range of data for attachmentDefaultAttachmentManager.getAttachmentData
(Attachment attachment) DefaultAttachmentManager.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) DelegatorAttachmentManager.getAttachmentData
(Attachment attachment) DelegatorAttachmentManager.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) ReadOnlyAttachmentManager.getAttachmentData
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) Deprecated, for removal: This API element is subject to removal in a future version.AbstractPage.getAttachmentUrlPath
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.since 9.3 useAddressablePage.getAttachmentUrlPath(Attachment)
AddressablePage.getAttachmentUrlPath
(Attachment attachment) ReadOnlyAttachment.getAttachmentUrlPath
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLastAddedVersionsOf
(Attachment attachment) Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.DefaultAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) DelegatorAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) ReadOnlyAttachmentManager.getLastAddedVersionsOf
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.static InputStream
AttachmentUtils.getLatestAttachmentStream
(Attachment attachment) Deprecated.Since 5.5.AttachmentManager.getPreviousVersions
(Attachment attachment) Get all non-current versions of an attachment, not including the current version.DefaultAttachmentManager.getPreviousVersions
(Attachment attachment) DelegatorAttachmentManager.getPreviousVersions
(Attachment attachment) ReadOnlyAttachmentManager.getPreviousVersions
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) void
DefaultAttachmentManager.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) void
DefaultAttachmentManager.moveAttachment
(Attachment latestVersion, String newFileName, ContentEntityObject newContent) void
DelegatorAttachmentManager.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) void
DelegatorAttachmentManager.moveAttachment
(Attachment attachment, String newFileName, ContentEntityObject newName) void
ReadOnlyAttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) Deprecated, for removal: This API element is subject to removal in a future version.static AddressableAttachment
AddressableAttachment.of
(Attachment attachment) static IndexableAttachment
IndexableAttachment.of
(Attachment attachment) void
ReadOnlyAttachment.removeAttachment
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.removeAttachmentFromServer
(Attachment attachment) Removes an Attachment and its data from the server and data store.void
DefaultAttachmentManager.removeAttachmentFromServer
(Attachment latestVersion) Removes the attachment and all previous versionsvoid
DelegatorAttachmentManager.removeAttachmentFromServer
(Attachment attachment) void
ReadOnlyAttachmentManager.removeAttachmentFromServer
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.removeAttachmentVersionFromServer
(Attachment attachment) Removes the given version of the Attachment and its data from the server and data store.void
DefaultAttachmentManager.removeAttachmentVersionFromServer
(Attachment attachment) void
DelegatorAttachmentManager.removeAttachmentVersionFromServer
(Attachment attachment) void
ReadOnlyAttachmentManager.removeAttachmentVersionFromServer
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.removeAttachmentVersionFromServerWithoutNotifications
(Attachment attachment) Removes the given version of the Attachment and its data from the server and data store while suppressing notifications.void
DefaultAttachmentManager.removeAttachmentVersionFromServerWithoutNotifications
(Attachment attachment) void
DelegatorAttachmentManager.removeAttachmentVersionFromServerWithoutNotifications
(Attachment attachment) void
ReadOnlyAttachmentManager.removeAttachmentVersionFromServerWithoutNotifications
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.removeAttachmentWithoutNotifications
(Attachment attachment) Removes an Attachment and its data from the server while suppressing notifications.void
DefaultAttachmentManager.removeAttachmentWithoutNotifications
(Attachment latestVersion) void
DelegatorAttachmentManager.removeAttachmentWithoutNotifications
(Attachment attachment) void
ReadOnlyAttachmentManager.removeAttachmentWithoutNotifications
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.restore
(Attachment attachment) Restores an attachment from trash.void
DefaultAttachmentManager.restore
(Attachment attachment) void
DelegatorAttachmentManager.restore
(Attachment attachment) void
ReadOnlyAttachmentManager.restore
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData) Saves an Attachment and its datavoid
AttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) Saves an Attachment and its data, taking aSaveContext
to allow more useful event handling.void
DefaultAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) void
DefaultAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
DelegatorAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) void
DelegatorAttachmentManager.saveAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
ReadOnlyAttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData) Deprecated, for removal: This API element is subject to removal in a future version.void
ReadOnlyAttachmentManager.saveAttachment
(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) Deprecated, for removal: This API element is subject to removal in a future version.protected final void
DefaultAttachmentManager.saveNewAttachment
(Attachment attachment, InputStream attachmentData, SaveContext saveContext) protected final void
DefaultAttachmentManager.saveNewAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext) void
AttachmentData.setAttachment
(Attachment attachment) void
SavableAttachment.setAttachment
(Attachment attachment) void
AttachmentManager.setAttachmentData
(Attachment attachment, InputStream attachmentData) Set the data belonging to attachmentvoid
DefaultAttachmentManager.setAttachmentData
(Attachment attachment, InputStream attachmentData) void
DelegatorAttachmentManager.setAttachmentData
(Attachment attachment, InputStream attachmentData) void
ReadOnlyAttachmentManager.setAttachmentData
(Attachment attachment, InputStream attachmentData) Deprecated, for removal: This API element is subject to removal in a future version.void
SavableAttachment.setPreviousVersion
(Attachment previousVersion) void
AttachmentManager.trash
(Attachment attachment) Moves an attachment to the trash.void
DefaultAttachmentManager.trash
(Attachment attachment) void
DelegatorAttachmentManager.trash
(Attachment attachment) void
ReadOnlyAttachmentManager.trash
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in com.atlassian.confluence.pages with type arguments of type AttachmentModifier and TypeMethodDescriptionDefaultAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) DelegatorAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.void
AttachmentManager.removeAttachments
(List<? extends Attachment> attachments) Removes the contents of attachments from the servervoid
DefaultAttachmentManager.removeAttachments
(List<? extends Attachment> attachments) void
DelegatorAttachmentManager.removeAttachments
(List<? extends Attachment> attachments) void
ReadOnlyAttachmentManager.removeAttachments
(List<? extends Attachment> attachments) Deprecated, for removal: This API element is subject to removal in a future version.void
ReadOnlyAttachment.setAttachments
(List<Attachment> attachments) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in com.atlassian.confluence.pages with parameters of type AttachmentModifierConstructorDescriptionAddressableAttachment
(Attachment attachment) Creates an instance of aAddressableAttachment
record class.AttachmentData
(int version, Attachment attachment, InputStream data) IndexableAttachment
(Attachment attachment) Creates an instance of aIndexableAttachment
record class.ReadOnlyAttachment
(Attachment delegate) Deprecated, for removal: This API element is subject to removal in a future version.SavableAttachment
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) -
Uses of Attachment in com.atlassian.confluence.pages.actions
Fields in com.atlassian.confluence.pages.actions declared as AttachmentMethods in com.atlassian.confluence.pages.actions that return AttachmentModifier and TypeMethodDescriptionAbstractRemoveAttachmentAction.getAttachment()
MoveAttachmentAction.getAttachment()
Methods in com.atlassian.confluence.pages.actions that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAbstractViewAttachmentsAction.getAllVersions
(Attachment attachment) AbstractViewAttachmentsAction.getLatestVersionsOfAttachments()
ViewPageAttachmentsAction.getLatestVersionsOfAttachments()
Methods in com.atlassian.confluence.pages.actions with parameters of type AttachmentModifier and TypeMethodDescriptionAbstractViewAttachmentsAction.getAllVersions
(Attachment attachment) String[]
AbstractViewAttachmentsAction.getAttachmentDetails
(Attachment attachment) Used for writing the "do you want to remove?" message.ViewPageAttachmentsAction.getWebInterfaceContext
(WebInterfaceContext context, Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.pages.actions.beans
Methods in com.atlassian.confluence.pages.actions.beans that return AttachmentModifier and TypeMethodDescriptionAttachmentBean.retrieveMatchingAttachment
(AbstractPage page, AttachmentManager attachmentManager) Methods in com.atlassian.confluence.pages.actions.beans that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentStorer.attachFiles
(ContentEntityObject contentEntityObject) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Attachment in com.atlassian.confluence.pages.attachments
Methods in com.atlassian.confluence.pages.attachments that return AttachmentModifier and TypeMethodDescriptionAbstractDelegatingAttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) ImageDetails.getAttachment()
AbstractDelegatingAttachmentDao.getById
(long id) AbstractDelegatingAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) Methods in com.atlassian.confluence.pages.attachments that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAbstractDelegatingAttachmentDao.findAll()
AbstractDelegatingAttachmentDao.findAllVersions
(Attachment attachment) AbstractDelegatingAttachmentDao.findLatestVersionsIterator()
AbstractDelegatingAttachmentDao.getLastAddedVersionsOf
(Attachment attachment) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo, LimitedRequest pageRequest) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject ceo) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) AbstractDelegatingAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) AbstractDelegatingAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AbstractDelegatingAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) Methods in com.atlassian.confluence.pages.attachments with parameters of type AttachmentModifier and TypeMethodDescriptionAbstractDelegatingAttachmentDao.findAllVersions
(Attachment attachment) AbstractDelegatingAttachmentDao.getAttachmentData
(Attachment attachment) AbstractDelegatingAttachmentDao.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) DefaultImageDetailsDao.getImageDetails
(Attachment attachment) DefaultImageDetailsManager.getImageDetails
(Attachment attachment) ImageDetailsDao.getImageDetails
(Attachment attachment) Fetch the image details of a specific attachment from the database.ImageDetailsManager.getImageDetails
(Attachment attachment) Ifattachment
is an intelligble image, then this method returns theImageDetails
for it.AbstractDelegatingAttachmentDao.getLastAddedVersionsOf
(Attachment attachment) static long
DefaultImageDetailsDao.imageId
(Attachment attachment) boolean
AbstractDelegatingAttachmentDao.isAttachmentPresent
(Attachment attachment) void
AbstractDelegatingAttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) AbstractDelegatingAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) void
AbstractDelegatingAttachmentDao.removeAttachmentFromServer
(Attachment attachment) void
AbstractDelegatingAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachment) void
DefaultImageDetailsDao.removeDetailsFor
(Attachment attachment) void
ImageDetailsDao.removeDetailsFor
(Attachment attachment) Remove any storedImageDetails
for the givenAttachment
.void
AbstractDelegatingAttachmentDao.replaceAttachmentData
(Attachment attachment, InputStream attachmentData) void
AbstractDelegatingAttachmentDao.saveNewAttachment
(Attachment attachment, InputStream attachmentData) void
AbstractDelegatingAttachmentDao.saveNewAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) void
AbstractDelegatingAttachmentDao.updateAttachment
(Attachment attachment) Method parameters in com.atlassian.confluence.pages.attachments with type arguments of type AttachmentModifier and TypeMethodDescriptionint
DefaultImageDetailsDao.prefetchImageDetails
(Collection<Attachment> attachments) Attempts to efficiently resolve theImageDetailsDto
of each givenAttachment
.Constructors in com.atlassian.confluence.pages.attachments with parameters of type AttachmentModifierConstructorDescriptionImageDetails
(Attachment attachment, int width, int height, String mimeType) -
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao
Methods in com.atlassian.confluence.pages.persistence.dao that return AttachmentModifier and TypeMethodDescriptionAttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) Return the attachment on the specified content with the given filename and version.AttachmentDao.getById
(long id) Returns the attachment with the given persistent ID.AttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) Return the latest version of the attachment on the specified content with the given filename.Methods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentDao.findAll()
Retrieves the latest versions of all AttachmentsAttachmentDao.findAllVersions
(Attachment attachment) AttachmentDao.findLatestVersionsIterator()
Retrieves the latest versions of all Attachments and returns an Iterator to the results.Returns a list of attachments matching the given list of IDs.AttachmentDao.getLastAddedVersionsOf
(Attachment attachment) Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.AttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo) Retrieves the latest versions of all attachments to ceoAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo, LimitedRequest request) AttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Retrieves the latest versions of all attachments for all CEOs providedAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject ceo) Retrieves the latest versions of all attachments to ceo (including trashed)Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type AttachmentModifier and TypeMethodDescriptionAttachmentDao.findAllVersions
(Attachment attachment) AttachmentDao.getAttachmentData
(Attachment attachment) Retrieves the InputStream representing the data for attachmentAttachmentDao.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) Retrieves the InputStream representing the specified range of data for attachmentLegacyAttachmentDataDaoSupport.getAttachmentDataStream
(Attachment attachment, AttachmentDataStreamType dataStreamType) FileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy.getAttachmentFileName
(Attachment attachment) AttachmentDataDao.getDataForAttachment
(Attachment attachment) AttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType) Grabs the AttachmentData object for an AttachmentAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range) Grabs the AttachmentData object for an AttachmentFileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment) Deprecated.FileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType) Deprecated.FileSystemAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range) Deprecated.protected File
FileSystemAttachmentDataDao.getDirectoryForAttachment
(ContentEntityObject content, Attachment attachment) Deprecated.Retrieves the location of the containing folder for an AttachmentAttachmentDao.getLastAddedVersionsOf
(Attachment attachment) Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.protected File
FileSystemAttachmentDataDao.getLatestAttachmentFile
(Attachment attachment) Deprecated.boolean
AttachmentDao.isAttachmentPresent
(Attachment attachment) Check that an attachment existsboolean
AttachmentDataDao.isAttachmentPresent
(Attachment attachment) Check that an attachment existsboolean
FileSystemAttachmentDataDao.isAttachmentPresent
(Attachment attachment) Deprecated.void
AttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Moves an Attachment to a new file name or content objectvoid
AttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Moves an attachment to a new file name or content objectvoid
FileSystemAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Deprecated.void
AttachmentDataDao.moveDataForAttachmentVersion
(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion) Moves the attachment data from oneAbstractVersionedEntityObject.getVersion()
to the other.void
FileSystemAttachmentDataDao.moveDataForAttachmentVersion
(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion) Deprecated.void
AttachmentDao.removeAttachmentFromServer
(Attachment attachment) Removes attachment (and all of its versions)void
AttachmentDao.removeAttachmentVersionFromServer
(Attachment attachment) Removes an attachment versionvoid
AttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Removes all attachment data for the given attachment.void
FileSystemAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Deprecated.Removes all attachment data for the given attachment.void
AttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent) Removes the attachment data for the given attachment version.void
AttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Removes the attachment data of the specific stream type for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Deprecated.Removes the attachment data for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Deprecated.void
AttachmentDao.replaceAttachmentData
(Attachment attachment, InputStream attachmentData) Sets the attachment data for attachmentvoid
AttachmentDataDao.replaceDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Sets the data for attachmentvoid
AttachmentDataDao.replaceDataForAttachment
(Attachment attachment, InputStream data) void
FileSystemAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Deprecated.void
FileSystemAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, InputStream data) Deprecated.void
LegacyAttachmentDataDaoSupport.replaceDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) void
AttachmentDataDao.saveDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Saves data to the attachment data storevoid
AttachmentDataDao.saveDataForAttachment
(Attachment attachment, InputStream data) Deprecated.void
FileSystemAttachmentDataDao.saveDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Deprecated.void
FileSystemAttachmentDataDao.saveDataForAttachment
(Attachment attachment, InputStream data) Deprecated.protected void
FileSystemAttachmentDataDao.saveDataForAttachment
(Attachment attachment, InputStream data, boolean overwrite) Deprecated.Saves data to the file systemvoid
LegacyAttachmentDataDaoSupport.saveDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) void
AttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream) Saves data to the attachment data store, for an attachment that has been updated.void
AttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream data) void
FileSystemAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream) Deprecated.void
FileSystemAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream data) Deprecated.void
LegacyAttachmentDataDaoSupport.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream) void
AttachmentDao.saveNewAttachment
(Attachment attachment, InputStream attachmentData) Saves a new attachmentvoid
AttachmentDao.saveNewAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) Saves a new version of attachmentvoid
AttachmentDao.updateAttachment
(Attachment attachment) Update an existing attachment without creating a new version -
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers
Methods in com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers that return AttachmentMethods in com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers that return types with arguments of type AttachmentModifier and TypeMethodDescriptionprotected Predicate<Attachment>
AllLatestVersionAttachmentIdentifier.getFilterCondition()
protected Predicate<Attachment>
LatestVersionWithNameMineTypeAttachmentIdentifier.getFilterCondition()
Constructors in com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return AttachmentModifier and TypeMethodDescriptionAbstractHibernateAttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) AbstractHibernateAttachmentDao.getById
(long id) AbstractHibernateAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAbstractHibernateAttachmentDao.findAllVersions
(Attachment attachment) AbstractHibernateAttachmentDao.findAllVersions
(Long id) AbstractHibernateAttachmentDao.getLastAddedVersionsOf
(Attachment attachment) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject content) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) protected List<Attachment>
AbstractHibernateAttachmentDao.removeAllAttachmentVersions
(Attachment latestVersion, ContentEntityObject content) NonTransactionalHibernateAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) TransactionalHibernateAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) AbstractHibernateAttachmentDao.scanFilteredAttachments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) AbstractHibernateAttachmentDao.scanFilteredAttachments
(List<ContentStatus> statuses, LimitedRequest pageRequest) Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type AttachmentModifier and TypeMethodDescriptionAbstractHibernateAttachmentDao.findAllVersions
(Attachment attachment) AbstractHibernateAttachmentDao.getAttachmentData
(Attachment attachment) AbstractHibernateAttachmentDao.getAttachmentData
(Attachment attachment, Optional<RangeRequest> range) protected AttachmentData
HibernateAttachmentDataDao.getAttachmentDataForAttachment
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the attachment data object for a given attachment.HibernateAttachmentDataDao.getDataForAttachment
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.HibernateAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType) Deprecated, for removal: This API element is subject to removal in a future version.HibernateAttachmentDataDao.getDataForAttachment
(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range) Deprecated, for removal: This API element is subject to removal in a future version.AbstractHibernateAttachmentDao.getLastAddedVersionsOf
(Attachment attachment) boolean
AbstractHibernateAttachmentDao.isAttachmentPresent
(Attachment attachment) boolean
HibernateAttachmentDataDao.isAttachmentPresent
(Attachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.void
AbstractHibernateAttachmentDao.moveAttachment
(Attachment latestVersion, Attachment oldAttachment, ContentEntityObject newContent) void
HibernateAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.moveDataForAttachmentVersion
(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion) Deprecated, for removal: This API element is subject to removal in a future version.protected void
AbstractHibernateAttachmentDao.overwriteMetaData
(Attachment sourceAttachment, Attachment targetAttachment) Overwrites attachment meta data.protected List<Attachment>
AbstractHibernateAttachmentDao.removeAllAttachmentVersions
(Attachment latestVersion, ContentEntityObject content) NonTransactionalHibernateAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) TransactionalHibernateAttachmentDao.removeAllVersionsFromServer
(Attachment attachment) protected void
AbstractHibernateAttachmentDao.removeAttachment
(Attachment attachment, ContentEntityObject content) Severs the connection between attachment and content, and removes the attachment from the databasevoid
NonTransactionalHibernateAttachmentDao.removeAttachmentFromServer
(Attachment attachment) void
TransactionalHibernateAttachmentDao.removeAttachmentFromServer
(Attachment attachment) final void
AbstractHibernateAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachmentVersionToBeRemoved) protected abstract void
AbstractHibernateAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachmentVersionToBeRemoved, @Nullable Attachment previousAttachmentVersion) protected void
NonTransactionalHibernateAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachmentVersionToBeRemoved, Attachment previousAttachmentVersion) protected void
TransactionalHibernateAttachmentDao.removeAttachmentVersionFromServer
(Attachment attachmentVersionToBeRemoved, Attachment previousAttachmentVersion) void
HibernateAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Deprecated, for removal: This API element is subject to removal in a future version.protected void
AbstractHibernateAttachmentDao.removeMetaData
(Attachment attachment) Removes attachment meta data.void
AbstractHibernateAttachmentDao.replaceAttachmentData
(Attachment attachment, InputStream attachmentData) void
HibernateAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.replaceDataForAttachment
(Attachment attachment, InputStream data) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.saveDataForAttachment
(Attachment attachment, AttachmentDataStream dataStream) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.saveDataForAttachment
(Attachment attachment, InputStream data) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.saveDataForAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream data) Deprecated, for removal: This API element is subject to removal in a future version.void
AbstractHibernateAttachmentDao.saveNewAttachment
(Attachment attachment, InputStream attachmentData) void
AbstractHibernateAttachmentDao.saveNewAttachmentVersion
(Attachment attachment, Attachment previousVersion, InputStream attachmentData) This implementation saves the Attachment and its previous version to the VersionedHibernateObjectDao.void
AbstractHibernateAttachmentDao.updateAttachment
(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.pages.thumbnail
Methods in com.atlassian.confluence.pages.thumbnail that return AttachmentModifier and TypeMethodDescriptionCannotGenerateThumbnailException.getAttachment()
ThumbnailInfo.getAttachment()
Methods in com.atlassian.confluence.pages.thumbnail with parameters of type AttachmentModifier and TypeMethodDescriptioncom.atlassian.core.util.thumbnail.Thumbnail
DefaultThumbnailManager.getThumbnail
(@NonNull Attachment attachment) com.atlassian.core.util.thumbnail.Thumbnail
DefaultThumbnailManager.getThumbnail
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) com.atlassian.core.util.thumbnail.Thumbnail
ThumbnailManager.getThumbnail
(@NonNull Attachment attachment) Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist.com.atlassian.core.util.thumbnail.Thumbnail
ThumbnailManager.getThumbnail
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist.DefaultThumbnailManager.getThumbnailData
(@NonNull Attachment attachment) DefaultThumbnailManager.getThumbnailData
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) ThumbnailManager.getThumbnailData
(@NonNull Attachment attachment) Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.ThumbnailManager.getThumbnailData
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.ThumbnailManager.getThumbnailFile
(@NonNull Attachment attachment) Deprecated.ThumbnailManager.getThumbnailFile
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) Deprecated.DefaultThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment) DefaultThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) DefaultThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable String remoteAttachmentPath) DefaultThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable String remoteAttachmentPath, @Nullable ImageDimensions imageDimensions) ThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment) Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.ThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.ThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable String rootAttachmentPath) Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.ThumbnailManager.getThumbnailInfo
(@NonNull Attachment attachment, @Nullable String rootAttachmentPath, @Nullable ImageDimensions imageDimensions) Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.com.atlassian.dc.filestore.api.compat.FilesystemPath
DefaultThumbnailManager.getThumbnailPath
(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions) protected File
DefaultThumbnailManager.getThumbnailsFolder
(Attachment attachment) Deprecated.since 7.14boolean
DefaultThumbnailManager.isThumbnailable
(@Nullable Attachment attachment) boolean
ThumbnailManager.isThumbnailable
(@Nullable Attachment attachment) Checks the content type/mime type of the attachment to determine whether a thumbnail can be created from itboolean
DefaultThumbnailManager.removeThumbnail
(@NonNull Attachment attachment) Removes the thumbnail for the specified attachmentboolean
ThumbnailManager.removeThumbnail
(@NonNull Attachment attachment) Removes the thumbnail for the specified attachmentConstructors in com.atlassian.confluence.pages.thumbnail with parameters of type AttachmentConstructor parameters in com.atlassian.confluence.pages.thumbnail with type arguments of type AttachmentModifierConstructorDescriptionThumbnails
(List<Attachment> attachments, int columns, ThumbnailManager thumbnailManager) Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments.Thumbnails
(List<Attachment> attachments, ImagePathHelper pathHelper, int columns, AttachmentManager attachmentManager, ThumbnailManager thumbnailManager) Deprecated.Thumbnails
(List<Attachment> attachments, ImagePathHelper pathHelper, int columns, ThumbnailManager thumbnailManager) Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments.Thumbnails
(List<Attachment> attachments, String attachmentsRoot, int columns, AttachmentManager attachmentManager, ThumbnailManager thumbnailManager) Deprecated. -
Uses of Attachment in com.atlassian.confluence.plugin.descriptor.web
Methods in com.atlassian.confluence.plugin.descriptor.web that return AttachmentModifier and TypeMethodDescription@Nullable Attachment
DefaultWebInterfaceContext.getAttachment()
@Nullable Attachment
WebInterfaceContext.getAttachment()
Returns the attachment related to the web interface state, or null if there is no attachment.Methods in com.atlassian.confluence.plugin.descriptor.web with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
DefaultWebInterfaceContext.setAttachment
(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.plugins.labels.actions
Methods in com.atlassian.confluence.plugins.labels.actions that return types with arguments of type Attachment -
Uses of Attachment in com.atlassian.confluence.plugins.lookandfeel
Methods in com.atlassian.confluence.plugins.lookandfeel that return types with arguments of type AttachmentModifier and TypeMethodDescriptionprotected Optional<Attachment>
AttachmentSiteLogoManager.customLogoAttachment()
-
Uses of Attachment in com.atlassian.confluence.plugins.rest.jackson2.manager
Methods in com.atlassian.confluence.plugins.rest.jackson2.manager with parameters of type AttachmentModifier and TypeMethodDescriptionDefaultRestAttachmentManager.convertToAttachmentEntity
(Attachment attachment) RestAttachmentManager.convertToAttachmentEntity
(Attachment attachment) Convert a Confluence model object into its REST representation. -
Uses of Attachment in com.atlassian.confluence.renderer.attachments
Methods in com.atlassian.confluence.renderer.attachments with parameters of type AttachmentModifier and TypeMethodDescriptionRendererAttachmentManager.getImagePath
(Attachment attachment, boolean isThumbnail) protected boolean
RendererAttachmentManager.isPermittedToViewAttachment
(Attachment attachment) Checks whether the user is able to view the attachment -
Uses of Attachment in com.atlassian.confluence.renderer.embedded
Methods in com.atlassian.confluence.renderer.embedded that return AttachmentModifier and TypeMethodDescriptionEmbeddedObject.getAttachment()
static Attachment
EmbeddedResourceUtils.resolveAttachment
(PageContext context, com.atlassian.renderer.embedded.EmbeddedResource resource) Methods in com.atlassian.confluence.renderer.embedded with parameters of type AttachmentModifier and TypeMethodDescriptionImagePathHelper.getImagePath
(Attachment attachment, boolean isThumbnail) Return the path used to access the specified image.Constructors in com.atlassian.confluence.renderer.embedded with parameters of type AttachmentModifierConstructorDescriptionEmbeddedObject
(Attachment attachment, Map<String, Object> properties) -
Uses of Attachment in com.atlassian.confluence.rpc.soap.beans
Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.rss
Methods in com.atlassian.confluence.rss with parameters of type AttachmentModifier and TypeMethodDescriptionprotected com.atlassian.renderer.RenderContext
AttachmentRenderSupport.renderContext
(Attachment attachment, io.atlassian.util.concurrent.Timeout timeout) Method parameters in com.atlassian.confluence.rss with type arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentRenderSupport.getCategoryNames
(RssRenderItem<? extends Attachment> item) AttachmentRenderSupport.getLink
(RssRenderItem<? extends Attachment> item) AttachmentRenderSupport.getTitle
(RssRenderItem<? extends Attachment> item) AttachmentRenderSupport.renderedContext
(RssRenderItem<? extends Attachment> item, io.atlassian.util.concurrent.Timeout timeout) -
Uses of Attachment in com.atlassian.confluence.security.delegate
Methods in com.atlassian.confluence.security.delegate with parameters of type AttachmentModifier and TypeMethodDescriptionboolean
AttachmentPermissionsDelegate.canAdminister
(ConfluenceUser user, Attachment target) boolean
AttachmentPermissionsDelegate.canEdit
(ConfluenceUser user, Attachment target) boolean
AttachmentPermissionsDelegate.canExport
(ConfluenceUser user, Attachment target) boolean
AttachmentPermissionsDelegate.canRemove
(ConfluenceUser user, Attachment target) boolean
AttachmentPermissionsDelegate.canSetPermissions
(ConfluenceUser user, Attachment target) boolean
AttachmentPermissionsDelegate.canView
(ConfluenceUser user, Attachment target) -
Uses of Attachment in com.atlassian.confluence.servlet.download
Methods in com.atlassian.confluence.servlet.download that return AttachmentModifier and TypeMethodDescriptionAttachmentUrlParser.getAttachment
(String urlPath, String urlPrefix, Map parameters) Gets the attachment based on the url, prefix and query parameters.Methods in com.atlassian.confluence.servlet.download with parameters of type AttachmentModifier and TypeMethodDescriptionprotected void
AttachmentDownload.publishEvents
(Attachment attachment, boolean download) protected void
ThumbnailDownload.publishEvents
(Attachment attachment, boolean download) -
Uses of Attachment in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces that return AttachmentMethods in com.atlassian.confluence.spaces that return types with arguments of type AttachmentModifier and TypeMethodDescriptionReadOnlySpaceDescription.getAttachments()
ReadOnlySpaceDescription.getLatestVersionsOfAttachments()
Methods in com.atlassian.confluence.spaces with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.addAttachment
(Attachment attachment) ReadOnlySpaceDescription.getAttachmentUrlPath
(Attachment attachment) SpaceDescription.getAttachmentUrlPath
(Attachment attachment) void
ReadOnlySpaceDescription.removeAttachment
(Attachment attachment) Method parameters in com.atlassian.confluence.spaces with type arguments of type AttachmentModifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.setAttachments
(List<Attachment> attachments) -
Uses of Attachment in com.atlassian.confluence.spaces.actions
Methods in com.atlassian.confluence.spaces.actions that return AttachmentModifier and TypeMethodDescriptionAbstractLogoAction.getLogo()
Deprecated, for removal: This API element is subject to removal in a future version.since 8.8.0. -
Uses of Attachment in com.atlassian.confluence.themes
Methods in com.atlassian.confluence.themes that return AttachmentConstructors in com.atlassian.confluence.themes with parameters of type AttachmentModifierConstructorDescriptionAttachmentHelper
(ConfluenceActionSupport action, Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.user
Methods in com.atlassian.confluence.user with parameters of type AttachmentModifier and TypeMethodDescriptionPersonalInformation.getAttachmentUrlPath
(Attachment attachment) void
DefaultUserAccessor.setUserProfilePicture
(com.atlassian.user.User user, Attachment attachment) void
ReadOnlyUserAccessor.setUserProfilePicture
(com.atlassian.user.User user, Attachment attachment) void
UserAccessor.setUserProfilePicture
(com.atlassian.user.User user, Attachment attachment) Set the user profile picture to the given attachment. -
Uses of Attachment in com.atlassian.confluence.user.actions
Constructors in com.atlassian.confluence.user.actions with parameters of type Attachment -
Uses of Attachment in com.atlassian.confluence.util
Methods in com.atlassian.confluence.util with parameters of type AttachmentModifier and TypeMethodDescriptionint
AttachmentFileNameComparator.compare
(Attachment first, Attachment second) int
AttachmentSizeComparator.compare
(Attachment o1, Attachment o2) static @Nullable String
ConfluenceRenderUtils.getAbsoluteAttachmentRemotePath
(@Nullable Attachment attachment) Returns the remote path to the given attachment and its siblings.static @Nullable String
ConfluenceRenderUtils.getAttachmentRemotePath
(@Nullable Attachment attachment) Returns the remote path to the given attachment and its siblings.static String
GeneralUtil.getAttachmentUrl
(Attachment attachment) Get the permalink URL to preview the given attachment in the previewer.static String
GeneralUtil.getCommentUrl
(Attachment attachment, Comment comment) Get the permalink URL to preview the given comment (annotation) in the previewer. -
Uses of Attachment in com.atlassian.confluence.util.breadcrumbs
Constructors in com.atlassian.confluence.util.breadcrumbs with parameters of type Attachment -
Uses of Attachment in com.atlassian.integrationtest.utils
Methods in com.atlassian.integrationtest.utils that return AttachmentModifier and TypeMethodDescriptionItStateManager.storeAndGetPageAttachment
(ContentEntityObject container) ItStateManager.storeAndGetPageAttachment
(ContentEntityObject container, String attachmentName) ItStateManager.storeAndGetPageAttachmentVersion
(ContentEntityObject container, String attachmentName, Attachment originalAttachment) ItStateManager.update
(Attachment attachment) Methods in com.atlassian.integrationtest.utils with parameters of type AttachmentModifier and TypeMethodDescriptionItStateManager.storeAndGetPageAttachmentVersion
(ContentEntityObject container, String attachmentName, Attachment originalAttachment) ItStateManager.update
(Attachment attachment)