public EventServiceLog updateEventServiceLog ( EventServiceLog eventServiceLog ) { if ( eventServiceLog != null ) { final EventServiceLog log = getObjectById ( EventServiceLog . class , eventServiceLog . getId ( ) ) ; if ( log != null ) { pm . currentTransaction ( ) . begin ( ) ; log . setCompleted ( new Timestamp ( new Date ( ) . getTime ( ) ) ) ; pm . currentTransaction ( ) . commit ( ) ; return pm . getObjectById ( EventServiceLog . class , log . getId ( ) ) ; } } return null ; }
Updates a EventServiceLog .