Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
the one utility class for noticeboard. NbAuthoringUtil, NbMonitoringUtil and NbLearningUtil has merged into this one class

    • -0
    • +115
    ./lamsfoundation/lams/tool/noticeboard/util/NbWebUtil.java
all utility functions are now in the one class NbWebUtil instead of having a separate util class for each environmnent (authoring monitoring and learner)

instead of setting defineLater to true all the time, it now only sets to true when its called from monitoring environment via edit activity tab

removed /tool/nb from path, shortened the path to /starter/monitor instead

new bean property which returns a map. map contains request parameter names and values, which is populated in EditActivity action. This is used to generate the link for the authoring url (when user clicks on edit button)

removed /tool/nb from path, shortened the path to /monitor instead

removed /tool/nb from path, shortened the path to /starter/learner instead

removed /tool/nb from path, shortened the path to /starter/authoring instead

new bean property called defineLater, used in the jsp page to determine if defineLater is set or not

shortened the actionpath to /authoring instead of /tool/nb

removed contentInUse and loadNbForm which is no longer needed

accounted for the change in type from Long to String. This action servlet now also copies the value of tool content into the session

changed the variable toolContentId from Long to type String

moved copyValuesIntoSession and isContentEditable functions into the utility class. in editActivity, the state of the flags are added into the session,

*** empty log message ***

updated full constructor to include contentInUse, also minimal constructs set contentInUse to false be default

new constants: DEFINE_LATER and BUTTON_EDIT

monitoring environment, action servlets

    • -0
    • +87
    ./lamsfoundation/lams/tool/noticeboard/web/NbMonitoringForm.java
changed the method names to getXXId instead of getXXID

*** empty log message ***

added constants for monitoring environment

*** empty log message ***

    • -0
    • +42
    ./lamsfoundation/lams/tool/noticeboard/util/NbLearnerUtil.java
  1. … 5 more files in changeset.
some more error messages

new implementations of learner side of things. Still need to call completeToolSession, and set the session Status to completed.

    • -0
    • +116
    ./lamsfoundation/lams/tool/noticeboard/web/NbLearnerAction.java
    • -0
    • +162
    ./lamsfoundation/lams/tool/noticeboard/web/NbLearnerForm.java
new method implementations for addUser and addSession, updated code to match the new implementations of ToolSessionManager and ToolContentManager. Accoutns for the ToolException and DataMissingException which may be thrown

new methods addUser and addSession , which uses equivalent DAO methods

hibernate implementations of addUser

hibernate implementations of addSession

added a new method addUser, in order to create a new session and associating it with a content . these occur within a transaction

added a new method addSession, in order to create a new session and associating it with a content . these occur within a transaction