Uses of Class
com.atlassian.confluence.pages.Attachment
-
-
Uses of Attachment in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return Attachment Modifier and Type Method Description AttachmentAttachmentContentTypeApiSupport. update(Content content, Attachment entity)Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return types with arguments of type Attachment Modifier and Type Method Description Class<Attachment>AttachmentContentTypeApiSupport. getEntityClass()Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type Attachment Modifier and Type Method Description booleanAttachmentContentTypeApiSupport. canRemoveAttachment(Attachment attachment)protected PageResponse<Content>AttachmentContentTypeApiSupport. getChildrenForThisType(Attachment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)List<Link>AttachmentContentTypeApiSupport. getLinks(Attachment attachment)AttachmentAttachmentContentTypeApiSupport. update(Content content, Attachment entity)ValidationResultAttachmentContentTypeApiSupport. validateUpdate(Content updatedContent, Attachment existingEntity)Method parameters in com.atlassian.confluence.api.impl.service.content.typebinding with type arguments of type Attachment Modifier and Type Method Description PageResponse<Content>AttachmentContentTypeApiSupport. getAttachments(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions)Map<ContentId,Map<String,Object>>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 Attachment Modifier and Type Method Description default Optional<String>ContentEntityAdapter. attachmentUrlPath(CustomContentEntityObject pluginContentEntityObject, Attachment attachment)Return the URL path to view the a particular attachment of the contentcom.atlassian.fugue.Option<String>ContentEntityAdapter. getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject, Attachment attachment)Deprecated.since 7.0.1.com.atlassian.fugue.Option<String>ContentEntityAdapterParent. getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject, Attachment attachment)Deprecated.since 7.0.1.StringCustomContentEntityObject. getAttachmentUrlPath(Attachment attachment)com.atlassian.fugue.Option<String>DefaultContentAdapter. getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject, Attachment attachment)Deprecated.since 7.0.1. -
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 Attachment Modifier and Type Method Description voidEditorEmbeddedImageTitleWriter. 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 Attachment Modifier and Type Method Description voidAttachmentStaxStreamMarshaller. 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 Attachment Modifier and Type Method Description StringHtmlExportHrefEvaluator. createHref(ConversionContext context, Attachment attachment, String anchor)static LinksUpdater.AttachmentReferenceDetailsLinksUpdater.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 Attachment Modifier and Type Method Description AttachmentDefaultEmbeddedResourceResolver. resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext)AttachmentEmbeddedResourceResolver. 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 Attachment Modifier and Type Method Description AttachmentAttachmentResourceIdentifierResolver. 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 Attachment Modifier and Type Method Description voidEmbeddedImageTagWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)voidSimpleEmbeddedImageTagWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)voidViewEmbeddedImageTitleWriter. 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 Attachment Constructor Description DefaultAttachedImageResourceMarshaller(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.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider) -
Uses of Attachment in com.atlassian.confluence.content.ui
Methods in com.atlassian.confluence.content.ui with parameters of type Attachment Modifier and Type Method Description StringAttachmentUiSupport. getContentCssClass(Attachment content)StringAttachmentUiSupport. getContentTypeI18NKey(Attachment content)StringAttachmentUiSupport. getIconCssClass(Attachment content)StringAttachmentUiSupport. getIconFilePath(Attachment content, int size)StringAttachmentUiSupport. getIconPath(Attachment content, int size) -
Uses of Attachment in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return Attachment Modifier and Type Method Description AttachmentContentEntityObject. getAttachmentNamed(String fileName)Methods in com.atlassian.confluence.core that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>ContentEntityObject. getAttachments()Don't use it directly, use AttachmentManager.getAttachments(page) instead.List<Attachment>ContentEntityObject. getLatestVersionsOfAttachments()Deprecated.Since 6.13.Methods in com.atlassian.confluence.core with parameters of type Attachment Modifier and Type Method Description voidContentEntityObject. addAttachment(Attachment attachment)protected voidContentEntityObject. ensureAttachmentBelongsToContent(Attachment attachment)StringContentEntityObject. 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.DataSourceDataSourceFactory. getDatasource(Attachment attachment, boolean useThumbnail)javax.activation.DataSourceDefaultDataSourceFactory. getDatasource(Attachment attachment, boolean useThumbnail)voidContentEntityObject. removeAttachment(Attachment attachment)Method parameters in com.atlassian.confluence.core with type arguments of type Attachment Modifier and Type Method Description voidContentEntityObject. setAttachments(List<Attachment> attachments) -
Uses of Attachment in com.atlassian.confluence.event.events.content.attachment
Methods in com.atlassian.confluence.event.events.content.attachment that return Attachment Modifier and Type Method Description AttachmentAttachmentEvent. getAttachment()Returns the real content (the first attachment of the list or null if there is none)@NonNull AttachmentGeneralAttachmentUpdateEvent. getNew()@NonNull AttachmentGeneralAttachmentUpdateEvent. getOld()Methods in com.atlassian.confluence.event.events.content.attachment that return types with arguments of type Attachment Modifier and Type Method Description @NonNull List<Attachment>AttachmentEvent. getAttachments()Constructors in com.atlassian.confluence.event.events.content.attachment with parameters of type Attachment Constructor Description AttachmentCreateEvent(Object src, Attachment attachment)AttachmentCreateEvent(Object src, Attachment attachment, boolean suppressNotifications)AttachmentEvent(Object src, Attachment attachment)Convenience method.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 Attachment Constructor Description AttachmentBatchUploadCompletedEvent(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)AttachmentEvent(Object src, List<Attachment> attachments)Convenience method.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 Attachment Modifier and Type Method Description AttachmentAttachmentCreatedAuditingEvent. getAttachment()Constructors in com.atlassian.confluence.event.events.internal.attachment with parameters of type Attachment Constructor Description AttachmentCreatedAuditingEvent(Attachment attachment, SaveContext saveContext) -
Uses of Attachment in com.atlassian.confluence.event.events.space
Methods in com.atlassian.confluence.event.events.space that return Attachment Modifier and Type Method Description AttachmentSpaceLogoUpdateEvent. getLogo()Constructors in com.atlassian.confluence.event.events.space with parameters of type Attachment Constructor Description SpaceLogoUpdateEvent(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 Attachment Constructor Description UserProfilePictureUpdateEvent(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 Attachment Modifier and Type Method Description com.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 Attachment Modifier and Type Method Description static @NonNull Function<AttachmentResourceIdentifier,Optional<Attachment>>AttachmentPrefetcher. prefetchedAttachments(ConversionContext conversionContext)Method parameters in com.atlassian.confluence.impl.content.render.prefetch with type arguments of type Attachment Modifier and Type Method Description intImageDetailsPrefetchDao. 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 Attachment Modifier and Type Method Description List<Attachment>AttachmentRemovedEvent. getRemovedVersions()Constructor parameters in com.atlassian.confluence.impl.event with type arguments of type Attachment Constructor Description AttachmentRemovedEvent(List<Attachment> removedVersions) -
Uses of Attachment in com.atlassian.confluence.impl.pages.attachments
Methods in com.atlassian.confluence.impl.pages.attachments that return Attachment Modifier and Type Method Description AttachmentReadThroughCachingAttachmentManager. getAttachment(long id)AttachmentReadThroughCachingAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)AttachmentReadThroughCachingAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)AttachmentReadThroughCachingAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)Methods in com.atlassian.confluence.impl.pages.attachments that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>ReadThroughCachingAttachmentManager. getAllVersions(Attachment attachment)List<Attachment>ReadThroughCachingAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)com.atlassian.fugue.Maybe<Attachment>ReadThroughCachingAttachmentManager. getAttachmentForDownloadPath(String downloadPath)Deprecated.since 7.0.1.PageResponse<Attachment>ReadThroughCachingAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.List<Attachment>ReadThroughCachingAttachmentManager. getAttachments(List<Long> ids)List<Attachment>ReadThroughCachingAttachmentManager. getLastAddedVersionsOf(Attachment attachment)List<Attachment>ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)List<Attachment>ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)List<Attachment>ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>ReadThroughCachingAttachmentManager. getPreviousVersions(Attachment attachment)List<Attachment>ReadThroughCachingAttachmentDao. removeAllVersionsFromServer(Attachment attachment)Methods in com.atlassian.confluence.impl.pages.attachments with parameters of type Attachment Modifier and Type Method Description voidReadThroughCachingAttachmentManager. copyAttachment(Attachment attachment, ContentEntityObject destinationContent)List<Attachment>ReadThroughCachingAttachmentManager. getAllVersions(Attachment attachment)InputStreamReadThroughCachingAttachmentManager. getAttachmentData(Attachment attachment)InputStreamReadThroughCachingAttachmentManager. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)List<Attachment>ReadThroughCachingAttachmentManager. getLastAddedVersionsOf(Attachment attachment)List<Attachment>ReadThroughCachingAttachmentManager. getPreviousVersions(Attachment attachment)voidReadThroughCachingAttachmentDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)voidReadThroughCachingAttachmentManager. moveAttachment(Attachment latestVersion, ContentEntityObject newContainer)voidReadThroughCachingAttachmentManager. moveAttachment(Attachment latestVersion, String fileName, ContentEntityObject newContent)List<Attachment>ReadThroughCachingAttachmentDao. removeAllVersionsFromServer(Attachment attachment)voidReadThroughCachingAttachmentDao. removeAttachmentFromServer(Attachment attachment)voidReadThroughCachingAttachmentManager. removeAttachmentFromServer(Attachment attachment)voidReadThroughCachingAttachmentDao. removeAttachmentVersionFromServer(Attachment attachment)voidReadThroughCachingAttachmentManager. removeAttachmentVersionFromServer(Attachment attachment)voidReadThroughCachingAttachmentManager. removeAttachmentVersionFromServerWithoutNotifications(Attachment attachment)voidReadThroughCachingAttachmentManager. removeAttachmentWithoutNotifications(Attachment attachment)voidReadThroughCachingAttachmentManager. restore(Attachment attachment)voidReadThroughCachingAttachmentManager. saveAttachment(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)voidReadThroughCachingAttachmentManager. saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)voidReadThroughCachingAttachmentManager. setAttachmentData(Attachment attachment, InputStream attachmentData)ReadThroughAttachmentDownloadPathCache.AttachmentDownloadPathCacheKeyReadThroughAttachmentDownloadPathCache. toKey(Attachment attachment)voidReadThroughCachingAttachmentManager. trash(Attachment attachment)Method parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>ReadThroughCachingAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.voidReadThroughCachingAttachmentManager. removeAttachments(List<? extends Attachment> attachments)Constructor parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type Attachment Constructor Description ReadThroughCachingAttachmentDao(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 Attachment Modifier and Type Method Description InputStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment)Grabs the AttachmentData object for an AttachmentAttachmentDataStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)AttachmentDataStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)booleanFileSystemAttachmentDataDao. isAttachmentPresent(Attachment attachment)voidFileSystemAttachmentDataDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)voidFileSystemAttachmentDataDao. moveDataForAttachmentVersion(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion)Moves the attachment data from oneAbstractVersionedEntityObject.getVersion()to the other.voidFileSystemAttachmentDataDao. removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)Removes all attachment data for the given attachment.voidFileSystemAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent)Removes the attachment data for the given attachment version.voidFileSystemAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType)voidFileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidFileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, InputStream data)Sets the data for attachmentvoidFileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidFileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, InputStream data)Saves data to the attachment data storevoidFileSystemAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)voidFileSystemAttachmentDataDao. 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 Modifier and Type Method Description static AttachmentRefRefs. ref(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.impl.pages.thumbnail
Methods in com.atlassian.confluence.impl.pages.thumbnail with parameters of type Attachment Modifier and Type Method Description default FileThumbnailManagerInternal. getThumbnailFile(@NonNull Attachment attachment)Deprecated.since 7.14default FileThumbnailManagerInternal. getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)Deprecated.since 7.14com.atlassian.dc.filestore.api.compat.FilesystemPathThumbnailManagerInternal. 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 Attachment Modifier and Type Method Description com.atlassian.core.util.thumbnail.ThumbnailDelegatingThumbnailRenderer. retrieveOrCreateThumbNail(@NonNull Attachment attachment, com.atlassian.dc.filestore.api.compat.FilesystemPath thumbnailFile, int maxWidth, int maxHeight)com.atlassian.core.util.thumbnail.ThumbnailDelegatingThumbnailRenderer. retrieveOrCreateThumbNail(@NonNull Attachment attachment, File thumbnailFile, int maxWidth, int maxHeight)Create a new or return an existingThumbnailfor 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 Attachment Modifier and Type Method Description voidTrashRemovalStatistic. attachmentDeleted(List<Attachment> deletedVersions) -
Uses of Attachment in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl with parameters of type Attachment Modifier and Type Method Description protected booleanDefaultExportEmbeddedResourceRenderer. 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 Attachment Modifier and Type Method Description protected AttachmentAttachmentDownloadResourceManager. getAttachment(String userName, String resourcePath, Map parameters, String urlPrefix)Constructors in com.atlassian.confluence.importexport.resource with parameters of type Attachment Constructor Description AttachmentDownloadResourceReader(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 Attachment Modifier and Type Method Description Optional<InputStreamSource>AttachmentTextExtractor. extract(Attachment attachment)Extracts text from an attachment.Optional<InputStreamSource>AttachmentExtractedTextManager. getContent(Attachment attachment)Returns anOptionaldescribing theInputStreamSourceof extracted text of the provided attachment version if it is available, or an emptyOptionalotherwise.voidAttachmentExtractedTextManager. removeContent(Attachment attachment)Remove extracted text of the specified attachment version.voidAttachmentExtractedTextManager. removePreviousVersionContent(Attachment attachment)Remove extracted text of the previous version of the specified attachment version if it exists.voidAttachmentExtractedTextManager. 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.index.attachment
Methods in com.atlassian.confluence.internal.index.attachment with parameters of type Attachment Modifier and Type Method Description Optional<InputStreamSource>DelegatingAttachmentTextExtractor. extract(Attachment attachment)Optional<InputStreamSource>DefaultAttachmentExtractedTextManager. getContent(Attachment attachment)voidDefaultAttachmentExtractedTextManager. removeContent(Attachment attachment)voidDefaultAttachmentExtractedTextManager. removePreviousVersionContent(Attachment attachment)voidDefaultAttachmentExtractedTextManager. saveContent(Attachment attachment, InputStreamSource inputStreamSource)booleanShouldExtractAttachmentTextPredicate. test(AttachmentTextExtractor textExtractor, Attachment attachment)Constructor parameters in com.atlassian.confluence.internal.index.attachment with type arguments of type Attachment Constructor Description DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider, BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate) -
Uses of Attachment in com.atlassian.confluence.internal.pages
Methods in com.atlassian.confluence.internal.pages that return types with arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>AttachmentManagerInternal. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.default PageResponse<Attachment>AttachmentManagerInternal. getFilteredAttachments(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate)Returns the current attachments under the CEO.List<Attachment>AttachmentManagerInternal. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)Returns a list of all the latest versions of attachments for all the CEOs provided (including trashed)Methods in com.atlassian.confluence.internal.pages with parameters of type Attachment Modifier and Type Method Description voidAttachmentManagerInternal. moveAttachment(Attachment attachment, ContentEntityObject newContainer)Moves an attachment to a differentContentEntityObjectcontainer.Method parameters in com.atlassian.confluence.internal.pages with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>AttachmentManagerInternal. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.default PageResponse<Attachment>AttachmentManagerInternal. getFilteredAttachments(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate)Returns the current attachments under the CEO. -
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 Attachment Modifier and Type Method Description default PageResponse<Attachment>AttachmentDaoInternal. getFilteredLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, Predicate<? super Attachment> predicate)Retrieves a paginated list of the latest version of attachments to the ceo filtered by the predicateList<Attachment>AttachmentDaoInternal. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)Retrieves the latest versions of all attachments for all CEOs provided (including trashed)List<Attachment>AttachmentDaoInternal. removeAllVersionsFromServer(Attachment attachment)Removes all versions of an attachmentMethods in com.atlassian.confluence.internal.pages.persistence with parameters of type Attachment Modifier and Type Method Description List<Attachment>AttachmentDaoInternal. removeAllVersionsFromServer(Attachment attachment)Removes all versions of an attachmentMethod parameters in com.atlassian.confluence.internal.pages.persistence with type arguments of type Attachment Modifier and Type Method Description default PageResponse<Attachment>AttachmentDaoInternal. getFilteredLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, Predicate<? super Attachment> predicate)Retrieves a paginated list of the latest version of attachments to the ceo filtered by the predicate -
Uses of Attachment in com.atlassian.confluence.json.jsonator
Methods in com.atlassian.confluence.json.jsonator with parameters of type Attachment Modifier and Type Method Description JsonAttachmentJsonator. convert(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.links
Fields in com.atlassian.confluence.links declared as Attachment Modifier and Type Field Description protected AttachmentAbstractAttachmentLink. attachmentMethods in com.atlassian.confluence.links that return Attachment Modifier and Type Method Description @Nullable AttachmentAbstractAttachmentLink. getAttachment()Methods in com.atlassian.confluence.links with parameters of type Attachment Modifier and Type Method Description voidDefaultRelatedContentRefactorer. updateReferrers(Attachment attachment, Attachment previousAttachment)voidRelatedContentRefactorer. 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
Methods in com.atlassian.confluence.pages that return Attachment Modifier and Type Method Description AttachmentAttachment. copy()AttachmentAttachment. copyLatestVersion()Will copy all detail information of an attachment including : - Content Properties - File Name - File Size - Content Type - And set version is 1AttachmentAttachmentData. getAttachment()AttachmentAttachmentManager. getAttachment(long id)Deprecated.since 7.5.0, useAttachmentServiceinstead in plugins, or useAttachmentManagerInternalin core where applicableAttachmentAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)Deprecated.since 7.5.0, useAttachmentServiceinstead in plugins, or useAttachmentManagerInternalin core where applicableAttachmentAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)Deprecated.since 7.5.0, useAttachmentServiceinstead in plugins, or useAttachmentManagerInternalin core where applicableAttachmentDefaultAttachmentManager. getAttachment(long id)AttachmentDefaultAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)Get the most recent version of an attachment with a given name for a particular page.AttachmentDefaultAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)Retrieve a named attachment from a page.AttachmentDelegatorAttachmentManager. getAttachment(long id)AttachmentDelegatorAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)AttachmentDelegatorAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)AttachmentSavableAttachment. getAttachment()AttachmentSavableAttachment. getPreviousVersion()Methods in com.atlassian.confluence.pages that return types with arguments of type Attachment Modifier and Type Method Description default Optional<Attachment>AttachmentManager. findAttachmentForDownloadPath(String downloadPath)Find anAttachmentfor the givendownloadPath.List<Attachment>AttachmentManager. getAllVersions(Attachment attachment)Get all versions of an attachment, starting with the current versionList<Attachment>DefaultAttachmentManager. getAllVersions(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getAllVersions(Attachment attachment)List<Attachment>AttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)Returns a list of all attachments, old and new.List<Attachment>DefaultAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)List<Attachment>DelegatorAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)com.atlassian.fugue.Maybe<Attachment>AttachmentManager. getAttachmentForDownloadPath(String downloadPath)Deprecated.since 7.0.1.com.atlassian.fugue.Maybe<Attachment>DefaultAttachmentManager. getAttachmentForDownloadPath(String downloadPath)Deprecated.since 7.0.1.com.atlassian.fugue.Maybe<Attachment>DelegatorAttachmentManager. getAttachmentForDownloadPath(String downloadPath)Deprecated.since 7.0.1.List<Attachment>AttachmentManager. getAttachments(List<Long> ids)Deprecated.since 7.5.0, useAttachmentServiceinstead in plugins, or useAttachmentManagerInternalin core where applicablePageResponse<Attachment>DefaultAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.List<Attachment>DefaultAttachmentManager. getAttachments(List<Long> ids)PageResponse<Attachment>DelegatorAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.List<Attachment>DelegatorAttachmentManager. getAttachments(List<Long> ids)List<Attachment>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.List<Attachment>DefaultAttachmentManager. getLastAddedVersionsOf(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getLastAddedVersionsOf(Attachment attachment)List<Attachment>AttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)Returns a list of only latest versions of attachments.List<Attachment>DefaultAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)List<Attachment>DelegatorAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)List<Attachment>AttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)Returns a list of all the latest versions of attachments for all the CEOs providedList<Attachment>DefaultAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>DelegatorAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>AttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)Returns a list of only latest versions of attachments (including trashed).List<Attachment>DefaultAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)List<Attachment>DelegatorAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)List<Attachment>DefaultAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>DelegatorAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>AttachmentManager. getPreviousVersions(Attachment attachment)Get all non-current versions of an attachment, not including the current version.List<Attachment>DefaultAttachmentManager. getPreviousVersions(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getPreviousVersions(Attachment attachment)Methods in com.atlassian.confluence.pages with parameters of type Attachment Modifier and Type Method Description voidAttachmentManager. copyAttachment(Attachment attachment, ContentEntityObject destinationContent)Copy specified attachment to specified destination content.voidDefaultAttachmentManager. copyAttachment(Attachment attachment, ContentEntityObject destinationContent)voidDelegatorAttachmentManager. copyAttachment(Attachment attachment, ContentEntityObject destinationContent)List<Attachment>AttachmentManager. getAllVersions(Attachment attachment)Get all versions of an attachment, starting with the current versionList<Attachment>DefaultAttachmentManager. getAllVersions(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getAllVersions(Attachment attachment)InputStreamAttachmentManager. getAttachmentData(Attachment attachment)Retrieve the data for attachmentInputStreamAttachmentManager. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)Retrieve the specified range of data for attachmentInputStreamDefaultAttachmentManager. getAttachmentData(Attachment attachment)InputStreamDefaultAttachmentManager. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)InputStreamDelegatorAttachmentManager. getAttachmentData(Attachment attachment)InputStreamDelegatorAttachmentManager. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)StringAbstractPage. getAttachmentUrlPath(Attachment attachment)List<Attachment>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.List<Attachment>DefaultAttachmentManager. getLastAddedVersionsOf(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getLastAddedVersionsOf(Attachment attachment)static InputStreamAttachmentUtils. getLatestAttachmentStream(Attachment attachment)Deprecated.Since 5.5.List<Attachment>AttachmentManager. getPreviousVersions(Attachment attachment)Get all non-current versions of an attachment, not including the current version.List<Attachment>DefaultAttachmentManager. getPreviousVersions(Attachment attachment)List<Attachment>DelegatorAttachmentManager. getPreviousVersions(Attachment attachment)voidAttachmentManager. moveAttachment(Attachment latestVersion, String fileName, ContentEntityObject newContent)voidDefaultAttachmentManager. moveAttachment(Attachment attachment, ContentEntityObject newContainer)voidDefaultAttachmentManager. moveAttachment(Attachment latestVersion, String newFileName, ContentEntityObject newContent)voidDelegatorAttachmentManager. moveAttachment(Attachment attachment, ContentEntityObject newContainer)voidDelegatorAttachmentManager. moveAttachment(Attachment attachment, String newFileName, ContentEntityObject newName)voidAttachmentManager. removeAttachmentFromServer(Attachment attachment)Removes an Attachment and its data from the server and data store.voidDefaultAttachmentManager. removeAttachmentFromServer(Attachment latestVersion)Removes the attachment and all previous versionsvoidDelegatorAttachmentManager. removeAttachmentFromServer(Attachment attachment)voidAttachmentManager. removeAttachmentVersionFromServer(Attachment attachment)Removes the given version of the Attachment and its data from the server and data store.voidDefaultAttachmentManager. removeAttachmentVersionFromServer(Attachment attachment)voidDelegatorAttachmentManager. removeAttachmentVersionFromServer(Attachment attachment)voidAttachmentManager. removeAttachmentVersionFromServerWithoutNotifications(Attachment attachment)Removes the given version of the Attachment and its data from the server and data store while suppressing notifications.voidDefaultAttachmentManager. removeAttachmentVersionFromServerWithoutNotifications(Attachment attachment)voidDelegatorAttachmentManager. removeAttachmentVersionFromServerWithoutNotifications(Attachment attachment)voidAttachmentManager. removeAttachmentWithoutNotifications(Attachment attachment)Removes an Attachment and its data from the server while suppressing notifications.voidDefaultAttachmentManager. removeAttachmentWithoutNotifications(Attachment latestVersion)voidDelegatorAttachmentManager. removeAttachmentWithoutNotifications(Attachment attachment)voidAttachmentManager. restore(Attachment attachment)Restores an attachment from trash.voidDefaultAttachmentManager. restore(Attachment attachment)voidDelegatorAttachmentManager. restore(Attachment attachment)voidAttachmentManager. saveAttachment(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData)Saves an Attachment and its datavoidAttachmentManager. saveAttachment(Attachment attachment, @Nullable Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)Saves an Attachment and its data, taking aSaveContextto allow more useful event handling.voidDefaultAttachmentManager. saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)voidDefaultAttachmentManager. saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)voidDelegatorAttachmentManager. saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)voidDelegatorAttachmentManager. saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)protected voidDefaultAttachmentManager. saveNewAttachment(Attachment attachment, InputStream attachmentData, SaveContext saveContext)protected voidDefaultAttachmentManager. saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData, SaveContext saveContext)voidAttachmentData. setAttachment(Attachment attachment)voidSavableAttachment. setAttachment(Attachment attachment)voidAttachmentManager. setAttachmentData(Attachment attachment, InputStream attachmentData)Set the data belonging to attachmentvoidDefaultAttachmentManager. setAttachmentData(Attachment attachment, InputStream attachmentData)voidDelegatorAttachmentManager. setAttachmentData(Attachment attachment, InputStream attachmentData)voidSavableAttachment. setPreviousVersion(Attachment previousVersion)voidAttachmentManager. trash(Attachment attachment)Moves an attachment to the trash.voidDefaultAttachmentManager. trash(Attachment attachment)voidDelegatorAttachmentManager. trash(Attachment attachment)Method parameters in com.atlassian.confluence.pages with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>DefaultAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.PageResponse<Attachment>DelegatorAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)Deprecated.since 7.0.1.voidAttachmentManager. removeAttachments(List<? extends Attachment> attachments)Removes the contents of attachments from the servervoidDefaultAttachmentManager. removeAttachments(List<? extends Attachment> attachments)voidDelegatorAttachmentManager. removeAttachments(List<? extends Attachment> attachments)Constructors in com.atlassian.confluence.pages with parameters of type Attachment Constructor Description AttachmentData(int version, Attachment attachment, InputStream data)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 Attachment Modifier and Type Field Description protected AttachmentAbstractRemoveAttachmentAction. attachmentMethods in com.atlassian.confluence.pages.actions that return Attachment Modifier and Type Method Description AttachmentAbstractRemoveAttachmentAction. getAttachment()AttachmentMoveAttachmentAction. getAttachment()Methods in com.atlassian.confluence.pages.actions that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>AbstractViewAttachmentsAction. getAllVersions(Attachment attachment)List<Attachment>AbstractViewAttachmentsAction. getLatestVersionsOfAttachments()List<Attachment>ViewPageAttachmentsAction. getLatestVersionsOfAttachments()Methods in com.atlassian.confluence.pages.actions with parameters of type Attachment Modifier and Type Method Description List<Attachment>AbstractViewAttachmentsAction. getAllVersions(Attachment attachment)String[]AbstractViewAttachmentsAction. getAttachmentDetails(Attachment attachment)Used for writing the "do you want to remove?" message.WebInterfaceContextViewPageAttachmentsAction. 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 Attachment Modifier and Type Method Description AttachmentAttachmentBean. retrieveMatchingAttachment(AbstractPage page, AttachmentManager attachmentManager)Methods in com.atlassian.confluence.pages.actions.beans that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>AttachmentStorer. attachFiles(ContentEntityObject contentEntityObject) -
Uses of Attachment in com.atlassian.confluence.pages.attachments
Methods in com.atlassian.confluence.pages.attachments that return Attachment Modifier and Type Method Description AttachmentAbstractDelegatingAttachmentDao. getAttachment(ContentEntityObject content, String fileName, int version)AttachmentImageDetails. getAttachment()AttachmentAbstractDelegatingAttachmentDao. getById(long id)AttachmentAbstractDelegatingAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)Methods in com.atlassian.confluence.pages.attachments that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>AbstractDelegatingAttachmentDao. findAll()List<Attachment>AbstractDelegatingAttachmentDao. findAllVersions(Attachment attachment)Iterator<Attachment>AbstractDelegatingAttachmentDao. findLatestVersionsIterator()List<Attachment>AbstractDelegatingAttachmentDao. getByIds(List<Long> ids)List<Attachment>AbstractDelegatingAttachmentDao. getLastAddedVersionsOf(Attachment attachment)List<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo)PageResponse<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.List<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject ceo)List<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>AbstractDelegatingAttachmentDao. removeAllVersionsFromServer(Attachment attachment)Methods in com.atlassian.confluence.pages.attachments with parameters of type Attachment Modifier and Type Method Description List<Attachment>AbstractDelegatingAttachmentDao. findAllVersions(Attachment attachment)InputStreamAbstractDelegatingAttachmentDao. getAttachmentData(Attachment attachment)InputStreamAbstractDelegatingAttachmentDao. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)ImageDetailsDefaultImageDetailsDao. getImageDetails(Attachment attachment)ImageDetailsDefaultImageDetailsManager. getImageDetails(Attachment attachment)ImageDetailsImageDetailsDao. getImageDetails(Attachment attachment)Fetch the image details of a specific attachment from the database.ImageDetailsImageDetailsManager. getImageDetails(Attachment attachment)Ifattachmentis an intelligble image, then this method returns theImageDetailsfor it.List<Attachment>AbstractDelegatingAttachmentDao. getLastAddedVersionsOf(Attachment attachment)static longDefaultImageDetailsDao. imageId(Attachment attachment)booleanAbstractDelegatingAttachmentDao. isAttachmentPresent(Attachment attachment)voidAbstractDelegatingAttachmentDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)List<Attachment>AbstractDelegatingAttachmentDao. removeAllVersionsFromServer(Attachment attachment)voidAbstractDelegatingAttachmentDao. removeAttachmentFromServer(Attachment attachment)voidAbstractDelegatingAttachmentDao. removeAttachmentVersionFromServer(Attachment attachment)voidDefaultImageDetailsDao. removeDetailsFor(Attachment attachment)voidImageDetailsDao. removeDetailsFor(Attachment attachment)Remove any storedImageDetailsfor the givenAttachment.voidAbstractDelegatingAttachmentDao. replaceAttachmentData(Attachment attachment, InputStream attachmentData)voidAbstractDelegatingAttachmentDao. saveNewAttachment(Attachment attachment, InputStream attachmentData)voidAbstractDelegatingAttachmentDao. saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)voidAbstractDelegatingAttachmentDao. updateAttachment(Attachment attachment)Method parameters in com.atlassian.confluence.pages.attachments with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.intDefaultImageDetailsDao. prefetchImageDetails(Collection<Attachment> attachments)Attempts to efficiently resolve theImageDetailsDtoof each givenAttachment.Constructors in com.atlassian.confluence.pages.attachments with parameters of type Attachment Constructor Description ImageDetails(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 Attachment Modifier and Type Method Description AttachmentAttachmentDao. getAttachment(ContentEntityObject content, String fileName, int version)Return the attachment on the specified content with the given filename and version.AttachmentAttachmentDao. getById(long id)Returns the attachment with the given persistent ID.AttachmentAttachmentDao. 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 Attachment Modifier and Type Method Description List<Attachment>AttachmentDao. findAll()Retrieves the latest versions of all AttachmentsList<Attachment>AttachmentDao. findAllVersions(Attachment attachment)Iterator<Attachment>AttachmentDao. findLatestVersionsIterator()Retrieves the latest versions of all Attachments and returns an Iterator to the results.List<Attachment>AttachmentDao. getByIds(List<Long> ids)Returns a list of attachments matching the given list of IDs.List<Attachment>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.List<Attachment>AttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo)Retrieves the latest versions of all attachments to ceoPageResponse<Attachment>AttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.since 7.0.1.List<Attachment>AttachmentDao. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)Retrieves the latest versions of all attachments for all CEOs providedList<Attachment>AttachmentDao. 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 Attachment Modifier and Type Method Description List<Attachment>AttachmentDao. findAllVersions(Attachment attachment)InputStreamAttachmentDao. getAttachmentData(Attachment attachment)Retrieves the InputStream representing the data for attachmentInputStreamAttachmentDao. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)Retrieves the InputStream representing the specified range of data for attachmentAttachmentDataStreamLegacyAttachmentDataDaoSupport. getAttachmentDataStream(Attachment attachment, AttachmentDataStreamType dataStreamType)StringFileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy. getAttachmentFileName(Attachment attachment)InputStreamAttachmentDataDao. getDataForAttachment(Attachment attachment)AttachmentDataStreamAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)Grabs the AttachmentData object for an AttachmentAttachmentDataStreamAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)Grabs the AttachmentData object for an AttachmentInputStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment)Deprecated.AttachmentDataStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)Deprecated.AttachmentDataStreamFileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)Deprecated.protected FileFileSystemAttachmentDataDao. getDirectoryForAttachment(ContentEntityObject content, Attachment attachment)Deprecated.Retrieves the location of the containing folder for an AttachmentList<Attachment>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.protected FileFileSystemAttachmentDataDao. getLatestAttachmentFile(Attachment attachment)Deprecated.booleanAttachmentDao. isAttachmentPresent(Attachment attachment)Check that an attachment existsbooleanAttachmentDataDao. isAttachmentPresent(Attachment attachment)Check that an attachment existsbooleanFileSystemAttachmentDataDao. isAttachmentPresent(Attachment attachment)Deprecated.voidAttachmentDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)Moves an Attachment to a new file name or content objectvoidAttachmentDataDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)Moves an attachment to a new file name or content objectvoidFileSystemAttachmentDataDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)Deprecated.voidAttachmentDataDao. moveDataForAttachmentVersion(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion)Moves the attachment data from oneAbstractVersionedEntityObject.getVersion()to the other.voidFileSystemAttachmentDataDao. moveDataForAttachmentVersion(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion)Deprecated.voidAttachmentDao. removeAttachmentFromServer(Attachment attachment)Removes attachment (and all of its versions)voidAttachmentDao. removeAttachmentVersionFromServer(Attachment attachment)Removes an attachment versionvoidAttachmentDataDao. removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)Removes all attachment data for the given attachment.voidFileSystemAttachmentDataDao. removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)Deprecated.Removes all attachment data for the given attachment.voidAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachmentVersion, ContentEntityObject originalContent)Removes the attachment data for the given attachment version.voidAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType)Removes the attachment data of the specific stream type for the given attachment version.voidFileSystemAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent)Deprecated.Removes the attachment data for the given attachment version.voidFileSystemAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType)Deprecated.voidAttachmentDao. replaceAttachmentData(Attachment attachment, InputStream attachmentData)Sets the attachment data for attachmentvoidAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)Sets the data for attachmentvoidAttachmentDataDao. replaceDataForAttachment(Attachment attachment, InputStream data)voidFileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)Deprecated.voidFileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, InputStream data)Deprecated.voidLegacyAttachmentDataDaoSupport. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)Saves data to the attachment data storevoidAttachmentDataDao. saveDataForAttachment(Attachment attachment, InputStream data)Deprecated.voidFileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)Deprecated.voidFileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, InputStream data)Deprecated.protected voidFileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, InputStream data, boolean overwrite)Deprecated.Saves data to the file systemvoidLegacyAttachmentDataDaoSupport. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)Saves data to the attachment data store, for an attachment that has been updated.voidAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)voidFileSystemAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)Deprecated.voidFileSystemAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)Deprecated.voidLegacyAttachmentDataDaoSupport. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)voidAttachmentDao. saveNewAttachment(Attachment attachment, InputStream attachmentData)Saves a new attachmentvoidAttachmentDao. saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)Saves a new version of attachmentvoidAttachmentDao. updateAttachment(Attachment attachment)Update an existing attachment without creating a new versionMethod parameters in com.atlassian.confluence.pages.persistence.dao with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>AttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.since 7.0.1. -
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 Attachment Modifier and Type Method Description AttachmentDefaultAttachmentIdentifier. getAttachment()Methods in com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers that return types with arguments of type Attachment Modifier and Type Method Description protected 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 Constructor Description DefaultAttachmentIdentifier(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return Attachment Modifier and Type Method Description AttachmentAbstractHibernateAttachmentDao. getAttachment(ContentEntityObject content, String fileName, int version)AttachmentAbstractHibernateAttachmentDao. getById(long id)AttachmentAbstractHibernateAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Attachment Modifier and Type Method Description List<Attachment>AbstractHibernateAttachmentDao. findAllVersions(Attachment attachment)List<Attachment>AbstractHibernateAttachmentDao. findAllVersions(Long id)List<Attachment>AbstractHibernateAttachmentDao. getByIds(List<Long> ids)List<Attachment>AbstractHibernateAttachmentDao. getLastAddedVersionsOf(Attachment attachment)List<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject content)PageResponse<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest request, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.since 7.0.1.List<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)List<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)List<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)protected List<Attachment>AbstractHibernateAttachmentDao. removeAllAttachmentVersions(Attachment latestVersion, ContentEntityObject content)List<Attachment>NonTransactionalHibernateAttachmentDao. removeAllVersionsFromServer(Attachment attachment)List<Attachment>TransactionalHibernateAttachmentDao. removeAllVersionsFromServer(Attachment attachment)Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Attachment Modifier and Type Method Description List<Attachment>AbstractHibernateAttachmentDao. findAllVersions(Attachment attachment)InputStreamAbstractHibernateAttachmentDao. getAttachmentData(Attachment attachment)InputStreamAbstractHibernateAttachmentDao. getAttachmentData(Attachment attachment, Optional<RangeRequest> range)protected AttachmentDataHibernateAttachmentDataDao. getAttachmentDataForAttachment(Attachment attachment)Retrieves the attachment data object for a given attachment.InputStreamHibernateAttachmentDataDao. getDataForAttachment(Attachment attachment)AttachmentDataStreamHibernateAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)AttachmentDataStreamHibernateAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)List<Attachment>AbstractHibernateAttachmentDao. getLastAddedVersionsOf(Attachment attachment)booleanAbstractHibernateAttachmentDao. isAttachmentPresent(Attachment attachment)booleanHibernateAttachmentDataDao. isAttachmentPresent(Attachment attachment)voidAbstractHibernateAttachmentDao. moveAttachment(Attachment latestVersion, Attachment oldAttachment, ContentEntityObject newContent)voidHibernateAttachmentDataDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)voidHibernateAttachmentDataDao. moveDataForAttachmentVersion(Attachment sourceAttachmentVersion, Attachment targetAttachmentVersion)protected voidAbstractHibernateAttachmentDao. overwriteMetaData(Attachment sourceAttachment, Attachment targetAttachment)Overwrites attachment meta data.protected List<Attachment>AbstractHibernateAttachmentDao. removeAllAttachmentVersions(Attachment latestVersion, ContentEntityObject content)List<Attachment>NonTransactionalHibernateAttachmentDao. removeAllVersionsFromServer(Attachment attachment)List<Attachment>TransactionalHibernateAttachmentDao. removeAllVersionsFromServer(Attachment attachment)protected voidAbstractHibernateAttachmentDao. removeAttachment(Attachment attachment, ContentEntityObject content)Severs the connection between attachment and content, and removes the attachment from the databasevoidNonTransactionalHibernateAttachmentDao. removeAttachmentFromServer(Attachment attachment)voidTransactionalHibernateAttachmentDao. removeAttachmentFromServer(Attachment attachment)voidAbstractHibernateAttachmentDao. removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved)protected abstract voidAbstractHibernateAttachmentDao. removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved, @Nullable Attachment previousAttachmentVersion)protected voidNonTransactionalHibernateAttachmentDao. removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved, Attachment previousAttachmentVersion)protected voidTransactionalHibernateAttachmentDao. removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved, Attachment previousAttachmentVersion)voidHibernateAttachmentDataDao. removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)voidHibernateAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent)voidHibernateAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType)protected voidAbstractHibernateAttachmentDao. removeMetaData(Attachment attachment)Removes attachment meta data.voidAbstractHibernateAttachmentDao. replaceAttachmentData(Attachment attachment, InputStream attachmentData)voidHibernateAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidHibernateAttachmentDataDao. replaceDataForAttachment(Attachment attachment, InputStream data)voidHibernateAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)voidHibernateAttachmentDataDao. saveDataForAttachment(Attachment attachment, InputStream data)voidHibernateAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)voidHibernateAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)voidAbstractHibernateAttachmentDao. saveNewAttachment(Attachment attachment, InputStream attachmentData)voidAbstractHibernateAttachmentDao. saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)This implementation saves the Attachment and its previous version to the VersionedHibernateObjectDao.voidAbstractHibernateAttachmentDao. updateAttachment(Attachment attachment)Method parameters in com.atlassian.confluence.pages.persistence.dao.hibernate with type arguments of type Attachment Modifier and Type Method Description PageResponse<Attachment>AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest request, com.google.common.base.Predicate<? super Attachment> predicate)Deprecated.since 7.0.1. -
Uses of Attachment in com.atlassian.confluence.pages.thumbnail
Methods in com.atlassian.confluence.pages.thumbnail that return Attachment Modifier and Type Method Description AttachmentCannotGenerateThumbnailException. getAttachment()AttachmentThumbnailInfo. getAttachment()Methods in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment Modifier and Type Method Description com.atlassian.core.util.thumbnail.ThumbnailDefaultThumbnailManager. getThumbnail(@NonNull Attachment attachment)com.atlassian.core.util.thumbnail.ThumbnailDefaultThumbnailManager. getThumbnail(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)com.atlassian.core.util.thumbnail.ThumbnailThumbnailManager. 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.ThumbnailThumbnailManager. 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.InputStreamDefaultThumbnailManager. getThumbnailData(@NonNull Attachment attachment)InputStreamDefaultThumbnailManager. getThumbnailData(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)InputStreamThumbnailManager. getThumbnailData(@NonNull Attachment attachment)Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.InputStreamThumbnailManager. 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.FileThumbnailManager. getThumbnailFile(@NonNull Attachment attachment)Deprecated.FileThumbnailManager. getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)Deprecated.ThumbnailInfoDefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment)ThumbnailInfoDefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)ThumbnailInfoDefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable String remoteAttachmentPath)ThumbnailInfoDefaultThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment, @Nullable String remoteAttachmentPath, @Nullable ImageDimensions imageDimensions)ThumbnailInfoThumbnailManager. getThumbnailInfo(@NonNull Attachment attachment)Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.ThumbnailInfoThumbnailManager. 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.ThumbnailInfoThumbnailManager. 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.ThumbnailInfoThumbnailManager. 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.FilesystemPathDefaultThumbnailManager. getThumbnailPath(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)protected FileDefaultThumbnailManager. getThumbnailsFolder(Attachment attachment)Deprecated.since 7.14booleanDefaultThumbnailManager. isThumbnailable(@Nullable Attachment attachment)booleanThumbnailManager. isThumbnailable(@Nullable Attachment attachment)Checks the content type/mime type of the attachment to determine whether a thumbnail can be created from itbooleanDefaultThumbnailManager. removeThumbnail(@NonNull Attachment attachment)Removes the thumbnail for the specified attachmentbooleanThumbnailManager. removeThumbnail(@NonNull Attachment attachment)Removes the thumbnail for the specified attachmentConstructors in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment Constructor Description CannotGenerateThumbnailException(Attachment attachment)Constructor parameters in com.atlassian.confluence.pages.thumbnail with type arguments of type Attachment Constructor Description Thumbnails(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 Attachment Modifier and Type Method Description @Nullable AttachmentDefaultWebInterfaceContext. getAttachment()@Nullable AttachmentWebInterfaceContext. 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 Attachment Modifier and Type Method Description voidDefaultWebInterfaceContext. setAttachment(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.plugins.rest.manager
Methods in com.atlassian.confluence.plugins.rest.manager with parameters of type Attachment Modifier and Type Method Description AttachmentEntityDefaultRestAttachmentManager. convertToAttachmentEntity(Attachment attachment)AttachmentEntityRestAttachmentManager. 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 Attachment Modifier and Type Method Description StringRendererAttachmentManager. getImagePath(Attachment attachment, boolean isThumbnail)protected booleanRendererAttachmentManager. 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 Attachment Modifier and Type Method Description AttachmentEmbeddedObject. getAttachment()static AttachmentEmbeddedResourceUtils. resolveAttachment(PageContext context, com.atlassian.renderer.embedded.EmbeddedResource resource)Methods in com.atlassian.confluence.renderer.embedded with parameters of type Attachment Modifier and Type Method Description StringImagePathHelper. 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 Attachment Constructor Description EmbeddedObject(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 Constructor Description RemoteAttachment(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.rss
Methods in com.atlassian.confluence.rss with parameters of type Attachment Modifier and Type Method Description protected com.atlassian.renderer.RenderContextAttachmentRenderSupport. getRenderContext(Attachment attachment, com.atlassian.util.concurrent.Timeout timeout)Deprecated.since 7.0.1.Method parameters in com.atlassian.confluence.rss with type arguments of type Attachment Modifier and Type Method Description List<String>AttachmentRenderSupport. getCategoryNames(RssRenderItem<? extends Attachment> item)StringAttachmentRenderSupport. getLink(RssRenderItem<? extends Attachment> item)StringAttachmentRenderSupport. getRenderedContent(RssRenderItem<? extends Attachment> item, com.atlassian.util.concurrent.Timeout timeout)Deprecated.since 7.0.1.StringAttachmentRenderSupport. getTitle(RssRenderItem<? extends Attachment> item) -
Uses of Attachment in com.atlassian.confluence.security.delegate
Methods in com.atlassian.confluence.security.delegate with parameters of type Attachment Modifier and Type Method Description booleanAttachmentPermissionsDelegate. canAdminister(com.atlassian.user.User user, Attachment target)booleanAttachmentPermissionsDelegate. canEdit(com.atlassian.user.User user, Attachment target)booleanAttachmentPermissionsDelegate. canExport(com.atlassian.user.User user, Attachment target)booleanAttachmentPermissionsDelegate. canRemove(com.atlassian.user.User user, Attachment target)booleanAttachmentPermissionsDelegate. canSetPermissions(com.atlassian.user.User user, Attachment target)booleanAttachmentPermissionsDelegate. canView(com.atlassian.user.User user, Attachment target) -
Uses of Attachment in com.atlassian.confluence.servlet.download
Methods in com.atlassian.confluence.servlet.download that return Attachment Modifier and Type Method Description AttachmentAttachmentUrlParser. 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 Attachment Modifier and Type Method Description protected voidAttachmentDownload. publishEvents(Attachment attachment, boolean download)protected voidThumbnailDownload. publishEvents(Attachment attachment, boolean download) -
Uses of Attachment in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces with parameters of type Attachment Modifier and Type Method Description StringSpaceDescription. getAttachmentUrlPath(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.spaces.actions
Methods in com.atlassian.confluence.spaces.actions that return Attachment Modifier and Type Method Description AttachmentAbstractLogoAction. getLogo() -
Uses of Attachment in com.atlassian.confluence.themes
Methods in com.atlassian.confluence.themes that return Attachment Modifier and Type Method Description AttachmentAttachmentHelper. getAttachment()Constructors in com.atlassian.confluence.themes with parameters of type Attachment Constructor Description AttachmentHelper(ConfluenceActionSupport action, Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.user
Methods in com.atlassian.confluence.user with parameters of type Attachment Modifier and Type Method Description StringPersonalInformation. getAttachmentUrlPath(Attachment attachment)voidDefaultUserAccessor. setUserProfilePicture(com.atlassian.user.User user, Attachment attachment)voidUserAccessor. 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 Constructor Description ProfilePictureInfo(Attachment attachment) -
Uses of Attachment in com.atlassian.confluence.util
Methods in com.atlassian.confluence.util with parameters of type Attachment Modifier and Type Method Description intAttachmentFileNameComparator. compare(Attachment first, Attachment second)intAttachmentSizeComparator. compare(Attachment o1, Attachment o2)static @Nullable StringConfluenceRenderUtils. getAbsoluteAttachmentRemotePath(@Nullable Attachment attachment)Returns the remote path to the given attachment and its siblings.static @Nullable StringConfluenceRenderUtils. getAttachmentRemotePath(@Nullable Attachment attachment)Returns the remote path to the given attachment and its siblings.static StringGeneralUtil. getAttachmentUrl(Attachment attachment)Get the permalink URL to preview the given attachment in the previewer.static StringGeneralUtil. 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 Constructor Description AttachmentBreadcrumb(Attachment attachment)
-