Package com.bugyal.imentor.server

Examples of com.bugyal.imentor.server.ParticipantManager


      String email = name + "." + rs.nextString() + "@kawanan.com";

      List<String> hasSubjects = getRandomList();
      List<String> needSubjects = getRandomList();

      ParticipantManager participantManager = MentorManager.INSTANCE
          .getParticipantManager();
      Participant participant = participantManager.createParticipant(
          name, gender, getRandomLocation(), email, "100002992300278");

      participantManager.addHasKnowledge(participant, hasSubjects, 1,
          participant);
      participantManager.addNeedKnowledge(participant, needSubjects, 1,
          participant);

      if (r.nextFloat() < 0.1) {
        List<Participant> contacts = new ArrayList<Participant>();
        contacts.add(participant);
View Full Code Here

TOP

Related Classes of com.bugyal.imentor.server.ParticipantManager

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.