Package nl.oneday.data.domain.users

Examples of nl.oneday.data.domain.users.ProfileImage


    UserDetails userDetails = getCurrentUserDetails();
    User user = userService.getUserByUserName(userDetails.getUsername());
    JSONObject results = new JSONObject();
    File file = fileService.find(imageId);

      ProfileImage profileImage = new ProfileImage();
      profileImage.setFile(file);
      results.put("success", profileImageService.saveProfileImage(profileImage));

    return results.toJSONString();
  }
View Full Code Here

TOP

Related Classes of nl.oneday.data.domain.users.ProfileImage

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.