public void deleteUploadFile(HttpServletRequest request,
                               UploadFile uploadFile) {
    try {
//      removeImageFromCache(uploadFile.getId());
      imageFilter.deleteUploadFile(request, uploadFile);
    } catch (Exception ex) {
      Debug.logError("[JdonFramework] deleteUploadFile error" + ex, module);
    }

  }
public void deleteUploadFile ( HttpServletRequest request , UploadFile uploadFile ) { try { imageFilter . deleteUploadFile ( request , uploadFile ) ; } catch ( Exception ex ) { Debug . logError ( "[JdonFramework] deleteUploadFile error" + ex , module ) ; } }
根据UploadFile的id删除UploadFile实例
@param request
@param id