private static Note[] toClientNotes(Collection<Store.Note> notes) {
final Note[] clients = new Note[notes.size()];
int i = 0;
for (Store.Note n : notes) {
clients[i++] = new Note(KeyFactory.keyToString(n.getKey()), n.getX(), n
.getY(), n.getWidth(), n.getHeight(), n.getContent(), n
.getLastUpdatedAt(), n.getAuthorName(), n.getAuthorEmail());
}
return clients;
}