Esempio n. 1
0
  public String updatesks() {

    me = (User) this.getSession().get("me");

    skillService.updateSkillsbySkIds(me.getUid(), myskids);

    return "viewprofile";
  }
Esempio n. 2
0
  public String listsks() {

    me = (User) this.getSession().get("me");

    mysks = skillService.listSkillsbyUid(me.getUid());

    return "listsks";
  }
Esempio n. 3
0
  public String selectsks() {

    allsksmap = new HashMap();

    myskids = new ArrayList();

    List<Skill> allsks = skillService.listSkills();

    me = (User) this.getSession().get("me");

    mysks = skillService.listSkillsbyUid(me.getUid());

    for (Skill sk : allsks) {
      allsksmap.put(sk.getSkid(), sk.getSk_name());
    }

    for (Skill sk : mysks) {
      myskids.add(sk.getSkid());
    }

    return "sesks";
  }