updated some comments. changed getOrderedActivityList(Long learnerProgressId) to getOrderedActivityList(LearnerProgress learnerProgress) for some reason the failed to lazily initialize exception doesnt occur anymore
A portfolio object, now holds the attribute exportTmpDir - the temporary directory in which this export will place its files. and it contains an array of ToolPortfolio objects. ToolPortfolio was previously known as a Portfolio object, now renamed to ToolPortfolio
Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).Rejigged the tool jars loaded on the classpath so suit the most "completed" tools.
Fixed problem where the learner interface didn't start the first time the learner joined the lesson. This was due to the activity in the request being a proxy activity rather than a real activity. Fixed it by having some common code that puts it in the activity, and get Hibernate to load a "real" activity before putting it in the request.
Updated web.xml to include the context files for all the "current" deployed tools. Added matching tool jars to classpath. Stopped deploying the classes to WEB-INF/classes Implemented more calls on the dummy monitoring page to access the learner pages.
Added copyright statement to top of file. Instead of using getUserData method from learningWebUtil, it gets the userdto from the shared session once the portfolio is zipped up, it will return the relative file location to the exportWaitingPage.jsp
quite a few changes made this time around. the exportPortfolioFor* takes in IDs as parameter. Otherwise lazy initialisatione xception happens. removed some methods that are now not used.
changed exportservlet, so that it called export service directly, (doesnt use the httpUrlConnection) Created another method exportPortfolioForTeacher which takes in a lessonID as a parameter instead of Lesson object, as that triggers the lazy initialization exception