Modifier and Type | Method and Description |
---|---|
Attachment |
DefaultAttachmentService.getAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId) |
Attachment |
AttachmentService.getAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId)
Retrieves the specified issue.
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
VersionedAttachmentsList.asList()
Returns the underlying list of attachments.
|
List<Attachment> |
FileNameBasedVersionedAttachmentsList.asList() |
Modifier and Type | Method and Description |
---|---|
boolean |
VersionedAttachmentsList.isLatestVersion(Attachment attachment)
Determines whether the specified attachment represents the latest version of the corresponding file.
|
boolean |
FileNameBasedVersionedAttachmentsList.isLatestVersion(Attachment attachment)
Determines whether the specified attachment is the latest file uploaded amongst the group of files
with the same name in the underlying list.
|
Constructor and Description |
---|
FileNameBasedVersionedAttachmentsList(List<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
Attachment |
ProjectImportPersister.createAttachment(ExternalAttachment externalAttachment)
Creates an attachment specified by the ExternalAttachment.
|
Attachment |
DefaultProjectImportPersister.createAttachment(ExternalAttachment externalAttachment) |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentManager.createAttachment(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser author,
String mimetype,
String filename,
Long filesize,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
Attachment |
AttachmentManager.createAttachmentCopySourceFile(File file,
String filename,
String contentType,
String attachmentAuthor,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
Attachment |
AttachmentManager.getAttachment(Long id)
Get a single attachment by its ID.
|
Attachment |
AttachmentManager.setThumbnailable(Attachment attachment,
boolean thumbnailable)
Stores the thumbnailble flag for this attachment
|
Attachment |
AttachmentManager.setZip(Attachment attachment,
boolean zip)
Stores the zip flag for this attachment
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,Attachment> |
AttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey)
Copy an attachment to another issue.
|
Map<Long,com.atlassian.fugue.Either<AttachmentError,Attachment>> |
AttachmentManager.copyAttachments(Issue issue,
ApplicationUser author,
String newIssueKey)
Copy Issue attachments to another issue.
|
Collection<Attachment> |
AbstractIssue.getAttachments() |
Collection<Attachment> |
Issue.getAttachments() |
List<Attachment> |
AttachmentManager.getAttachments(Issue issue)
Get a list of all attachments for a certain issue.
|
List<Attachment> |
AttachmentManager.getAttachments(Issue issue,
Comparator<? super Attachment> comparator)
Get a list of all attachments for a certain issue, sorted according to the specified comparator.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,Attachment> |
AttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey)
Copy an attachment to another issue.
|
void |
AttachmentManager.deleteAttachment(Attachment attachment)
Delete an attachment from the database and from the attachment store.
|
com.atlassian.fugue.Option<AttachmentArchive> |
AttachmentIndexManager.getAttachmentContents(Attachment attachment,
Issue issue,
int maxEntries)
Retrieves index of given attachment file.
|
boolean |
AttachmentIndexManager.isExpandable(Attachment attachment)
Checks if provided attachment is currently expandable.
|
void |
AttachmentIndexManager.processAttachmentAndCreateIndex(File file,
Attachment attachment,
Issue issue)
This methods generates the index of and archive file.
|
void |
AttachmentIndexManager.removeAttachmentIndex(Attachment attachment,
Issue issue)
Removes the index data of the specified attachment.
|
Attachment |
AttachmentManager.setThumbnailable(Attachment attachment,
boolean thumbnailable)
Stores the thumbnailble flag for this attachment
|
Attachment |
AttachmentManager.setZip(Attachment attachment,
boolean zip)
Stores the zip flag for this attachment
|
<T> T |
AttachmentManager.streamAttachmentContent(Attachment attachment,
InputStreamConsumer<T> consumer)
Get binary content of the attachment
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentManager.getAttachments(Issue issue,
Comparator<? super Attachment> comparator)
Get a list of all attachments for a certain issue, sorted according to the specified comparator.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentItem.attachment() |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentItems.attachments()
Deprecated.
|
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey) |
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey)
Deprecated.
Copy an attachment to another issue.
|
EnclosedIterable<Attachment> |
DefaultBulkAttachmentOperations.getAllAttachments() |
EnclosedIterable<Attachment> |
BulkAttachmentOperations.getAllAttachments()
Retrieve all the attachments of the system.
|
EnclosedIterable<Attachment> |
DefaultBulkAttachmentOperations.getAttachmentOfIssue(Issue issue) |
EnclosedIterable<Attachment> |
BulkAttachmentOperations.getAttachmentOfIssue(Issue issue)
Retrieve all the attachments of an issue.
|
List<Attachment> |
AttachmentsCategoriser.Source.getAttachments() |
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.put(Attachment metaData,
File data)
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.put(Attachment metaData,
InputStream data)
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.putAttachment(Attachment metadata,
File source) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.putAttachment(Attachment metadata,
File data)
Deprecated.
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.putAttachment(Attachment metadata,
InputStream source) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.putAttachment(Attachment metadata,
InputStream data)
Deprecated.
Store attachment data for a given attachment.
|
Modifier and Type | Method and Description |
---|---|
AttachmentItem |
AttachmentsCategoriser.AttachmentItemCreator.apply(Attachment attachment) |
int |
AttachmentFileNameComparator.compare(Attachment a1,
Attachment a2) |
int |
AttachmentCreationDateComparator.compare(Attachment attachment1,
Attachment attachment2) |
int |
AttachmentFileNameCreationDateComparator.compare(Attachment a1,
Attachment a2) |
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey) |
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.copy(Attachment originalAttachment,
Attachment metaData,
String newIssueKey)
Deprecated.
Copy an attachment to another issue.
|
com.atlassian.util.concurrent.Promise<io.atlassian.blobstore.client.api.Unit> |
SimpleAttachmentStore.delete(Attachment attachment)
Delete the specified attachment.
|
com.atlassian.util.concurrent.Promise<Void> |
BackwardCompatibleAttachmentStore.deleteAttachment(Attachment attachment) |
com.atlassian.util.concurrent.Promise<Void> |
AttachmentStore.deleteAttachment(Attachment attachment)
Deprecated.
Delete the specified attachment.
|
com.atlassian.util.concurrent.Promise<Boolean> |
SimpleAttachmentStore.exists(Attachment metaData)
Returns true if the attachment exists in the store.
|
static AttachmentKey |
AttachmentKeys.from(Attachment attachment) |
static AttachmentKey |
AttachmentKeys.from(Attachment attachment,
Issue issue) |
static AttachmentKey |
AttachmentKeys.from(Project project,
Issue issue,
Attachment attachment) |
static AttachmentKey |
AttachmentKeys.from(String originalProjectKey,
String issueKey,
Attachment attachment) |
AttachmentKey |
AttachmentKeyMapper.fromAttachment(Attachment attachment) |
static AttachmentAdapterImpl |
AttachmentAdapterImpl.fromAttachment(Attachment attachment) |
<A> com.atlassian.util.concurrent.Promise<A> |
SimpleAttachmentStore.get(Attachment metaData,
com.google.common.base.Function<InputStream,A> inputStreamProcessor)
Retrieve data for a given attachment.
|
<A> com.atlassian.util.concurrent.Promise<A> |
BackwardCompatibleAttachmentStore.getAttachment(Attachment metaData,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor) |
<A> com.atlassian.util.concurrent.Promise<A> |
AttachmentStore.getAttachment(Attachment metaData,
com.atlassian.util.concurrent.Function<InputStream,A> inputStreamProcessor)
Deprecated.
Retrieve data for a given attachment.
|
File |
BackwardCompatibleAttachmentStore.getAttachmentFile(Attachment attachment) |
File |
AttachmentStore.getAttachmentFile(Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
File |
BackwardCompatibleAttachmentStore.getAttachmentFile(Issue issue,
Attachment attachment) |
File |
AttachmentStore.getAttachmentFile(Issue issue,
Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
File |
BackwardCompatibleAttachmentStore.getLegacyThumbnailFile(Attachment attachment) |
File |
FileSystemThumbnailAccessor.getLegacyThumbnailFile(Attachment attachment)
Returns the old legacy file name for thumbnails
|
File |
ThumbnailAccessor.getLegacyThumbnailFile(Attachment attachment)
Returns the old legacy file name for thumbnails.
|
File |
AttachmentStore.getLegacyThumbnailFile(Attachment attachment)
Deprecated.
Returns the old legacy file name for thumbnails.
|
File |
BackwardCompatibleAttachmentStore.getThumbnailFile(Attachment attachment) |
File |
FileSystemThumbnailAccessor.getThumbnailFile(Attachment attachment) |
File |
ThumbnailAccessor.getThumbnailFile(Attachment attachment)
Just like the attachments themselves, thumbnails can succumb to file system encoding problems.
|
File |
AttachmentStore.getThumbnailFile(Attachment attachment)
Deprecated.
Just like the attachments themselves, thumbnails can succumb to file system encoding problems.
|
File |
BackwardCompatibleAttachmentStore.getThumbnailFile(Issue issue,
Attachment attachment) |
File |
FileSystemThumbnailAccessor.getThumbnailFile(Issue issue,
Attachment attachment) |
File |
ThumbnailAccessor.getThumbnailFile(Issue issue,
Attachment attachment)
Returns the file handle for the given attachment's thumbnail.
|
File |
AttachmentStore.getThumbnailFile(Issue issue,
Attachment attachment)
Deprecated.
Returns the file handle for the given attachment's thumbnail.
|
com.atlassian.fugue.Either<FileNotFoundException,StoreAttachmentBean> |
StoreAttachmentBeanMapper.mapToBean(Attachment metadata,
File source) |
StoreAttachmentBean |
StoreAttachmentBeanMapper.mapToBean(Attachment metadata,
InputStream source) |
com.atlassian.util.concurrent.Promise<Void> |
BackwardCompatibleAttachmentStore.move(Attachment metaData,
String newIssueKey) |
com.atlassian.util.concurrent.Promise<io.atlassian.blobstore.client.api.Unit> |
SimpleAttachmentStore.move(Attachment metaData,
String newIssueKey)
Moves an attachment from its current issue under a new one
|
com.atlassian.util.concurrent.Promise<Void> |
AttachmentStore.move(Attachment metaData,
String newIssueKey)
Deprecated.
Moves an attachment from its current issue under a new one
|
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.put(Attachment metaData,
File data)
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
SimpleAttachmentStore.put(Attachment metaData,
InputStream data)
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.putAttachment(Attachment metadata,
File source) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.putAttachment(Attachment metadata,
File data)
Deprecated.
Store attachment data for a given attachment.
|
com.atlassian.util.concurrent.Promise<Attachment> |
BackwardCompatibleAttachmentStore.putAttachment(Attachment metadata,
InputStream source) |
com.atlassian.util.concurrent.Promise<Attachment> |
AttachmentStore.putAttachment(Attachment metadata,
InputStream data)
Deprecated.
Store attachment data for a given attachment.
|
static File |
FileAttachments.validateFileForAttachment(Attachment metaData,
File file) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAttachmentDataBulkImport.importAttachmentDataFrom(ReadOnlyFileBasedAttachmentStore source,
int concurrency,
com.atlassian.fugue.Option<com.atlassian.util.concurrent.Effect<Attachment>> onCompleteAttachment) |
void |
AttachmentDataBulkImport.importAttachmentDataFrom(ReadOnlyFileBasedAttachmentStore source,
int concurrency,
com.atlassian.fugue.Option<com.atlassian.util.concurrent.Effect<Attachment>> onCompleteAttachment)
Import attachment data from the specified file system source with specified concurrency, and an optional effect
that is run after each attachment is imported (e.g.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
JiraAttachmentLink.getAttachment() |
Modifier and Type | Method and Description |
---|---|
AttachmentJsonBean |
AttachmentJsonBeanConverterImpl.shortBean(Attachment attachment) |
AttachmentJsonBean |
AttachmentJsonBeanConverter.shortBean(Attachment attachment) |
static AttachmentJsonBean |
AttachmentJsonBean.shortBean(Attachment attachment,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager)
|
static AttachmentJsonBean |
AttachmentJsonBean.shortBean(Attachment attachment,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
|
static AttachmentRenderedJsonBean |
AttachmentRenderedJsonBean.shortBean(Attachment attachment,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager,
DateTimeFormatterFactory dateTimeFormatterFactory)
|
static AttachmentRenderedJsonBean |
AttachmentRenderedJsonBean.shortBean(Attachment attachment,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
Modifier and Type | Method and Description |
---|---|
List<AttachmentViewJsonDto> |
AttachmentViewDtoConverterImpl.convert(List<Attachment> attachments) |
Collection<AttachmentViewJsonDto> |
AttachmentViewDtoConverter.convert(List<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
Attachment |
DefaultAttachmentManager.createAttachment(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser author,
String mimetype,
String filename,
Long filesize,
Map<String,Object> attachmentProperties,
Date createdTime) |
Attachment |
DefaultAttachmentManager.createAttachmentCopySourceFile(File file,
String filename,
String contentType,
String attachmentAuthor,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime) |
Attachment |
DefaultAttachmentManager.getAttachment(Long id) |
Attachment |
DefaultAttachmentManager.setThumbnailable(Attachment attachment,
boolean thumbnailable) |
Attachment |
DefaultAttachmentManager.setZip(Attachment attachment,
boolean zip) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,Attachment> |
DefaultAttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey) |
Map<Long,com.atlassian.fugue.Either<AttachmentError,Attachment>> |
DefaultAttachmentManager.copyAttachments(Issue issue,
ApplicationUser author,
String newIssueKey) |
List<Attachment> |
DefaultAttachmentManager.getAttachments(Issue issue) |
List<Attachment> |
DefaultAttachmentManager.getAttachments(Issue issue,
Comparator<? super Attachment> comparator) |
List<Attachment> |
DefaultAttachmentManager.getStoredAttachments(Issue issue) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<AttachmentError,Attachment> |
DefaultAttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey) |
void |
DefaultAttachmentManager.deleteAttachment(Attachment attachment) |
com.atlassian.fugue.Option<AttachmentArchive> |
DefaultAttachmentIndexManager.getAttachmentContents(Attachment attachment,
Issue issue,
int maxEntries) |
boolean |
DefaultAttachmentIndexManager.isExpandable(Attachment attachment) |
void |
DefaultAttachmentIndexManager.processAttachmentAndCreateIndex(File file,
Attachment attachment,
Issue issue) |
protected com.atlassian.fugue.Option<AttachmentArchive> |
DefaultAttachmentIndexManager.processAttachmentAndCreateIndex(File file,
Attachment attachment,
Issue issue,
int maxEntries) |
void |
DefaultAttachmentIndexManager.removeAttachmentIndex(Attachment attachment,
Issue issue) |
Attachment |
DefaultAttachmentManager.setThumbnailable(Attachment attachment,
boolean thumbnailable) |
Attachment |
DefaultAttachmentManager.setZip(Attachment attachment,
boolean zip) |
<T> T |
DefaultAttachmentManager.streamAttachmentContent(Attachment attachment,
InputStreamConsumer<T> consumer) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
DefaultAttachmentManager.getAttachments(Issue issue,
Comparator<? super Attachment> comparator) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultThumbnailManager.deleteThumbnailForAttachment(Issue issue,
Attachment attachment) |
void |
DisabledThumbNailManager.deleteThumbnailForAttachment(Issue issue,
Attachment attachment) |
void |
ThumbnailManager.deleteThumbnailForAttachment(Issue issue,
Attachment attachment)
Deletes the generated thumbnail for an attachment, if exists.
|
com.atlassian.core.util.thumbnail.Thumbnail |
DefaultThumbnailManager.getThumbnail(Attachment attachment) |
com.atlassian.core.util.thumbnail.Thumbnail |
DisabledThumbNailManager.getThumbnail(Attachment attachment) |
com.atlassian.core.util.thumbnail.Thumbnail |
ThumbnailManager.getThumbnail(Attachment attachment)
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
|
com.atlassian.core.util.thumbnail.Thumbnail |
DefaultThumbnailManager.getThumbnail(Issue issue,
Attachment attachment) |
com.atlassian.core.util.thumbnail.Thumbnail |
DisabledThumbNailManager.getThumbnail(Issue issue,
Attachment attachment) |
com.atlassian.core.util.thumbnail.Thumbnail |
ThumbnailManager.getThumbnail(Issue issue,
Attachment attachment)
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
|
boolean |
DefaultThumbnailManager.isThumbnailable(Attachment attachment) |
boolean |
DisabledThumbNailManager.isThumbnailable(Attachment attachment) |
boolean |
ThumbnailManager.isThumbnailable(Attachment attachment)
Indicates whether JIRA can generate a thumbnail for the given attachment.
|
boolean |
DefaultThumbnailManager.isThumbnailable(Issue issue,
Attachment attachment) |
boolean |
DisabledThumbNailManager.isThumbnailable(Issue issue,
Attachment attachment) |
boolean |
ThumbnailManager.isThumbnailable(Issue issue,
Attachment attachment)
Indicates whether JIRA can generate a thumbnail for the given attachment.
|
<T> T |
DefaultThumbnailManager.streamThumbnailContent(Attachment attachment,
InputStreamConsumer<T> consumer) |
<T> T |
DisabledThumbNailManager.streamThumbnailContent(Attachment attachment,
InputStreamConsumer<T> consumer) |
<T> T |
ThumbnailManager.streamThumbnailContent(Attachment attachment,
InputStreamConsumer<T> consumer)
Get binary content of the thumbnail
|
Modifier and Type | Method and Description |
---|---|
static EnclosedIterable<com.atlassian.fugue.Pair<Attachment,AttachmentKey>> |
ConsumeAllAttachmentKeys.getAttachmentsWithKeys(EnclosedIterable<Attachment> attachments,
IssueManager issueManager) |
Modifier and Type | Method and Description |
---|---|
static EnclosedIterable<com.atlassian.fugue.Pair<Attachment,AttachmentKey>> |
ConsumeAllAttachmentKeys.getAttachmentsWithKeys(EnclosedIterable<Attachment> attachments,
IssueManager issueManager) |
Modifier and Type | Method and Description |
---|---|
Collection<Attachment> |
TemplateIssue.getAttachments() |
Modifier and Type | Method and Description |
---|---|
protected Comparator<Attachment> |
AttachmentBlockContextProvider.attachmentComparator() |
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentAuthorizer.authorize(Attachment attachment,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
T |
ArchiveFormatter.format(AttachmentArchive archive,
Attachment attachment) |
Constructor and Description |
---|
AttachmentBeanBuilder(JiraBaseUrls jiraBaseUrls,
ThumbnailManager thumbnailManager,
Attachment attachment,
JiraAvatarSupport jiraAvatarSupport)
Creates a new AttachmentBeanBuilder.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AttachmentOperation.perform(Attachment attachment,
JiraServiceContext context)
Performs an operation on an attachment in a given context.
|
Modifier and Type | Method and Description |
---|---|
AttachmentBeanBuilder |
BeanBuilderFactoryImpl.newAttachmentBeanBuilder(Attachment attachment)
Returns a new AttachmentBeanBuilder.
|
AttachmentBeanBuilder |
BeanBuilderFactory.newAttachmentBeanBuilder(Attachment attachment)
Returns a new instance of an AttachmentBeanBuilder.
|
Modifier and Type | Method and Description |
---|---|
static File |
AttachmentUtils.getAttachmentFile(Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
static File |
AttachmentUtils.getAttachmentFile(Issue issue,
Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
static File |
AttachmentUtils.getLegacyThumbnailFile(Attachment attachment)
Deprecated.
Returns the old legacy file name for thumbnails
|
static File |
AttachmentUtils.getThumbnailFile(Attachment attachment)
Deprecated.
Just like the attachments themselves, thumbnails can succumb to file system encoding problems.
|
static File |
AttachmentUtils.getThumbnailFile(Issue issue,
Attachment attachment)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
DeleteAttachment.getAttachment() |
Modifier and Type | Method and Description |
---|---|
Collection<Attachment> |
AbstractViewIssue.getAttachments() |
Modifier and Type | Method and Description |
---|---|
protected Attachment |
ViewAttachmentServlet.getAttachment(String query)
Looks up the attachment by reading the id from the query string.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ViewAttachmentServlet.hasPermissionToViewAttachment(String username,
Attachment attachment)
Checks if the given user had permission to see the attachemnt.
|
void |
MimeSniffingKit.setAttachmentResponseHeaders(Attachment attachment,
String userAgent,
javax.servlet.http.HttpServletResponse httpServletResponse)
Sets the appropriate HTTP response headers on an attachment download response.
|
Copyright © 2002-2015 Atlassian. All Rights Reserved.