/**
* read all messages from the database
*/
private void initMessageList()
{
MessageController msgController = PluginContext.instance().getMessageController();
UserAccount account = UserSession.getCurrentAccount();
messages = new ArrayList<MessageTO>();
if( account != null)
{
messages = msgController.findAllMessages(account.getId());
}
else
{
LOG.debug("account not available in current session");
}