public abstract class MediaTaskDAO extends TaskDAO
Constructor and Description |
---|
MediaTaskDAO() |
Modifier and Type | Method and Description |
---|---|
<T extends Media> |
getMediaStatus(java.util.Collection<T> mediaList)
retrieves the media status information for the list of media-items if available
|
abstract AbstractTaskDetails |
getTask(java.lang.Integer backendId,
DataGroups dataGroups,
Limits limits,
java.lang.Long taskId) |
void |
remove(java.util.Collection<java.lang.String> guids)
Removes the list of GUIDs from all tasks
|
<T extends Media> |
updateMediaStatus(java.util.Collection<T> media,
java.lang.Long taskId) |
getBackendStatus, getBackendStatus, insertTask, updateTaskStatus, updateTaskStatus
getTransactionTemplate, setDataSource, setTnxManager
public MediaTaskDAO()
public <T extends Media> void updateMediaStatus(java.util.Collection<T> media, java.lang.Long taskId)
media
- list of media itemstaskId
- optional taskId. This should be (if given) the id of the most recent task.public void remove(java.util.Collection<java.lang.String> guids)
guids
- public abstract AbstractTaskDetails getTask(java.lang.Integer backendId, DataGroups dataGroups, Limits limits, java.lang.Long taskId) throws java.lang.IllegalArgumentException
public <T extends Media> java.util.Collection<T> getMediaStatus(java.util.Collection<T> mediaList)
mediaList
- the list to which the status information is to be set. If previous information exists, it is overridden.Copyright © 2015 Tampere University of Technology, Pori Department.