Package com.changestuffs.server.persistence.beans

Examples of com.changestuffs.server.persistence.beans.Message


    return sender+SEPARATOR+receiver;
  }
 
  @Transactional
  public void addMessage(SendMessage message, String sender){
    Message bean = new Message();
    bean.setUserIdSenderUserIdReceiver(buildUserIdSenderUserIdReceiver(sender, message.getEmail()));
    bean.setDate(new Date());
    bean.setBody(message.getMessage());
    model.persist(bean);
    log.info("Saving "+bean);
  }
View Full Code Here

TOP

Related Classes of com.changestuffs.server.persistence.beans.Message

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.