public LdapUser updateLdapUser ( final LdapUser transientUser ) { final LdapUser user = getObjectById ( LdapUser . class , transientUser . getId ( ) ) ; pm . currentTransaction ( ) . begin ( ) ; user . setDN ( transientUser . getDN ( ) ) ; pm . currentTransaction ( ) . commit ( ) ; return pm . getObjectById ( LdapUser . class , user . getId ( ) ) ; }
Updates the specified LdapUser .