Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
updated with the extra cookie parameter

Upgraded Hibernate to 3.0

  1. … 55 more files in changeset.
ExportServlet - this is the servlet that the export service will call...this servlet in turn opens a httpurlconnection to the real export url, and saves the content in a file.

*** empty log message ***

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.
fixed up the comments.

when a learner clicks on finish, it will call learnerService.completeToolSession which returns the link to the next activity. the tool then redirects to this new url

the error message if the userId or toolSessionId is missing is changed.

Use the hibernate properties bean from lams.jar

  1. … 2 more files in changeset.
Switched to shared transaction manager and JNDI toolDataSource

  1. … 8 more files in changeset.
quite a few changes here. removed unused import declarations the learner environment doesnt expect a toolContentId to be passed via url. the tool contentId/toolSessionId relationship is assumed to have been establish when the core made the call to createToolSessions() if no toolSession exist in the table when the learner reaches the activity, the user will see an error screen. if user in this tool session isnt found, thena new entry is created.

removed unused exports

uses the new method retriveNbUserBySession to grab the user data from the db. This ensures that the user does belong to the tool session specified

removed unused import declarations

added new method retrieveNbUserBySession() which calls the equivalent DAO method getNbUserBySession

added new method getNbUserBySession, which gets a user from tl_lanb11_user table with a particular user id and sessionId

*** empty log message ***

  1. … 1 more file in changeset.
if toolcontent id doesnt exist, it will display a nice message to user, instead of showing system exception page with no message

changed the copyFormValues..(), the deleteAttachment method now doesnt call this method, otherwise all fields will be blank.

instead of using hardcoded default content id, makes the call to getDefaultToolContentId

added comments to code

implemented to call to leaveToolSession, indicating that the learner has finished the activity

instead of using the constant for default content id, the service method is called

added author tag

removed the TODO

methods to return the toolSessionManager and ToolContentManager interface

implementation of the new function get default content id

in method copyToolSession and copyToolCOntent this method is used instead of the constant

added comments in the code and also new method called getDefaultToolContentId which retrieves the default content id instead of hard coding it

added comments in the code

use the JNDI tool-ds instead od jdbc connection also added learnerService and ToolService

added AUTHOR_PAGEV2 AND TOOL_SIGNATURE constants