Package com.metadot.book.connectr.shared

Examples of com.metadot.book.connectr.shared.UserAccountDTO


  public static UserAccountDTO toDTO(UserAccount user) {
    if (user == null) {
      return null;
    }
    UserAccountDTO accountDTO = new UserAccountDTO(user.getEmailAddress(), user.getName(), user.getUniqueId());
    accountDTO.setChannelId(user.getChannelId());
    return accountDTO;
  }
View Full Code Here


    LoginService {
  public final static String CHANNEL_ID = "channel_id";
 
  @Override
  public UserAccountDTO getLoggedInUserDTO() {
    UserAccountDTO userDTO;
    HttpSession session = getThreadLocalRequest().getSession();

    UserAccount u = LoginHelper.getLoggedInUser(session, null);
    if (u == null)
      return null;
View Full Code Here

TOP

Related Classes of com.metadot.book.connectr.shared.UserAccountDTO

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.