WorkspaceFolder.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Rewrite config files and library references

  1. … 955 more files in changeset.
LDEV-4120 Prevent cut&paste folder into itself

  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-3773: Remove Workspace and WorkspaceWorkspaceFolder entities. Link WorkspaceFolders directly to User and Organisation. General clean up.

  1. … 19 more files in changeset.
LDEV-3773: Remove Workspace and WorkspaceWorkspaceFolder entities. Link WorkspaceFolders directly to User and Organisation. General clean up.

  1. … 21 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-2926 * removed XDoclet tags from Java classes that generate them improperly and thus already possess static .hbm.xml files. * removed static .hbm.xml files in cases when they can be produced using Xdoclet information

  1. … 50 more files in changeset.
LDEV-2107 Added public folder to workspace to enable saving designs/files to a shared public folder resource (across the server).

  1. … 12 more files in changeset.
LDEV-1675: Improving the toString() to include the name - makes log messages more meaningful.

LDEV-1146: Increase login field length to 255. Also increased the workspace folder name to 255 as found that it wasn't long enough for a user with two very long names, while testing the login field changes.

  1. … 9 more files in changeset.
add an addChild method to fix a hibernate problem in workspaceManagementService

Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Added programatically controlled join class for the many-to-many relationship between workspace and workspace folder. Just can't seem to get Hibernate to create the record when we do it using Hibernate's many-to-many.

This should fix the problem with the folder for a new organisation not appearing in the authoring module.

  1. … 12 more files in changeset.
Genericising the relationship between folders and workspaces - now one folder can be in many workspaces. Problem with the code though - when run from junit the relationship is set up okay, but when run in JBOSS the lams_workspace_workspace_folder records are not created.

  1. … 33 more files in changeset.
mapping fixes. There seems to be problems in workspace and workspaceFolder db design, which causes hibernate not behavior as expected. It should be fixed

  1. … 5 more files in changeset.
More changes based on breaking 1-1 link between organisation and workspace folder. Some organisations don't have workspaces. Also tuned the method that checks membership access to a folder to take subfolders into account.

  1. … 3 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.
Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.

This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.

  1. … 38 more files in changeset.
added licence text and got rid of TODO's

  1. … 57 more files in changeset.
*** empty log message ***

  1. … 33 more files in changeset.
*** empty log message ***

  1. … 5 more files in changeset.
*** empty log message ***

  1. … 31 more files in changeset.
*** empty log message ***

  1. … 6 more files in changeset.