Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
  public String select(final TeamEntity teamEntity) {
    m_selectedTeam = new TeamBean(m_teamService.getTeam(teamEntity.getId()));

    return VIEW_ID;
  }