Package uk.org.microbase.gwt.client.notification

Examples of uk.org.microbase.gwt.client.notification.MessageGWT


      List<Message> messages = dao.listMessagesInTimestampOrder(offset, limit);
     
      List<MessageGWT> gwtMessages = new ArrayList<MessageGWT>(messages.size());
      for (Message message : messages)
      {
        MessageGWT gwtMessage = new MessageGWT();
        gwtMessage.setExpiresTimestamp(message.getExpiresTimestamp());
        gwtMessage.setGuid(message.getGuid());
        gwtMessage.setPublishedTimestamp(message.getPublishedTimestamp());
        gwtMessage.setPublisherGuid(message.getPublisherGuid());
        gwtMessage.setTopicGuid(message.getTopicGuid());
       
        gwtMessages.add(gwtMessage);
      }
      return gwtMessages;
    }
View Full Code Here

TOP

Related Classes of uk.org.microbase.gwt.client.notification.MessageGWT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.