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
-
public class FileUploadDao extends AbstractDao
Provides a DAO for the FileUpload entity.- See Also:
FileUpload
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description FileUploadDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileUpload
getFileUpload(Object id)
Return the file upload with the specified OIDList<FileUpload>
getFileUploadsForSubmission(Submission submission)
Return the list of file uploads for a submissionList<FileUpload>
getFileUploadsForVirusScan()
Return the list of file uploads that need to be virus scanned-
Methods 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
-
-
-
-
Method Detail
-
getFileUpload
public FileUpload getFileUpload(Object id)
Return the file upload with the specified OID- Parameters:
id
- the OID- Returns:
- the matching file upload, or null if not found
-
getFileUploadsForSubmission
public List<FileUpload> getFileUploadsForSubmission(Submission submission)
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
public List<FileUpload> getFileUploadsForVirusScan()
Return the list of file uploads that need to be virus scanned- Returns:
- the list of file uploads
-
-