public Team updateTeam ( final Team transientTeam ) { final Team team = getObjectByUuid ( Team . class , transientTeam . getUuid ( ) ) ; pm . currentTransaction ( ) . begin ( ) ; team . setName ( transientTeam . getName ( ) ) ; //todo assign permissions pm . currentTransaction ( ) . commit ( ) ; return pm . getObjectById ( Team . class , team . getId ( ) ) ; }
Updates the specified Team .