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