return rowList;
}
private InboxPageRow createInboxPageRow( InboxEntry inboxEntry,
InboxPageRequest request ) {
InboxPageRow row = null;
if ( request.getInboxName().equals( InboxServiceImpl.INCOMING_ID ) ) {
InboxIncomingPageRow tr = new InboxIncomingPageRow();
tr.setNote( inboxEntry.getNote() );
tr.setPath( makePath( inboxEntry.getItemPath() ) );
tr.setTimestamp( new Date( inboxEntry.getTimestamp() ) );
tr.setFrom( inboxEntry.getFrom() );
row = tr;
} else {
InboxPageRow tr = new InboxPageRow();
tr.setNote( inboxEntry.getNote() );
tr.setPath( makePath( inboxEntry.getItemPath() ) );
tr.setTimestamp( new Date( inboxEntry.getTimestamp() ) );
row = tr;
}
return row;
}