public String edit() { project = pb.find(project); if (isDetail == true) { actionName = "project!detail"; } else { actionName = "project!edited"; } organization = project.getUser().getOrganization(); devLangs = dlb.findDevLangByOrg(organization); return "edit"; }
public String delete() { pb.delete(project); return list(); }
public String edited() { pb.update(project); return list(); }
public String listProjectsForSession() { projects = pb.getProjectsByUser(user); return INPUT; }
public String listProjects() { projects = pb.getProjectsByUser(user); return SUCCESS; }
public String list() { projects = pb.getProjectsByUser(user); return "list"; }
public String add() { user = ub.find(user); project.setUser(user); pb.create(project); return list(); }