Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentContentTypeApiSupport.update(Content content,
Attachment entity) |
Modifier and Type | Method and Description |
---|---|
Class<Attachment> |
AttachmentContentTypeApiSupport.getEntityClass() |
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentContentTypeApiSupport.canRemoveAttachment(Attachment attachment) |
protected PageResponse<Content> |
AttachmentContentTypeApiSupport.getChildrenForThisType(Attachment content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
List<Link> |
AttachmentContentTypeApiSupport.getLinks(Attachment attachment) |
Attachment |
AttachmentContentTypeApiSupport.update(Content content,
Attachment entity) |
ValidationResult |
AttachmentContentTypeApiSupport.validateUpdate(Content updatedContent,
Attachment existingEntity) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
default Optional<String> |
ContentEntityAdapter.attachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Return the URL path to view the a particular attachment of the content
|
String |
CustomContentEntityObject.getAttachmentUrlPath(Attachment attachment) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
EditorEmbeddedImageTitleWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter,
Writer underlyingWriter,
Attachment attachment,
String imageSource,
String thumbnailSource,
EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
void |
AttachmentStaxStreamMarshaller.marshal(Attachment attachment,
XMLStreamWriter xmlStreamWriter,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
HtmlExportHrefEvaluator.createHref(ConversionContext context,
Attachment attachment,
String anchor) |
static LinksUpdater.AttachmentReferenceDetails |
LinksUpdater.AttachmentReferenceDetails.createReference(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
Attachment |
EmbeddedResourceResolver.resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource,
PageContext pageContext) |
Attachment |
DefaultEmbeddedResourceResolver.resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource,
PageContext pageContext) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentResourceIdentifierResolver.resolve(AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleEmbeddedImageTagWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter,
Writer underlyingWriter,
Attachment attachment,
String imageSource,
String thumbnailSource,
EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
void |
EmbeddedImageTagWriter.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 and 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) |
Modifier and Type | Method and Description |
---|---|
String |
AttachmentUiSupport.getContentCssClass(Attachment content) |
String |
AttachmentUiSupport.getContentTypeI18NKey(Attachment content) |
String |
AttachmentUiSupport.getIconCssClass(Attachment content) |
String |
AttachmentUiSupport.getIconFilePath(Attachment content,
int size) |
String |
AttachmentUiSupport.getIconPath(Attachment content,
int size) |
Modifier and Type | Method and Description |
---|---|
Attachment |
ContentEntityObject.getAttachmentNamed(String fileName) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
ContentEntityObject.getAttachments()
Don't use it directly, use AttachmentManager.getAttachments(page) instead.
|
List<Attachment> |
ContentEntityObject.getLatestVersionsOfAttachments()
Deprecated.
Since 6.13. use AttachmentManager.getLatestVersionsOfAttachments(page) instead.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentEntityObject.addAttachment(Attachment attachment) |
protected void |
ContentEntityObject.ensureAttachmentBelongsToContent(Attachment attachment) |
String |
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).
|
DataSource |
DataSourceFactory.getDatasource(Attachment attachment,
boolean useThumbnail) |
DataSource |
DefaultDataSourceFactory.getDatasource(Attachment attachment,
boolean useThumbnail) |
void |
ContentEntityObject.removeAttachment(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
void |
ContentEntityObject.setAttachments(List<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentEvent.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() |
Constructor and 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 event
|
AttachmentUpdateEvent(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) |
AttachmentViewEvent(Object src,
Attachment attachment) |
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 event
|
GeneralAttachmentUpdateEvent(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 event
|
HiddenAttachmentUpdateEvent(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 and 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
SpaceLogoUpdateEvent.getLogo() |
Constructor and Description |
---|
SpaceLogoUpdateEvent(Object src,
Space space,
SpaceLogoUpdateEvent.SpaceLogoActions eventType,
Attachment logo) |
SpaceLogoUpdateEvent(Object src,
Space space,
String eventType,
Attachment logo)
Deprecated.
since 5.10
|
Constructor and Description |
---|
UserProfilePictureUpdateEvent(Object src,
com.atlassian.user.User user,
Attachment image) |
Modifier and Type | Method and Description |
---|---|
int |
ImageDetailsPrefetchDao.prefetchImageDetails(Collection<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultExportEmbeddedResourceRenderer.isPermittedToViewAttachment(Attachment attachment)
Return true if the user is able to view the attachment.
|
Modifier and Type | Method and Description |
---|---|
protected Attachment |
AttachmentDownloadResourceManager.getAttachment(String userName,
String resourcePath,
Map parameters,
String urlPrefix) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
AttachmentTextExtractor.extract(Attachment attachment)
Extracts text from an attachment.
|
Optional<InputStreamSource> |
AttachmentExtractedTextManager.getContent(Attachment attachment)
Returns an
Optional describing the InputStreamSource of extracted text of the provided attachment
version if it is available, or an empty Optional 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.
|
Modifier and Type | Method and Description |
---|---|
Optional<InputStreamSource> |
DelegatingAttachmentTextExtractor.extract(Attachment attachment) |
Optional<InputStreamSource> |
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 and Description |
---|
DelegatingAttachmentTextExtractor(Supplier<Stream<AttachmentTextExtractor>> pluginAttachmentTextExtractorsProvider,
BiPredicate<AttachmentTextExtractor,Attachment> shouldExtractPredicate) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
AttachmentManagerInternal.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
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)
|
Modifier and Type | Method and Description |
---|---|
void |
AttachmentManagerInternal.moveAttachment(Attachment attachment,
ContentEntityObject newContainer)
Moves an attachment to a different
ContentEntityObject container. |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
AttachmentManagerInternal.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
default PageResponse<Attachment> |
AttachmentManagerInternal.getFilteredAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
Predicate<? super Attachment> filterPredicate)
Returns the current attachments under the CEO.
|
Modifier and Type | Method and 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
|
List<Attachment> |
AttachmentDaoInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
Retrieves the latest versions of all attachments for all CEOs provided (including trashed)
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
Json |
AttachmentJsonator.convert(Attachment attachment) |
Modifier and Type | Field and Description |
---|---|
protected Attachment |
AbstractAttachmentLink.attachment |
Modifier and Type | Method and Description |
---|---|
Attachment |
AbstractAttachmentLink.getAttachment() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
Attachment.copy() |
Attachment |
Attachment.copyLatestVersion()
Will copy all detail information of an attachment including :
- Content Properties
- File Name
- File Size
- Content Type
- And set version is 1
|
Attachment |
AttachmentData.getAttachment() |
Attachment |
SavableAttachment.getAttachment() |
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page.
|
Attachment |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName) |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page
|
Attachment |
CachingAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName) |
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a page.
|
Attachment |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version) |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a page
|
Attachment |
CachingAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version) |
Attachment |
DefaultAttachmentManager.getAttachment(long id) |
Attachment |
DelegatorAttachmentManager.getAttachment(long id) |
Attachment |
AttachmentManager.getAttachment(long id) |
Attachment |
CachingAttachmentManager.getAttachment(long id) |
Attachment |
SavableAttachment.getPreviousVersion() |
Modifier and Type | Method and Description |
---|---|
default Optional<Attachment> |
AttachmentManager.findAttachmentForDownloadPath(String downloadPath)
Find an
Attachment for the given downloadPath . |
List<Attachment> |
DefaultAttachmentManager.getAllVersions(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getAllVersions(Attachment attachment) |
List<Attachment> |
AttachmentManager.getAllVersions(Attachment attachment)
Get all versions of an attachment, starting with the current version
|
List<Attachment> |
CachingAttachmentManager.getAllVersions(Attachment attachment) |
List<Attachment> |
DefaultAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content)
Returns a list of all attachments, old and new.
|
List<Attachment> |
CachingAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
com.atlassian.fugue.Maybe<Attachment> |
DefaultAttachmentManager.getAttachmentForDownloadPath(String downloadPath)
Deprecated.
since 7.0.1. Use
AttachmentManager.findAttachmentForDownloadPath(String) |
com.atlassian.fugue.Maybe<Attachment> |
DelegatorAttachmentManager.getAttachmentForDownloadPath(String downloadPath)
Deprecated.
since 7.0.1. Use
AttachmentManager.findAttachmentForDownloadPath(String) |
com.atlassian.fugue.Maybe<Attachment> |
AttachmentManager.getAttachmentForDownloadPath(String downloadPath)
Deprecated.
since 7.0.1. Use
AttachmentManager.findAttachmentForDownloadPath(String) |
com.atlassian.fugue.Maybe<Attachment> |
CachingAttachmentManager.getAttachmentForDownloadPath(String downloadPath)
Deprecated.
since 7.0.1. Use
AttachmentManager.findAttachmentForDownloadPath(String) |
PageResponse<Attachment> |
DefaultAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
DelegatorAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
CachingAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
List<Attachment> |
DefaultAttachmentManager.getAttachments(List<Long> ids) |
List<Attachment> |
DelegatorAttachmentManager.getAttachments(List<Long> ids) |
List<Attachment> |
AttachmentManager.getAttachments(List<Long> ids)
Returns a list of attachments matching the given list of IDs.
|
List<Attachment> |
CachingAttachmentManager.getAttachments(List<Long> ids) |
List<Attachment> |
DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getLastAddedVersionsOf(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> |
CachingAttachmentManager.getLastAddedVersionsOf(Attachment attachment) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
Returns a list of only latest versions of attachments.
|
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
Returns a list of all the latest versions of attachments for all the CEOs provided
|
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Returns a list of only latest versions of attachments (including trashed).
|
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
DefaultAttachmentManager.getPreviousVersions(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getPreviousVersions(Attachment attachment) |
List<Attachment> |
AttachmentManager.getPreviousVersions(Attachment attachment)
Get all non-current versions of an attachment, not including the current
version.
|
List<Attachment> |
CachingAttachmentManager.getPreviousVersions(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
void |
DelegatorAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
void |
AttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent)
Copy specified attachment to specified destination content.
|
void |
CachingAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
List<Attachment> |
DefaultAttachmentManager.getAllVersions(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getAllVersions(Attachment attachment) |
List<Attachment> |
AttachmentManager.getAllVersions(Attachment attachment)
Get all versions of an attachment, starting with the current version
|
List<Attachment> |
CachingAttachmentManager.getAllVersions(Attachment attachment) |
InputStream |
DefaultAttachmentManager.getAttachmentData(Attachment attachment) |
InputStream |
DelegatorAttachmentManager.getAttachmentData(Attachment attachment) |
InputStream |
AttachmentManager.getAttachmentData(Attachment attachment)
Retrieve the data for attachment
|
InputStream |
CachingAttachmentManager.getAttachmentData(Attachment attachment) |
InputStream |
DefaultAttachmentManager.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range) |
InputStream |
DelegatorAttachmentManager.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range) |
InputStream |
AttachmentManager.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range)
Retrieve the specified range of data for attachment
|
InputStream |
CachingAttachmentManager.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range) |
String |
AbstractPage.getAttachmentUrlPath(Attachment attachment) |
List<Attachment> |
DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getLastAddedVersionsOf(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> |
CachingAttachmentManager.getLastAddedVersionsOf(Attachment attachment) |
static InputStream |
AttachmentUtils.getLatestAttachmentStream(Attachment attachment)
Deprecated.
Since 5.5. Use
AttachmentManager.getAttachmentData(Attachment) |
List<Attachment> |
DefaultAttachmentManager.getPreviousVersions(Attachment attachment) |
List<Attachment> |
DelegatorAttachmentManager.getPreviousVersions(Attachment attachment) |
List<Attachment> |
AttachmentManager.getPreviousVersions(Attachment attachment)
Get all non-current versions of an attachment, not including the current
version.
|
List<Attachment> |
CachingAttachmentManager.getPreviousVersions(Attachment attachment) |
void |
DefaultAttachmentManager.moveAttachment(Attachment attachment,
ContentEntityObject newContainer) |
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
ContentEntityObject newContainer) |
void |
CachingAttachmentManager.moveAttachment(Attachment latestVersion,
ContentEntityObject newContainer) |
void |
DefaultAttachmentManager.moveAttachment(Attachment latestVersion,
String newFileName,
ContentEntityObject newContent) |
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
String newFileName,
ContentEntityObject newName) |
void |
AttachmentManager.moveAttachment(Attachment latestVersion,
String fileName,
ContentEntityObject newContent) |
void |
CachingAttachmentManager.moveAttachment(Attachment latestVersion,
String fileName,
ContentEntityObject newContent) |
void |
DefaultAttachmentManager.removeAttachmentFromServer(Attachment latestVersion)
Removes the attachment and all previous versions
|
void |
DelegatorAttachmentManager.removeAttachmentFromServer(Attachment attachment) |
void |
AttachmentManager.removeAttachmentFromServer(Attachment attachment)
Removes an Attachment and its data from the server and data store.
|
void |
CachingAttachmentManager.removeAttachmentFromServer(Attachment attachment) |
void |
DefaultAttachmentManager.removeAttachmentVersionFromServer(Attachment attachment) |
void |
DelegatorAttachmentManager.removeAttachmentVersionFromServer(Attachment attachment) |
void |
AttachmentManager.removeAttachmentVersionFromServer(Attachment attachment)
Removes the given version of the Attachment and its data from the server and data store.
|
void |
CachingAttachmentManager.removeAttachmentVersionFromServer(Attachment attachment) |
void |
DefaultAttachmentManager.removeAttachmentWithoutNotifications(Attachment latestVersion) |
void |
DelegatorAttachmentManager.removeAttachmentWithoutNotifications(Attachment attachment) |
void |
AttachmentManager.removeAttachmentWithoutNotifications(Attachment attachment)
Removes an Attachment and its data from the server while suppressing notifications.
|
void |
CachingAttachmentManager.removeAttachmentWithoutNotifications(Attachment attachment) |
void |
DefaultAttachmentManager.restore(Attachment attachment) |
void |
DelegatorAttachmentManager.restore(Attachment attachment) |
void |
AttachmentManager.restore(Attachment attachment)
Restores an attachment from trash.
|
void |
CachingAttachmentManager.restore(Attachment attachment) |
void |
DefaultAttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData) |
void |
DelegatorAttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData) |
void |
AttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData)
Saves an Attachment and its data
|
void |
AttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData)
Saves an Attachment and its data
|
void |
CachingAttachmentManager.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,
SaveContext saveContext) |
void |
AttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData,
SaveContext saveContext)
Saves an Attachment and its data, taking a
SaveContext to allow
more useful event handling. |
void |
AttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData,
SaveContext saveContext)
Saves an Attachment and its data, taking a
SaveContext to allow
more useful event handling. |
void |
CachingAttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData,
SaveContext saveContext) |
void |
CachingAttachmentManager.saveAttachment(Attachment attachment,
@Nullable Attachment previousVersion,
InputStream attachmentData,
SaveContext saveContext) |
protected void |
DefaultAttachmentManager.saveNewAttachment(Attachment attachment,
InputStream attachmentData,
SaveContext saveContext) |
protected void |
DefaultAttachmentManager.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData,
SaveContext saveContext) |
void |
AttachmentData.setAttachment(Attachment attachment) |
void |
SavableAttachment.setAttachment(Attachment attachment) |
void |
DefaultAttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData) |
void |
DelegatorAttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData) |
void |
AttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData)
Set the data belonging to attachment
|
void |
CachingAttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData) |
void |
SavableAttachment.setPreviousVersion(Attachment previousVersion) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
AttachmentDownloadPathCache.toKey(Attachment attachment) |
void |
DefaultAttachmentManager.trash(Attachment attachment) |
void |
DelegatorAttachmentManager.trash(Attachment attachment) |
void |
AttachmentManager.trash(Attachment attachment)
Moves an attachment to the trash.
|
void |
CachingAttachmentManager.trash(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
DefaultAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
DelegatorAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
CachingAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
void |
DefaultAttachmentManager.removeAttachments(List<? extends Attachment> attachments) |
void |
DelegatorAttachmentManager.removeAttachments(List<? extends Attachment> attachments) |
void |
AttachmentManager.removeAttachments(List<? extends Attachment> attachments)
Removes the contents of attachments from the server
|
void |
CachingAttachmentManager.removeAttachments(List<? extends Attachment> attachments) |
Constructor and Description |
---|
AttachmentData(int version,
Attachment attachment,
InputStream data) |
SavableAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData) |
Modifier and Type | Field and Description |
---|---|
protected Attachment |
AbstractRemoveAttachmentAction.attachment |
Modifier and Type | Method and Description |
---|---|
Attachment |
MoveAttachmentAction.getAttachment() |
Attachment |
AbstractRemoveAttachmentAction.getAttachment() |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AbstractViewAttachmentsAction.getAllVersions(Attachment attachment) |
List<Attachment> |
ViewPageAttachmentsAction.getLatestVersionsOfAttachments() |
List<Attachment> |
AbstractViewAttachmentsAction.getLatestVersionsOfAttachments() |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AbstractViewAttachmentsAction.getAllVersions(Attachment attachment) |
String[] |
AbstractViewAttachmentsAction.getAttachmentDetails(Attachment attachment)
Used for writing the "do you want to remove?" message.
|
WebInterfaceContext |
ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext context,
Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentBean.retrieveMatchingAttachment(AbstractPage page,
AttachmentManager attachmentManager) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentStorer.attachFiles(ContentEntityObject contentEntityObject) |
Modifier and Type | Method and Description |
---|---|
Attachment |
ImageDetails.getAttachment() |
Attachment |
CachingAttachmentDao.getAttachment(ContentEntityObject content,
String fileName,
int version) |
Attachment |
CachingAttachmentDao.getById(long id) |
Attachment |
CachingAttachmentDao.getLatestAttachment(ContentEntityObject content,
String fileName) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
CachingAttachmentDao.findAllVersions(Attachment attachment) |
InputStream |
CachingAttachmentDao.getAttachmentData(Attachment attachment) |
InputStream |
CachingAttachmentDao.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range) |
ImageDetails |
DefaultImageDetailsDao.getImageDetails(Attachment attachment) |
ImageDetails |
ImageDetailsManager.getImageDetails(Attachment attachment)
If
attachment is an intelligble image, then this method returns the
ImageDetails for it. |
ImageDetails |
DefaultImageDetailsManager.getImageDetails(Attachment attachment) |
ImageDetails |
ImageDetailsDao.getImageDetails(Attachment attachment)
Fetch the image details of a specific attachment from the database.
|
List<Attachment> |
CachingAttachmentDao.getLastAddedVersionsOf(Attachment attachment) |
static long |
DefaultImageDetailsDao.imageId(Attachment attachment) |
boolean |
CachingAttachmentDao.isAttachmentPresent(Attachment attachment) |
void |
CachingAttachmentDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
AttachmentCache.put(Attachment attachment)
Caches the ID of the current version of an attachment (which should
never change) against its content ID + file name.
|
void |
AttachmentCache.remove(Attachment attachment)
Removes the given attachment from the cache.
|
void |
CachingAttachmentDao.removeAttachmentFromServer(Attachment attachment) |
void |
CachingAttachmentDao.removeAttachmentVersionFromServer(Attachment attachment) |
void |
DefaultImageDetailsDao.removeDetailsFor(Attachment attachment) |
void |
ImageDetailsDao.removeDetailsFor(Attachment attachment)
Remove any stored
ImageDetails for the given Attachment . |
void |
CachingAttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData) |
void |
CachingAttachmentDao.saveNewAttachment(Attachment attachment,
InputStream attachmentData) |
void |
CachingAttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData) |
void |
CachingAttachmentDao.updateAttachment(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
CachingAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> predicate)
|
int |
DefaultImageDetailsDao.prefetchImageDetails(Collection<Attachment> attachments)
Attempts to efficiently resolve the
ImageDetailsDto of each given Attachment . |
Constructor and Description |
---|
ImageDetails(Attachment attachment,
int width,
int height,
String mimeType) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentDao.getAttachment(ContentEntityObject content,
String fileName,
int version)
Return the attachment on the specified content with the given filename and version.
|
Attachment |
AttachmentDao.getById(long id)
Returns the attachment with the given persistent ID.
|
Attachment |
AttachmentDao.getLatestAttachment(ContentEntityObject content,
String fileName)
Return the latest version of the attachment on the specified content with the given filename.
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentDao.findAll()
Retrieves the latest versions of all Attachments
|
List<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 ceo
|
PageResponse<Attachment> |
AttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.
|
List<Attachment> |
AttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
Retrieves the latest versions of all attachments for all CEOs provided
|
List<Attachment> |
AttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject ceo)
Retrieves the latest versions of all attachments to ceo (including trashed)
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentDao.findAllVersions(Attachment attachment) |
InputStream |
AttachmentDao.getAttachmentData(Attachment attachment)
Retrieves the InputStream representing the data for attachment
|
InputStream |
AttachmentDao.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range)
Retrieves the InputStream representing the specified range of data for attachment
|
AttachmentDataStream |
LegacyAttachmentDataDaoSupport.getAttachmentDataStream(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
String |
FileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy.getAttachmentFileName(Attachment attachment) |
InputStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment)
Deprecated.
|
InputStream |
AttachmentDataDao.getDataForAttachment(Attachment attachment)
|
AttachmentDataStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType)
Deprecated.
|
AttachmentDataStream |
AttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType)
Grabs the AttachmentData object for an Attachment
|
AttachmentDataStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range)
Deprecated.
|
AttachmentDataStream |
AttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range)
Grabs the AttachmentData object for an Attachment
|
protected File |
FileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content,
Attachment attachment)
Deprecated.
Retrieves the location of the containing folder for an Attachment
|
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.
|
protected File |
FileSystemAttachmentDataDao.getLatestAttachmentFile(Attachment attachment)
Deprecated.
|
boolean |
FileSystemAttachmentDataDao.isAttachmentPresent(Attachment attachment)
Deprecated.
|
boolean |
AttachmentDataDao.isAttachmentPresent(Attachment attachment)
Check that an attachment exists
|
boolean |
AttachmentDao.isAttachmentPresent(Attachment attachment)
Check that an attachment exists
|
void |
FileSystemAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Deprecated.
|
void |
AttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Moves an attachment to a new file name or content object
|
void |
AttachmentDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Moves an Attachment to a new file name or content object
|
void |
FileSystemAttachmentDataDao.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion)
Deprecated.
|
void |
AttachmentDataDao.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion)
Moves the attachment data from one
AbstractVersionedEntityObject.getVersion() to the other. |
void |
AttachmentDao.removeAttachmentFromServer(Attachment attachment)
Removes attachment (and all of its versions)
|
void |
AttachmentDao.removeAttachmentVersionFromServer(Attachment attachment)
Removes an attachment version
|
void |
FileSystemAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Deprecated.
Removes all attachment data for the given attachment.
|
void |
AttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Removes all attachment data for the given attachment.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent)
Deprecated.
Removes the attachment data for the given attachment version.
|
void |
AttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent)
Removes the attachment data for the given attachment version.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType)
Deprecated.
|
void |
AttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType)
Removes the attachment data of the specific stream type for the given attachment version.
|
void |
AttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData)
Sets the attachment data for attachment
|
void |
LegacyAttachmentDataDaoSupport.replaceDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream) |
void |
FileSystemAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream)
Deprecated.
|
void |
AttachmentDataDao.replaceDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream)
Sets the data for attachment
|
void |
FileSystemAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data)
Deprecated.
|
void |
AttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data)
|
void |
LegacyAttachmentDataDaoSupport.saveDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream) |
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream)
Deprecated.
|
void |
AttachmentDataDao.saveDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream)
Saves data to the attachment data store
|
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
Deprecated.
|
void |
AttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
Deprecated.
|
protected void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data,
boolean overwrite)
Deprecated.
Saves data to the file system
|
void |
LegacyAttachmentDataDaoSupport.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
AttachmentDataStream dataStream) |
void |
FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
AttachmentDataStream dataStream)
Deprecated.
|
void |
AttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
AttachmentDataStream dataStream)
Saves data to the attachment data store, for an attachment
that has been updated.
|
void |
FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data)
Deprecated.
|
void |
AttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data)
|
void |
AttachmentDao.saveNewAttachment(Attachment attachment,
InputStream attachmentData)
Saves a new attachment
|
void |
AttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
Saves a new version of attachment
|
void |
AttachmentDao.updateAttachment(Attachment attachment)
Update an existing attachment without creating a new version
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
AttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentDataFileSystem.dataExistsForAttachment(Attachment attachment)
Indicates whether the filesystem contains data for the given attachment
|
boolean |
HierarchicalMultiStreamAttachmentDataFileSystem.dataExistsForAttachment(Attachment attachment) |
boolean |
TrackingAttachmentDataFileSystem.dataExistsForAttachment(Attachment attachment) |
void |
AttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity)
Delete all data corresponding to all versions of the given attachment
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject originalContent)
Delete all data corresponding to all versions of the given attachment
|
void |
TrackingAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity)
Delete the data corresponding to a single attachment version
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent)
Delete the data corresponding to a single attachment version
|
void |
TrackingAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType)
Delete the data of the specified stream type corresponding to a single attachment version
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType) |
void |
TrackingAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
AttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType)
Fetches the data for a given attachment version and data stream type
|
AttachmentDataStream |
HierarchicalMultiStreamAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
TrackingAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
AttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range)
Fetches the specified range of data for a given attachment version and data stream type
|
AttachmentDataStream |
HierarchicalMultiStreamAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
AttachmentDataStream |
TrackingAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
InputStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment)
Deprecated.
|
AttachmentDataStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
boolean |
FileSystemAttachmentDataDao.isAttachmentPresent(Attachment attachment) |
void |
AttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity)
Move all data relating to one attachment to a new directory corresponding to the given new attachment and
content entity.
|
void |
FileSystemAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
HierarchicalMultiStreamAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContent) |
void |
TrackingAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
AttachmentDataFileSystem.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion)
Move the data associated with one attachment version, to being associated with a different attachment version
|
void |
FileSystemAttachmentDataDao.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion)
Moves the attachment data from one
AbstractVersionedEntityObject.getVersion() to the other. |
void |
HierarchicalMultiStreamAttachmentDataFileSystem.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
void |
TrackingAttachmentDataFileSystem.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
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)
Deprecated.
|
boolean |
AttachmentDataFileSystem.saveAttachmentData(Attachment attachment,
AttachmentDataStream dataStream,
boolean overwrite)
Save new data corresponding to the given attachment.
|
boolean |
HierarchicalMultiStreamAttachmentDataFileSystem.saveAttachmentData(Attachment attachmentVersion,
AttachmentDataStream attachmentDataStream,
boolean overwrite) |
boolean |
TrackingAttachmentDataFileSystem.saveAttachmentData(Attachment attachment,
AttachmentDataStream dataStream,
boolean overwrite) |
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream) |
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
Deprecated.
|
void |
FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
AttachmentDataStream dataStream) |
void |
FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileStoreAttachmentDataFileSystem.dataExistsForAttachment(Attachment attachment) |
void |
FileStoreAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
FileStoreAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
FileStoreAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
FileStoreAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
FileStoreAttachmentDataFileSystem.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
void |
FileStoreAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
FileStoreAttachmentDataFileSystem.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
boolean |
FileStoreAttachmentDataFileSystem.saveAttachmentData(Attachment attachment,
AttachmentDataStream dataStream,
boolean overwrite) |
Modifier and Type | Method and Description |
---|---|
boolean |
DualAttachmentDataFileSystemPrimaryLocal.dataExistsForAttachment(Attachment attachment) |
boolean |
DualAttachmentDataFileSystemPrimaryCloud.dataExistsForAttachment(Attachment attachment) |
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
DualAttachmentDataFileSystemPrimaryLocal.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
DualAttachmentDataFileSystemPrimaryCloud.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
DualAttachmentDataFileSystemPrimaryLocal.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
AttachmentDataStream |
DualAttachmentDataFileSystemPrimaryCloud.getAttachmentData(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
void |
DualAttachmentDataFileSystemPrimaryLocal.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
void |
DualAttachmentDataFileSystemPrimaryCloud.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
boolean |
DualAttachmentDataFileSystemPrimaryLocal.saveAttachmentData(Attachment attachment,
AttachmentDataStream dataStream,
boolean overwrite) |
boolean |
DualAttachmentDataFileSystemPrimaryCloud.saveAttachmentData(Attachment attachment,
AttachmentDataStream dataStream,
boolean overwrite) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AbstractHibernateAttachmentDao.getAttachment(ContentEntityObject content,
String fileName,
int version) |
Attachment |
AbstractHibernateAttachmentDao.getById(long id) |
Attachment |
AbstractHibernateAttachmentDao.getLatestAttachment(ContentEntityObject content,
String fileName) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment) |
InputStream |
AbstractHibernateAttachmentDao.getAttachmentData(Attachment attachment) |
InputStream |
AbstractHibernateAttachmentDao.getAttachmentData(Attachment attachment,
Optional<RangeRequest> range) |
protected AttachmentData |
HibernateAttachmentDataDao.getAttachmentDataForAttachment(Attachment attachment)
Retrieves the attachment data object for a given attachment.
|
InputStream |
HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment) |
AttachmentDataStream |
HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
List<Attachment> |
AbstractHibernateAttachmentDao.getLastAddedVersionsOf(Attachment attachment) |
boolean |
HibernateAttachmentDataDao.isAttachmentPresent(Attachment attachment) |
boolean |
AbstractHibernateAttachmentDao.isAttachmentPresent(Attachment attachment) |
void |
HibernateAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
AbstractHibernateAttachmentDao.moveAttachment(Attachment latestVersion,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
HibernateAttachmentDataDao.moveDataForAttachmentVersion(Attachment sourceAttachmentVersion,
Attachment targetAttachmentVersion) |
protected void |
AbstractHibernateAttachmentDao.overwriteMetaData(Attachment sourceAttachment,
Attachment targetAttachment)
Overwrites attachment meta data.
|
protected void |
AbstractHibernateAttachmentDao.removeAllAttachmentVersions(Attachment latestVersion,
ContentEntityObject content) |
protected void |
AbstractHibernateAttachmentDao.removeAttachment(Attachment attachment,
ContentEntityObject content)
Severs the connection between attachment and content, and removes the attachment from the database
|
void |
NonTransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment) |
void |
TransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment) |
void |
AbstractHibernateAttachmentDao.removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved) |
protected void |
NonTransactionalHibernateAttachmentDao.removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
Attachment previousAttachmentVersion) |
protected void |
TransactionalHibernateAttachmentDao.removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
Attachment previousAttachmentVersion) |
protected abstract void |
AbstractHibernateAttachmentDao.removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
@Nullable Attachment previousAttachmentVersion) |
protected abstract void |
AbstractHibernateAttachmentDao.removeAttachmentVersionFromServer(Attachment attachmentVersionToBeRemoved,
@Nullable Attachment previousAttachmentVersion) |
void |
HibernateAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent) |
void |
HibernateAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent) |
void |
HibernateAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType) |
protected void |
AbstractHibernateAttachmentDao.removeMetaData(Attachment attachment)
Removes attachment meta data.
|
void |
AbstractHibernateAttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData) |
void |
HibernateAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream) |
void |
HibernateAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data) |
void |
HibernateAttachmentDataDao.saveDataForAttachment(Attachment attachment,
AttachmentDataStream dataStream) |
void |
HibernateAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data) |
void |
HibernateAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
AttachmentDataStream dataStream) |
void |
HibernateAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data) |
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) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest request,
com.google.common.base.Predicate<? super Attachment> predicate)
|
Modifier and Type | Method and Description |
---|---|
Attachment |
CannotGenerateThumbnailException.getAttachment() |
Attachment |
ThumbnailInfo.getAttachment() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.core.util.thumbnail.Thumbnail |
DefaultThumbnailManager.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)
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 |
DefaultThumbnailManager.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.
|
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.
|
InputStream |
DefaultThumbnailManager.getThumbnailData(@NonNull Attachment attachment)
Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.
|
InputStream |
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.
|
InputStream |
DefaultThumbnailManager.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.
|
InputStream |
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.
|
File |
DefaultThumbnailManager.getThumbnailFile(@NonNull Attachment attachment)
Returns the path to the thumbnail for this attachment
|
File |
ThumbnailManager.getThumbnailFile(@NonNull Attachment attachment)
Returns the path to the thumbnail for this attachment
|
File |
DefaultThumbnailManager.getThumbnailFile(@NonNull Attachment attachment,
@Nullable ImageDimensions imageDimensions)
Returns the path to the thumbnail for this attachment
|
File |
ThumbnailManager.getThumbnailFile(@NonNull Attachment attachment,
@Nullable ImageDimensions imageDimensions)
Returns the path to the thumbnail for this attachment
|
ThumbnailInfo |
DefaultThumbnailManager.getThumbnailInfo(@NonNull Attachment attachment)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
ThumbnailManager.getThumbnailInfo(@NonNull Attachment attachment)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
DefaultThumbnailManager.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.
|
ThumbnailInfo |
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.
|
ThumbnailInfo |
DefaultThumbnailManager.getThumbnailInfo(@NonNull Attachment attachment,
@Nullable String remoteAttachmentPath)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
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.
|
ThumbnailInfo |
DefaultThumbnailManager.getThumbnailInfo(@NonNull Attachment attachment,
@Nullable String remoteAttachmentPath,
@Nullable ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
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.
|
protected File |
DefaultThumbnailManager.getThumbnailsFolder(Attachment attachment) |
boolean |
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 it
|
boolean |
DefaultThumbnailManager.removeThumbnail(@NonNull Attachment attachment)
Removes the thumbnail for the specified attachment
|
boolean |
ThumbnailManager.removeThumbnail(@NonNull Attachment attachment)
Removes the thumbnail for the specified attachment
|
Constructor and Description |
---|
CannotGenerateThumbnailException(Attachment attachment) |
Constructor and Description |
---|
Thumbnails(List<Attachment> attachments,
ImagePathHelper pathHelper,
int columns,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager)
|
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,
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)
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.core.util.thumbnail.Thumbnail |
DelegatingThumbnailRenderer.retrieveOrCreateThumbNail(@NonNull Attachment attachment,
File thumbnailFile,
int maxWidth,
int maxHeight)
Create a new or return an existing
Thumbnail for this attachment. |
Modifier and Type | Method and Description |
---|---|
Attachment |
WebInterfaceContext.getAttachment()
Returns the attachment related to the web interface state, or null if there is no attachment.
|
Attachment |
DefaultWebInterfaceContext.getAttachment() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultWebInterfaceContext.setAttachment(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
static SiteLogo |
SiteLogo.createFromAttachment(Attachment attachment)
Deprecated.
since 7.0.1. Use
SiteLogo.SiteLogo(String, InputStream) , with getDownloadPath()
and AttachmentManager.getAttachmentData(Attachment) instead. |
Modifier and Type | Method and Description |
---|---|
AttachmentEntity |
RestAttachmentManager.convertToAttachmentEntity(Attachment attachment)
Convert a Confluence model object into its REST representation.
|
AttachmentEntity |
DefaultRestAttachmentManager.convertToAttachmentEntity(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
String |
RendererAttachmentManager.getImagePath(Attachment attachment,
boolean isThumbnail) |
protected boolean |
RendererAttachmentManager.isPermittedToViewAttachment(Attachment attachment)
Checks whether the user is able to view the attachment
|
Modifier and Type | Method and Description |
---|---|
Attachment |
EmbeddedObject.getAttachment() |
static Attachment |
EmbeddedResourceUtils.resolveAttachment(PageContext context,
com.atlassian.renderer.embedded.EmbeddedResource resource) |
Modifier and Type | Method and Description |
---|---|
String |
ImagePathHelper.getImagePath(Attachment attachment,
boolean isThumbnail)
Return the path used to access the specified image.
|
Constructor and Description |
---|
EmbeddedObject(Attachment attachment,
Map<String,Object> properties) |
Constructor and Description |
---|
RemoteAttachment(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.renderer.RenderContext |
AttachmentRenderSupport.getRenderContext(Attachment attachment,
com.atlassian.util.concurrent.Timeout timeout)
Deprecated.
|
Constructor and Description |
---|
AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager,
AttachmentStatusManager attachmentStatusManager,
ApplicationStatusService applicationStatusService,
AttachmentTextExtractionService remoteAttachmentTextExtractionService,
Function<Attachment,Boolean> shouldExtractChecker) |
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentPermissionsDelegate.canAdminister(com.atlassian.user.User user,
Attachment target) |
boolean |
AttachmentPermissionsDelegate.canEdit(com.atlassian.user.User user,
Attachment target) |
boolean |
AttachmentPermissionsDelegate.canExport(com.atlassian.user.User user,
Attachment target) |
boolean |
AttachmentPermissionsDelegate.canRemove(com.atlassian.user.User user,
Attachment target) |
boolean |
AttachmentPermissionsDelegate.canSetPermissions(com.atlassian.user.User user,
Attachment target) |
boolean |
AttachmentPermissionsDelegate.canView(com.atlassian.user.User user,
Attachment target) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentUrlParser.getAttachment(String urlPath,
String urlPrefix,
Map parameters)
Gets the attachment based on the url, prefix and query parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AttachmentDownload.getEventToPublish(Attachment attachment) |
protected void |
ThumbnailDownload.getEventToPublish(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
String |
SpaceDescription.getAttachmentUrlPath(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AbstractLogoAction.getLogo() |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentHelper.getAttachment() |
Constructor and Description |
---|
AttachmentHelper(ConfluenceActionSupport action,
Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
String |
PersonalInformation.getAttachmentUrlPath(Attachment attachment) |
void |
DefaultUserAccessor.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.
|
Constructor and Description |
---|
ProfilePictureInfo(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
int |
AttachmentFileNameComparator.compare(Attachment first,
Attachment second) |
int |
AttachmentSizeComparator.compare(Attachment o1,
Attachment o2) |
static String |
ConfluenceRenderUtils.getAbsoluteAttachmentRemotePath(Attachment attachment)
Returns the remote path to the given attachment and its siblings.
|
static String |
ConfluenceRenderUtils.getAttachmentRemotePath(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.
|
Constructor and Description |
---|
AttachmentBreadcrumb(Attachment attachment) |
Copyright © 2003–2021 Atlassian. All rights reserved.