class BusinessObjectDefinitionDescriptionSuggestionRestController extends HerdBaseController {

    @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX +
        "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.PUT, consumes = {
        "application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_PUT)
    public BusinessObjectDefinitionDescriptionSuggestion updateBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
        @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId,
        @RequestBody BusinessObjectDefinitionDescriptionSuggestionUpdateRequest request)
    {
        return businessObjectDefinitionDescriptionSuggestionService.updateBusinessObjectDefinitionDescriptionSuggestion(
            new BusinessObjectDefinitionDescriptionSuggestionKey(namespace, businessObjectDefinitionName, userId), request);
    }

}