Package qurtext.client

Examples of qurtext.client.ClientUser


  public ClientUser getCurrentUser(String destinationURL) {
    if (userService.isUserLoggedIn()) {
      User user = userService.getCurrentUser();
      Profile profile = profileFactory.getProfile(user.getEmail());
      return new ClientUser(user.getEmail(),userService.createLogoutURL(destinationURL), userService.isUserAdmin() || user.getEmail().equals("aburizal"+"@gmail.com"), profile.getSectionRead(), profile.getCurrentHistory());
    } else {
      return new ClientUser(null,userService.createLoginURL(destinationURL), false, null, null);
    }
  }
View Full Code Here

TOP

Related Classes of qurtext.client.ClientUser

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.