| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource | 
AttachmentResourceHelper.buildAttachmentResource(AttachmentData attachment)
Converts a list item describing an attachment into an attachment resource 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource[] | 
AttachmentResourceHelper.buildAttachmentResources(Collection<AttachmentData> attachments)
Converts a collection of attachment list items into an array of attachment resources 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource | 
AttachmentResourceHelper.buildAttachmentResource(AttachmentData attachment)
Converts a list item describing an attachment into an attachment resource 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource[] | 
AttachmentResourceHelper.buildAttachmentResources(Collection<AttachmentData> attachments)
Converts a collection of attachment list items into an array of attachment resources 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource | 
AttachmentResourceHelper.buildAttachmentResource(AttachmentData attachment)
Converts a list item describing an attachment into an attachment resource 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource[] | 
AttachmentResourceHelper.buildAttachmentResources(Collection<AttachmentData> attachments)
Converts a collection of attachment list items into an array of attachment resources 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource | 
AttachmentResourceHelper.buildAttachmentResource(AttachmentData attachment)
Converts a list item describing an attachment into an attachment resource 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AttachmentResource[] | 
AttachmentResourceHelper.buildAttachmentResources(Collection<AttachmentData> attachments)
Converts a collection of attachment list items into an array of attachment resources 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<AttachmentData> | 
NoteData.getAttachments()  | 
List<AttachmentData> | 
NoteData.getAttachments(String filter)
Returns a MIME type filtered subset of the attachments that were added to the note. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
NoteData.setAttachments(List<AttachmentData> attachments)  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
AttachmentHelper.determineAbsoluteAttachmentUrl(AttachmentData resource,
                              boolean isSecure)
Determine the absolute URL Path for a resource 
 | 
static String | 
AttachmentHelper.determineKnownMimeType(AttachmentData attachment)
Match the contentype of the attachment to the known mime types 
 | 
static String | 
AttachmentHelper.determineRelativeAttachmentUrl(AttachmentData resource)
Determine the resource URL for download/access for the given list item 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AttachmentData | 
AttachmentToAttachmentDataQueryResultConverter.create()  | 
| Modifier and Type | Method and Description | 
|---|---|
PageableList<AttachmentData> | 
AttachmentToAttachmentDataQueryResultConverter.convert(PageableList<Attachment> queryResult)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
AttachmentToAttachmentDataQueryResultConverter.convert(Attachment source,
       AttachmentData target)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AttachmentToAttachmentDataQueryResultConverter.sortByName(PageableList<AttachmentData> attachments)
Sort the attachments alphabetically by filename using the locale passed to the constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<AttachmentData> | 
DetailPostListItem.getAttachments()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
DetailPostListItem.setAttachments(Collection<AttachmentData> attachments)
Sets the attachments 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
UrlTool.renderAttachmentUrl(AttachmentData attachment)
Determine the relative attachment URL path for a resource 
 | 
String | 
UrlTool.renderAttachmentUrl(AttachmentData attachment,
                   boolean useAbsoluteUrl,
                   boolean staticResource)
Determine the resource URL for download/access for the given item 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static org.codehaus.jackson.node.ObjectNode | 
CreateBlogPostFeHelper.createAttachmentJSONObject(AttachmentData attachment)
Creates a JSON object that describes an attachment. 
 | 
Copyright © 2019 Communote team. All rights reserved.