@RequestMapping(value = "/combinations/{id}", method = RequestMethod.PUT)
 @PreAuthorize("hasRole('" + PermissionConstants.MANAGE_COMPONENT_COMBINATIONS + "')")
 public ResponseEntity updateProductTypeCombination(
     HttpServletResponse response,
     @RequestBody ProductTypeCombinationBackingForm productTypeCombinationBackingForm,
     @PathVariable Integer id) {
   ProductTypeCombination productTypeCombination =
       productTypeCombinationBackingForm.getProductTypeCombination();
   productTypeCombination.setId(id);
   productTypeRepository.saveComponentTypeCombination(productTypeCombination);
   return new ResponseEntity(HttpStatus.NO_CONTENT);
 }
 public void setProductTypeCombination(String productTypeCombinationId) {
   if (StringUtils.isBlank(productTypeCombinationId)) {
     productTypeCombination = null;
   } else {
     productTypeCombination = new ProductTypeCombination();
     try {
       productTypeCombination.setId(Integer.parseInt(productTypeCombinationId));
     } catch (Exception ex) {
       ex.printStackTrace();
     }
   }
 }
 public String getProductTypeCombination() {
   if (productTypeCombination == null || productTypeCombination.getId() == null) return "";
   else return productTypeCombination.getId().toString();
 }