private static final long serialVersionUID = 1L;
@Override
protected List<Entry> load() {
JcrNode tile = (JcrNode) getDefaultModelObject();
JcrNodeIterator entryNodes = tile.getNodes("entry");
ArrayList<Entry> entries = new ArrayList<Entry>((int) entryNodes.getSize());
while (entryNodes.hasNext()) {
JcrNode entryNode = entryNodes.nextNode();
Entry entry = new Entry();
entry.name = entryNode.getProperty("name").getString();
entry.message = entryNode.getProperty("message").getString();
entry.timestamp = new Date(entryNode.getProperty("timestamp").getLong());
entries.add(entry);