mtruong in lams

LDEV-72: updated sample config file for client updates

added the url to the "movie" param

LDEV-72 - made changes to Configuration, ConfigurationLoader and ConfigurationKeys

LDEV-72 - added some new values to configuration file. Updated dtd to reflect these changes.

    • -1
    • +10
    /lams_build/conf/unix/lams/lams.dtd
    • -0
    • +13
    /lams_build/conf/unix/lams/lams.xml
    • -1
    • +20
    /lams_build/conf/windows/lams/lams.dtd
    • -0
    • +12
    /lams_build/conf/windows/lams/lams.xml
LDEV-72: added some parameters to the call to lams_authoring.swf?

LDEV-72: added methods to process DictionaryDates, will put values in a hashmap and will place this hashmap in the main hashmap

LDEV-72: added constants for the new values which are in the config file.

LDEV-72: added helper method to get the date a particular dictionary was created

learning design validator changes

    • binary
    /lams_build/lib/lams/lams-central.jar
after the learning design is extracted

it is validated using the learningDesignValidator

updated sample wddx output for store learning design

changes made to include learningDesignID in the constructor of StoreLearningDesignresultsDTO

added learningDesignID

*** empty log message ***

updated section on learning design validation rules

removed code from validationErrorDTO

removed code

the messages send to flash

are from the applicationResources file

added comments

changed the flashmessage

to "storeLearningDesignDetails"

moved to LearningDesignValidator

added some comments

refactored code so that the iterator is only when needed

added messages which will be sent to flash

used for learning design validator

validator - which has validation rules to determine whether the LD is valid or not

this DTO will indicate whether the learning design is valid or not.

if valid - the message included will be the learningdesign id of the LD saved

if not valid - returns the list of error messages/codes

learning design validator - if learning design isnt valid, server will return a list of ValidationErrorDTO objects which hold information about which rule was violated, and which is the offending activity (if applicable)

add some validation for createWorkspaceFolderContent so that a non-unique name doesn't result in an index violation .

deleteContentWithVersion - checks if a resource exists before deleting.

updated ack message so that it returns the folderContentID

    • binary
    /lams_build/lib/lams/lams-central.jar
added description for deleteFolder and deleteLearningDesign

*** empty log message ***

    • binary
    /lams_build/lib/lams/lams-central.jar
deleteFolder method - it will delete all resources inside that folder (if user has permission to) . if resource inside that folder could not be deleted, it will return a flash message indicating which one could not be deleted.

merged some content from w orkspace api

also added documentation for the methods getOrganisationByUserRole and GetUsersfromOrganisationByRole

added new methods getUsersFromOrganisationByRole and getOrganisationsByUserRole