|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.tutor.XmlrpcTutorialServer
public class XmlrpcTutorialServer
| Field Summary | |
|---|---|
static String |
NO_COURSE
No course is found for the given Task. |
static String |
TASK_REJECTED
The task is in current envirement not acceptable. |
| Constructor Summary | |
|---|---|
XmlrpcTutorialServer()
|
|
| Method Summary | |
|---|---|
String |
handleTask(String userId,
String pedaObj,
Vector contentIds)
Return a course that helps the learner to achieve the given pedagogical task. |
String |
handleTask(String userID,
String pedaObj,
Vector contentIds,
String session,
String source)
Return a course that helps the learner to achieve the given pedagogical task. |
String |
handleTask(String userID,
String pedaObj,
Vector contentIds,
Vector idsToIgnore,
String session,
String source)
Return a course that helps the learner to achieve the given pedagogical task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NO_COURSE
public static final String TASK_REJECTED
| Constructor Detail |
|---|
public XmlrpcTutorialServer()
| Method Detail |
|---|
public String handleTask(String userId,
String pedaObj,
Vector contentIds)
Let the TutorialControl generate a course (OJDocument) achieving the given pedagogical objective for the contentIdentifiers, and serialise it to string, and return the string.
userId - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objects
public String handleTask(String userID,
String pedaObj,
Vector contentIds,
String session,
String source)
Let the TutorialControl generate a course (OJDocument) achieving the given
pedagogical objective for the contentIdentifiers, and serialise it to string,
and return the string. The parameters session and source 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 objectssession - the identifier of the currents sessionsource - the classname of the component calling the tutorial component
public String handleTask(String userID,
String pedaObj,
Vector contentIds,
Vector idsToIgnore,
String session,
String source)
Let the TutorialControl generate a course (OJDocument) achieving the given
pedagogical objective for the contentIdentifiers, and serialise it to string,
and return the string. The parameters session and source 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.
idsToIgnore are not returned as a result. Use this, for instance, if your book contains
examples and you don't want to receive them as a result of the course generation.
userID - the user identifierpedaObj - the pedagogical objective (e.g., discover)contentIds - the identifiers of the goal learning objectsidsToIgnore - identifiers of learning objects that should be excluded as a resultsession - the identifier of the currents sessionsource - 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 | |||||||||