public String updatesks() { me = (User) this.getSession().get("me"); skillService.updateSkillsbySkIds(me.getUid(), myskids); return "viewprofile"; }
public String listsks() { me = (User) this.getSession().get("me"); mysks = skillService.listSkillsbyUid(me.getUid()); return "listsks"; }
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"; }