public String updateTeam() { if (m_selectedTeam != null) { m_selectedTeam.updateTeam(m_personService); m_teamService.storeTeam(m_selectedTeam.getTeam()); StatusMessages.instance().add("Team information updated"); } return VIEW_ID; }
public String select(final TeamEntity teamEntity) { m_selectedTeam = new TeamBean(m_teamService.getTeam(teamEntity.getId())); return VIEW_ID; }