4require_once 
'Modules/TestQuestionPool/classes/class.ilAssQuestionProcessLocker.php';
 
   53            array(
'name' => 
'qpl_questions', 
'sequence' => 
false),
 
   54            array(
'name' => 
'tst_tests', 
'sequence' => 
false),
 
   55            array(
'name' => 
'tst_active', 
'sequence' => 
false),
 
   56            array(
'name' => 
'ass_log', 
'sequence' => 
true)
 
   66            array(
'name' => 
'tst_solutions', 
'sequence' => 
true)
 
   76            array(
'name' => 
'tst_test_result', 
'sequence' => 
true)
 
   91        $this->atom_query = $this->db->buildAtomQuery();
 
   92        foreach ($tables as $table) {
 
   93            $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
 
  102        $this->atom_query = $this->db->buildAtomQuery();
 
  104            $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
 
  113        $this->atom_query = $this->db->buildAtomQuery();
 
  114        foreach (array_merge(
 
  118            $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
 
  127        $this->atom_query = $this->db->buildAtomQuery();
 
  128        $this->atom_query->addTableLock(
'tst_result_cache');
 
  129        $this->atom_query->addTableLock(
'tst_test_result')->lockSequence(
true);
 
  130        $this->atom_query->addTableLock(
'tst_solutions')->lockSequence(
true);
 
  138        if ($this->atom_query) {
 
  142            $this->atom_query->run();
 
  147        $this->atom_query = 
null;
 
An exception for terminatinating execution or to throw for unit testing.
getTablesUsedDuringAssessmentLog()
__construct(ilDBInterface $db)
setAssessmentLogEnabled($assessmentLogEnabled)
onBeforeExecutingUserQuestionResultUpdateOperation()
{}
onBeforeExecutingUserSolutionAdoptOperation()
{}
onBeforeExecutingUserTestResultUpdateOperation()
{}
getTablesUsedDuringResultUpdate()
onBeforeExecutingUserSolutionUpdateOperation()
{}
getTablesUsedDuringSolutionUpdate()
executeOperation(callable $operation)
{}