@Override
public Map<String, Object> getJournalEntryById(Integer id)
{
Map<String, Object> entry = new HashMap<String, Object>();
JournalEntry journalEntry = journalDAO.getById(id);
addJournalEntryAttributes(journalEntry, entry);
if (journalEntry.getExtendedInfoType() != null)
{
JournalExtender je = journalExtenders.get(journalEntry.getExtendedInfoType());
if (je != null)
{
je.addJournalEntryAttributes(entry);
}