public void returnDeleteLowArchiveDialogValue(ReturnEvent event) {
   Integer deleteConfirm = (Integer) event.getReturnValue();
   if (deleteConfirm == 0) {
     try {
       addMultiMediaBean.setLowQualityFileName("");
       multiMedia.setLowQualityFile(null);
       multiMedia.setLowQualityFileSystemic(true);
     } catch (Exception e) {
       e.printStackTrace();
       ErrorReportingUtils.getInstance().reportError(e);
     }
   }
 }
 public void uploadLowArchive(ValueChangeEvent event) {
   try {
     UploadedFile file = (UploadedFile) event.getNewValue();
     if (file != null) {
       addMultiMediaBean.setLowQualityFileName(
           file.getFilename() + "(" + String.valueOf(file.getLength()) + " Bytes" + ")");
       MultiMediaFile mediaFile = CMSUtil.uploadFile(file);
       multiMedia.setLowQualityFile(mediaFile);
       uploading = true;
       multiMedia.setLowQualityFileSystemic(false);
     }
   } catch (IOException e) {
     e.printStackTrace();
   }
 }