Fixed getAllLessons() to return all the lessons for which the user is in the lesson's staff group. Added organisationID to the basic lesson DTO returned to Flash.
Removed the "is this tool on the classpath" hack. Now it will throw a ToolException if a tool can't be fine. This will break one of our junit tests but the test will have to be skipped for the moment or rewritten to use a known set of tools.
Tweaking to reduce the number of times the User object is retrieved from the database. Also partially implemented the cache clear when a user object is changed.
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.
Implementation getLearningLibraryByTitle was wrong and the method is not used so the whole method was removed.Implementation of getLearningLibraries was returning all libraries in the database. Changed to only return the active libraries (ie the libraries that have been successfully installed).