* @param context
* @param metadataId
* @param fileName
*/
private void storeFileUploadRequest(ServiceContext context, int metadataId, String fileName, double fileSize) {
MetadataFileUploadRepository repo = context.getBean(MetadataFileUploadRepository.class);
MetadataFileUpload metadataFileUpload = new MetadataFileUpload();
metadataFileUpload.setMetadataId(metadataId);
metadataFileUpload.setFileName(fileName);
metadataFileUpload.setFileSize(fileSize);
metadataFileUpload.setUploadDate(new ISODate().toString());
metadataFileUpload.setUserName(context.getUserSession().getUsername());
repo.save(metadataFileUpload);
}