|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.tutor.control.TutorialControl
public class TutorialControl
Tutorial control singleton Handle tutorial tasks.
| Field Summary | |
|---|---|
protected static Category |
log
|
| Method Summary | |
|---|---|
OJDocument |
achieveTask(String userId,
String pedaObj,
List contentIds)
Return a course that helps the learner to achieve the given pedagogical objective on the content identifiers. |
OJDocument |
achieveTask(String userId,
String pedaObj,
List contentIds,
List insertedItems)
Return a course that helps the learner to achieve the given pedagogical objective on the content identifiers. |
OJDocument |
achieveTask(String userId,
String pedaObj,
List contentIds,
List insertedItems,
String sessionId,
String clientName)
Return a course that helps the learner to achieve the given pedagogical objective on the content identifiers. |
OJDocument |
achieveTask(String userId,
String pedaObj,
Vector contentIds,
String sessionId,
String clientName)
Return a course that helps the learner to achieve the given pedagogical objective on the content identifiers. |
OJDocument |
achieveTask(String userId,
Task task)
Return a course that helps the learner to achieve the given pedagogical task. |
OJDocument |
achieveTask(String userId,
Task task,
List insertedItems,
String sessionId,
String clientName)
Return a course that helps the learner to achieve the given pedagogical task. |
OJDocument |
achieveTask(String userId,
Task task,
Map initialWorldState,
String sessionId,
String clientName)
Return a course that helps the learner to achieve the given pedagogical task. |
static TutorialControl |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Category log
| Method Detail |
|---|
public static TutorialControl getInstance()
public OJDocument achieveTask(String userId,
Task task)
userId - the user identifiertask - the pedagogical task to achieve
public OJDocument achieveTask(String userId,
String pedaObj,
List contentIds)
userId - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objects
public OJDocument achieveTask(String userId,
String pedaObj,
List contentIds,
List insertedItems)
insertedItems are treated as being
already inserted in the course.
userId - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objectsinsertedItems - a list of items to be marked as inserted in the world state
public OJDocument achieveTask(String userId,
String pedaObj,
Vector contentIds,
String sessionId,
String clientName)
sessionId and clientName are used for providing
additional information when the
TutorialInteractionEvent is published. They
can be any string but for better logging purposes should consist of the session id
and the classname of the calling class.
userId - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objectssessionId - the identifier of the currents sessionclientName - the classname of the component calling the tutorial component
public OJDocument achieveTask(String userId,
String pedaObj,
List contentIds,
List insertedItems,
String sessionId,
String clientName)
insertedItems are treated as being
already inserted in the course.
The parameters sessionId and clientName are used for providing
additional information when the
TutorialInteractionEvent is published. They
can be any string but for better logging purposes should consist of the session id
and the classname of the calling class.
userId - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objectsinsertedItems - a list of items to be marked as inserted in the world statesessionId - the identifier of the currents sessionclientName - the classname of the component calling the tutorial component
public OJDocument achieveTask(String userId,
Task task,
List insertedItems,
String sessionId,
String clientName)
insertedItems are treated as being
already inserted in the course.
The parameters sessionId and clientName are used for providing
additional information when the
TutorialInteractionEvent is published. They
can be any string but for better logging purposes should consist of the session id
and the classname of the calling class.
userId - the user identifiertask - TaskinsertedItems - a list of items to be marked as inserted in the world statesessionId - the identifier of the currents sessionclientName - the classname of the component calling the tutorial component
public OJDocument achieveTask(String userId,
Task task,
Map initialWorldState,
String sessionId,
String clientName)
initialWorldState is inserted in the initial world state of the planner.
The parameters sessionId and clientName are used for providing
additional information when the
TutorialInteractionEvent is published. They
can be any string but for better logging purposes should consist of the session id
and the classname of the calling class.
userId - the user identifiertask - TaskinitialWorldState - the initial world statesessionId - the identifier of the currents sessionclientName - the classname of the component calling the tutorial component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||