public class PhotoTaskDAO extends MediaTaskDAO
Constructor and Description |
---|
PhotoTaskDAO() |
Modifier and Type | Method and Description |
---|---|
PhotoTaskDetails |
getTask(java.lang.Integer backendId,
DataGroups dataGroups,
Limits limits,
java.lang.Long taskId) |
java.lang.Long |
insertTask(PhotoTaskDetails details) |
getMediaStatus, remove, updateMediaStatus
getBackendStatus, getBackendStatus, insertTask, updateTaskStatus, updateTaskStatus
getTransactionTemplate, setDataSource, setTnxManager
public PhotoTaskDAO()
public java.lang.Long insertTask(PhotoTaskDetails details) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
details
- java.lang.UnsupportedOperationException
- on unsupported task typejava.lang.IllegalArgumentException
- on bad task contentpublic PhotoTaskDetails getTask(java.lang.Integer backendId, DataGroups dataGroups, Limits limits, java.lang.Long taskId) throws java.lang.IllegalArgumentException
getTask
in class MediaTaskDAO
backendId
- dataGroups
- optional dataGroups filter, if not given, default backend-specific datagroups will be usedlimits
- optional limits filtertaskId
- java.lang.IllegalArgumentException
- on bad valuesCopyright © 2015 Tampere University of Technology, Pori Department.