question: this method is used for updating an existing entity . if the entity does not exist in the datastore , an exception is thrown . it uses http put method . concode_field_sep PlaceHolder placeHolder concode_field_sep PersistenceManager getPersistenceManager concode_elem_sep CollectionResponse<Calendar> listCalendar concode_elem_sep Calendar removeCalendar concode_elem_sep boolean containsCalendar concode_elem_sep Calendar insertCalendar concode_elem_sep Calendar getCalendar
target: Calendar function ( Calendar arg0 ) { PersistenceManager loc0 = getPersistenceManager ( ) ; try { if ( ! containsCalendar ( arg0 ) ) { throw new EntityNotFoundException ( "srini_string" ) ; } loc0 . makePersistent ( arg0 ) ; } finally { loc0 . close ( ) ; } return arg0 ; }