Package com.avoka.fc.core.dao
Class FileUploadDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.FileUploadDao
Provides a DAO for the FileUpload entity.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFileUpload
(Object id) Return the file upload with the specified OIDgetFileUploadsForSubmission
(Submission submission) Return the list of file uploads for a submissionReturn the list of file uploads that need to be virus scannedMethods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
Constructor Details
-
FileUploadDao
public FileUploadDao()
-
-
Method Details
-
getFileUpload
Return the file upload with the specified OID- Parameters:
id
- the OID- Returns:
- the matching file upload, or null if not found
-
getFileUploadsForSubmission
Return the list of file uploads for a submission- Parameters:
submission
- the non-null submission object- Returns:
- the list of file uploads, or null if the submission has been marked as deleted
-
getFileUploadsForVirusScan
Return the list of file uploads that need to be virus scanned- Returns:
- the list of file uploads
-