lams_tool_nb

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
includes code which setups the map of attchments which is displayed on the jsp instructions page

new bean properties onlineFile , offlineFile and attachments

new struts action called upload which uploads a file to content repository and also saves the file information on the database

retrieveAttachmentByFilename definition and implementation

implementation of retrieveAttachmentByFilename

new method retrieveAttachmentByFilename used in authoringaction to determine if there are files that exist in db with same filename

new bean definition toolContentHandler

added ATTACHMENT_LIST a session scope variable

added new constants TYPE_ONLINE and TYPE_OFFLINE also new method returnFileType() which is a helper method to determine whether its an online file or offline file

took out attachmentId from teh constructor as this is auto generated

added a check to see if object is null

renamed to lams_tool_nb.sql

added "name" which is used by middlegen to generate the properties file

prefs.properties file generated by middlegen

    • -4
    • +60
    ./conf/middlegen/nb-prefs.properties
*** empty log message ***

changed the column name from is_online to online_file

added test cases for testing NoticeboardAttachment stuff

Test case for NoticeboardAttachmentDAO

added the hbm mapping, dao definition for NoticeboardAttachment

method initAttachmentData to initialise and setup test data for test cases in relation to testing NoticeboardAttachmentDAO methods and corresponding methods in the service bean

updated the service bean to include methods same as those in NoticeboardAttachmentDAO

hibernate implementation , consists of retrieve, get, save and delete methods

DAO interface for NoticeboardAttachments, a persistent class for keeping track of files uploaded

With the new NoticeboardAttachment class, the NoticeboardContent now has a collection of NoticeboardAttachment objects

error_mandatory constant added

added default, minimal and full constructors

*** empty log message ***

changed the db schema from lams to "" (blank)

added the new table attachment in the middlegen ant task

change the property isOnline to is_onilne