question: @ RequestMapping ( value = "/{id}" , method = RequestMethod . DELETE ) @ ResponseBody public RestWrapper delete ( @ PathVariable ( "id" ) Integer processTemplateId , Principal principal ) { RestWrapper restWrapper = null ; try { processTemplateDAO . delete ( processTemplateId ) ; restWrapper = new RestWrapper ( null , RestWrapper . OK ) ; LOGGER . info ( "Record with ID:" + processTemplateId + " deleted from ProcessTemplate by User:" + principal . getName ( ) ) ; } catch ( MetadataException e ) { LOGGER . error ( e ) ; restWrapper = new RestWrapper ( e . getMessage ( ) , RestWrapper . ERROR ) ; } return restWrapper ; }
target:  This method calls proc DeleteProcess and deletes a record corresponding to processId passed.