public interface AttachmentManagerInternal extends AttachmentManager
AttachmentManager
interface; see the package-info.java for rationale.Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
default PageResponse<Attachment> |
getFilteredAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
Predicate<? super Attachment> filterPredicate)
Returns the current attachments under the CEO.
|
List<Attachment> |
getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
Returns a list of all the latest versions of attachments for all the CEOs provided (including trashed)
|
void |
moveAttachment(Attachment attachment,
ContentEntityObject newContainer)
Moves an attachment to a different
ContentEntityObject container. |
copyAttachment, copyAttachments, copyAttachments, countLatestVersionsOfAttachments, countLatestVersionsOfAttachmentsOnPageSince, countLatestVersionsOfAttachmentsWithAnyStatus, findAttachmentForDownloadPath, getAllVersions, getAllVersionsOfAttachments, getAttachment, getAttachment, getAttachment, getAttachmentDao, getAttachmentData, getAttachmentData, getAttachmentDownloadPath, getAttachmentForDownloadPath, getAttachments, getAttachmentStatistics, getBackingStorageType, getCopier, getLastAddedVersionsOf, getLatestVersionsOfAttachments, getLatestVersionsOfAttachmentsForMultipleCeos, getLatestVersionsOfAttachmentsWithAnyStatus, getMigrator, getPreviousVersions, getRemappedAttachmentIds, moveAttachment, removeAttachmentFromServer, removeAttachments, removeAttachmentVersionFromServer, removeAttachmentWithoutNotifications, restore, saveAttachment, saveAttachment, saveAttachments, saveAttachments, setAttachmentData, trash
@Deprecated PageResponse<Attachment> getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
getFilteredAttachments(ContentEntityObject, LimitedRequest, Predicate)
content
- the content to return attachments forpageRequest
- the pagination requestedfilterPredicate
- the predicate for filtering found attachmentsdefault PageResponse<Attachment> getFilteredAttachments(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate)
content
- the content to return attachments forpageRequest
- the pagination requestedfilterPredicate
- the predicate for filtering found attachmentsvoid moveAttachment(Attachment attachment, ContentEntityObject newContainer)
ContentEntityObject
container.attachment
- The attachment to be movednewContainer
- The new ContentEntiityObject which will be parent to the attachmentList<Attachment> getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
contentEntityObjects
- Copyright © 2003–2021 Atlassian. All rights reserved.