read a sample by its id concode_field_sep ProjectService projectService concode_elem_sep SampleService sampleService concode_elem_sep String REL_PROJECT concode_elem_sep String REL_PROJECT_SAMPLES concode_elem_sep String REL_PROJECT_SAMPLE concode_field_sep ModelMap copySampleToProject concode_elem_sep ModelMap updateSample concode_elem_sep ModelAndView getProjectSampleBySequencerId concode_elem_sep ModelMap removeSampleFromProject concode_elem_sep ModelMap addSampleToProject concode_elem_sep ModelMap getProjectSamples concode_elem_sep void addLinksForSample concode_elem_sep ModelMap getProjectSample
ModelMap function ( @ PathVariable Long arg0 ) { ModelMap loc0 = new ModelMap ( ) ; Sample loc1 = sampleService . read ( arg0 ) ; addLinksForSample ( Optional . empty ( ) , loc1 ) ; loc0 . addAttribute ( RESTGenericController . RESOURCE_NAME , loc1 ) ; return loc0 ; }