LessonClass.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Revert some unnecessary package name changes

  1. … 464 more files in changeset.
LDEV-5440 Refactor packages of imported classes

  1. … 481 more files in changeset.
LDEV-5440 Rewrite config files and library references

  1. … 955 more files in changeset.
LDEV-4411 Make relation from Lesson to LessonClass unidirectional

Hibernate can not lazy load properties connected with OneToOne

relationship.

  1. … 1 more file in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 170 more files in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 170 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

  1. … 59 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 782 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-2191 Can now remove staff/learners from a started lesson

  1. … 7 more files in changeset.
LDEV-750: Adding insert sequence into sequence functionality. Basic functionality done - still yet to do the Flash side and some security checking.

  1. … 35 more files in changeset.
Got the number of learners/staff added to a group wrong.

LDEV-1042: Allow users to be added to staff group and learner group in a lesson class after the lesson has started. Code has been written for both the LAMS monitoring interface + integration. Neither set of code is tested yet - need the clients to test it.

  1. … 7 more files in changeset.
Fixed bug where user wasn't added to lesson class properly if they were already in the staff group. Also tried to eliminate some lazy loading errors in addStaffToLesson and addLearnerToLesson but wasn't able to eliminate the error.

  1. … 4 more files in changeset.
Added methods to add a user to the lesson class on the fly

  1. … 6 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Added security to the monitoring calls - the calls to update a lesson now check that the user either the owner of the lesson or a staff member for the lesson.

  1. … 11 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Missed the "version 2.0" the previous check in

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Got the lines in the wrong order in the last check in.

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions.

  1. … 261 more files in changeset.
More changes to suit Hibernate 3

  1. … 32 more files in changeset.
random grouping implemented and tested

  1. … 9 more files in changeset.
get helper function to get group from activity against learner. chagne visiability of isLearnerGroup(group)

  1. … 6 more files in changeset.
bugs for getting all learners in a class fixed. Refactored the getLearners to template method pattern

  1. … 5 more files in changeset.
tool session hibernate object and mapping file corrected. NonGroupedToolSession creation and deletion process tested.

  1. … 10 more files in changeset.
refactor part of the constructor to creation method. getNextOrder for new group added

  1. … 6 more files in changeset.
Replaced lessons with lesson

*** empty log message ***

  1. … 175 more files in changeset.