get / surveyfirsts / : id - > get the `` id '' surveyfirst . concode_field_sep ReportingService reportingService concode_elem_sep SurveyFirstRepository surveyFirstRepository concode_elem_sep SurveyResultsRepository resultsRepository concode_elem_sep Logger log concode_elem_sep SequenceService sequenceService concode_field_sep ResponseEntity<SurveyResults> loadRealTimeReport concode_elem_sep ResponseEntity<List<SurveyFirst>> getAll concode_elem_sep ResponseEntity<SurveyFirst> create concode_elem_sep ResponseEntity<SurveyFirst> update concode_elem_sep void deletebyName concode_elem_sep void delete
ResponseEntity < SurveyFirst > function ( @ PathVariable String arg0 ) { log . debug ( "srini_string" , arg0 ) ; return Optional . ofNullable ( surveyFirstRepository . findOne ( arg0 ) ) . map ( surveyFirst -> new ResponseEntity < > ( surveyFirst , HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . NOT_FOUND ) ) ; }