• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
the TEMP_DIRECTORY constant now gets the value from FileUtil

added export portfolio error messages

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

This class isnt used. But modified it so that it works with the new export service code.

Will get the user information from the shared session.

download servlet triggers the download dialog to popup.

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.

new constants and added copyright statement at the top of the file

added userDAO, so that we could get the User object from the userId

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

added lessonDAO, used to retireve the lesson inside export service.

export servlet, which calls the main export action. generates the main export page

retrieves the cookies and passes it into the export service method

added Cookie[] as a parameter to some of the methods, so that the Cookie can be passed along.

cleaned up the code a little bit.

the method connectToToolViaExportUrl, now calls the HttpUrlConnectionUtil method instead.

removed toolSessionId, userId, exportContent, toolContentId, mainFileName, directoryName that arent being used

added subdirectory constant

added some new methods, exportToolPortfolio which connects the tools export url via httpUrlConnection. Currently having problems getting this to work. may be due to the security stuff (it works on the older versions before the security changes and hibernate 3 changes) Will fix this!

added comments

added property activityDAO for exportService

MainExportServlet, similar the the tools export servlet, will call the other export url and save the main page to disk

added struts action forward

added the properies mainFileName, toolLink and directoryName

*** empty log message ***

More changes to suit Hibernate 3

  1. … 15 more files in changeset.
lams.war no longer exists so build task removed

  1. … 15 more files in changeset.
Removed ISOLATION_READ_COMMITTED from the transactions as it is not supported by the JTA transaction manager.

We will have to rely on the database settings.

  1. … 7 more files in changeset.
added the copywrite statement on top of the files

Export portfolio action class

the path /exportPortfolio.do maps to this class.

the CustomStrutsExceptionHandler in org.lamsfoundation.lams.util in which is previously used no longer belongs there.

The customStrutsExceptionHandler is now located in org.lamsfoundation.lams.learning.util

The customStrutsExceptionHandler was previously referenced from lams_common, however that was moved so i have created a this class inside lams_learning.

And changed it so that it will handle all exceptions thrown within lams_learning