public class SensorTaskDAO extends service.tut.pori.tasks.TaskDAO
Constructor and Description |
---|
SensorTaskDAO() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createTask(SensorTask task) |
java.lang.String |
createTask(service.tut.pori.tasks.datatypes.Task task) |
SensorTask |
getTask(java.lang.Long backendId,
core.tut.pori.http.parameters.DataGroups dataGroups,
core.tut.pori.http.parameters.Limits limits,
java.lang.String taskId) |
void |
removeTask(java.lang.String taskId) |
boolean |
updateTask(SensorTask task) |
boolean |
updateTask(service.tut.pori.tasks.datatypes.Task task) |
getBackends, getDAOClass, getTaskList, getTaskPermissions, statusUpdated
public SensorTaskDAO()
public java.lang.String createTask(service.tut.pori.tasks.datatypes.Task task)
createTask
in class service.tut.pori.tasks.TaskDAO
public java.lang.String createTask(SensorTask task)
task
- public boolean updateTask(service.tut.pori.tasks.datatypes.Task task) throws java.lang.IllegalArgumentException
updateTask
in class service.tut.pori.tasks.TaskDAO
java.lang.IllegalArgumentException
public boolean updateTask(SensorTask task)
task
- public SensorTask getTask(java.lang.Long backendId, core.tut.pori.http.parameters.DataGroups dataGroups, core.tut.pori.http.parameters.Limits limits, java.lang.String taskId)
getTask
in class service.tut.pori.tasks.TaskDAO
public void removeTask(java.lang.String taskId)
removeTask
in class service.tut.pori.tasks.TaskDAO
Copyright © 2015-2018 Tampere University of Technology, Pori Department.