Package | Description |
---|---|
com.communote.plugins.api.rest.resource.note | |
com.communote.plugins.api.rest.servlet |
Modifier and Type | Method and Description |
---|---|
static NoteResource |
NoteBuildHelper.buildNoteResource(NoteData note)
Create a resource object for a userListItem to send back only the values specified by the
webservice definition
|
Modifier and Type | Method and Description |
---|---|
static List<NoteResource> |
NoteResourceHelper.sortAndLimitNotes(List<NoteResource> notesToSort,
Integer maxCount)
Sort the notes by date in ascending order and return a subset that contains at most maxCount
notes, starting with the oldest
|
Modifier and Type | Method and Description |
---|---|
static void |
NoteResourceHelper.buildNoteResourceAttachments(NoteData note,
NoteResource newNoteResource)
Build the attachment part of the note
|
static void |
NoteResourceHelper.buildNoteResourceNotifications(NoteData note,
NoteResource newNoteResource)
Build the notification part of the note
|
int |
NoteResourceHelper.NoteResourceComparator.compare(NoteResource o1,
NoteResource o2)
Compares notes via their creation date.
|
Modifier and Type | Method and Description |
---|---|
static List<NoteResource> |
NoteResourceHelper.sortAndLimitNotes(List<NoteResource> notesToSort,
Integer maxCount)
Sort the notes by date in ascending order and return a subset that contains at most maxCount
notes, starting with the oldest
|
Modifier and Type | Method and Description |
---|---|
static NoteResource[] |
RequestListParser.getArrayNoteResource(List<String> strList)
Parses a NoteResource list to a NoteResource array.
|
Copyright © 2019 Communote team. All rights reserved.