question: @ RequestMapping ( value = "/{id}" , method = RequestMethod . DELETE ) @ ResponseBody public RestWrapper delete ( @ PathVariable ( "id" ) Integer appDeploymentStatusId , Principal principal ) { RestWrapper restWrapper = null ; try { appDeploymentQueueStatusDAO . delete ( appDeploymentStatusId . shortValue ( ) ) ; restWrapper = new RestWrapper ( null , RestWrapper . OK ) ; LOGGER . info ( RECORDWITHID + appDeploymentStatusId + " deleted from AppDeploymentQueueStatus by User:" + principal . getName ( ) ) ; } catch ( Exception e ) { LOGGER . error ( e ) ; return new RestWrapper ( e . getMessage ( ) , RestWrapper . ERROR ) ; } return restWrapper ; }
target:  This method calls DeleteDeployStatus and fetches a record corresponding to the deployStatusId passed.