|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.ims.qti.process.FilePersister
public class FilePersister
| Constructor Summary | |
|---|---|
FilePersister(Identity subj,
java.lang.String resourcePathInfo)
Assuming: only one test can be persisted per combination of a dlPointer and a SubjectName, = a certain test for a specific user can only be persisted at one place FIXME:pb:a identity and repositoryEntryKey are not enough as one test may be reference n times from within one course. |
|
| Method Summary | |
|---|---|
void |
cleanUp()
|
static void |
createResultsReporting(org.dom4j.Document doc,
Identity subj,
java.lang.String type,
long aiid)
Persist results for this user/aiid as an XML document. |
static void |
deleteUserData(Identity identity)
Delete all qti data dirs for certain user. |
void |
persist(java.lang.Object o,
java.lang.String info)
serialize the current test in case of a stop and later resume (e.g. |
static org.dom4j.Document |
retreiveResultsReporting(Identity subj,
java.lang.String type,
long aiid)
Retreive results for this user/aiid |
java.lang.Object |
toRAM()
returns (at the moment) only AssessmentInstances, see persist() |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilePersister(Identity subj,
java.lang.String resourcePathInfo)
subj - the userrepositoryPath - path information e.g. | Method Detail |
|---|
public void persist(java.lang.Object o,
java.lang.String info)
persist in interface PersisterPersister.persist(Object, String)public java.lang.Object toRAM()
toRAM in interface Persisterpublic void cleanUp()
cleanUp in interface Persister
public static void createResultsReporting(org.dom4j.Document doc,
Identity subj,
java.lang.String type,
long aiid)
doc - type - info -
public static org.dom4j.Document retreiveResultsReporting(Identity subj,
java.lang.String type,
long aiid)
type - The type of results
public static void deleteUserData(Identity identity)
identity -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||