public final class AttachmentViewDtoConverterImpl extends Object implements AttachmentViewDtoConverter
Constructor and Description |
---|
AttachmentViewDtoConverterImpl(ThumbnailManager thumbnailManager,
JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
AttachmentIndexManager attachmentIndexManager,
IssueManager issueManager,
PermissionManager permissionManager,
DateTimeFormatter dateTimeFormatter,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
List<AttachmentViewJsonDto> |
convert(List<Attachment> attachments) |
List<AttachmentViewJsonDto> |
convert(List<Attachment> attachments,
boolean deferred)
Converts List of
Attachment to Collection of AttachmentViewJsonDto , optionally using deferred thumbnails |
public AttachmentViewDtoConverterImpl(ThumbnailManager thumbnailManager, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, AttachmentIndexManager attachmentIndexManager, IssueManager issueManager, PermissionManager permissionManager, DateTimeFormatter dateTimeFormatter, UserManager userManager)
public List<AttachmentViewJsonDto> convert(List<Attachment> attachments)
convert
in interface AttachmentViewDtoConverter
public List<AttachmentViewJsonDto> convert(List<Attachment> attachments, boolean deferred)
AttachmentViewDtoConverter
Attachment
to Collection of AttachmentViewJsonDto
, optionally using deferred thumbnailsconvert
in interface AttachmentViewDtoConverter
attachments
- List of Attachment
to convertdeferred
- convert using deferred thumbnailsAttachmentViewJsonDto
Copyright © 2002-2022 Atlassian. All Rights Reserved.