Interface IUploadVerificationBean
-
- All Known Implementing Classes:
UploadVerificationBean
public interface IUploadVerificationBeanDeclares functionality for upload verification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisUnsafe(org.primefaces.model.file.UploadedFile uploadedFile, UserPortalViewContext userPortalViewCtx, FormRecordModel formRecordModel)Checks whether the provided upload file has been classified as 'unsafe' by upstream checks (e.g.
-
-
-
Method Detail
-
isUnsafe
boolean isUnsafe(org.primefaces.model.file.UploadedFile uploadedFile, UserPortalViewContext userPortalViewCtx, FormRecordModel formRecordModel)Checks whether the provided upload file has been classified as 'unsafe' by upstream checks (e.g. malware detection or content type verification).- Parameters:
uploadedFile- the uploaded file to be checkeduserPortalViewCtx- the user portal's view contextformRecordModel- the related form record data- Returns:
trueif the upload file is not safe, otherwisefalse.
-
-