use of org.olat.course.nodes.gta.model.TaskImpl in project openolat by klemens.
the class GTAManagerImpl method allowResetTask.
@Override
public Task allowResetTask(Task task, Identity allower, GTACourseNode cNode) {
TaskImpl taskImpl = (TaskImpl) task;
taskImpl.setAllowResetDate(new Date());
taskImpl.setAllowResetIdentity(allower);
return updateTask(task, task.getTaskStatus(), cNode, Role.coach);
}
Aggregations