Package models

Examples of models.InternshipFamiliar


        Profile.findByType(profile));
    user_profile.insert();
  }
 
  private void createFamiliarRelation(User internship, User familiar) {
    InternshipFamiliar internshipFamiliar = new InternshipFamiliar(internship, familiar);
    internshipFamiliar.insert();
  }
View Full Code Here


    }
    familiar.insert();
    UserProfile user_profile = new UserProfile(familiar,
        Profile.findByType(Profile.ProfileType.FAMILIAR));
    user_profile.insert();
    InternshipFamiliar internshipFamiliar = new InternshipFamiliar(internal, familiar);
    internshipFamiliar.insert();
    response.status = StatusCode.CREATED;
    Map map = new HashMap();
    map.put("id", familiar.id);
    String url = Router.reverse("api.Users.get", map).url;// GET /users/1541
    response.setHeader("location", url);
View Full Code Here

TOP

Related Classes of models.InternshipFamiliar

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.