Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • references:
    • org.adl.samplerte.server.LMSCMIServlet (2)
    • org.adl.samplerte.server.LMSManifestHandler
    • /runtime/sequencingUtil.jsp (persistActivityTree())
    • /runtime/processCourseReg.jsp (2) (initialization)
    • /runtime/sequencingEngine.jsp
    • /runtime/code.jsp (UI: displays TOC)
  • using hibernate to persist
    • the properties in SeqActivityTree are as follows:
      Code Block
      
           private SeqActivity mRoot = null;
      
      mRoot: mapped to column ROOT (and is a foreign key)
      Code Block
      
         /**
          * The set of valid navigation requests for the current state of the activity
          * tree.
          *
          */
             private ADLValidRequests mValidReq = null;
      
      mValidReq: may be possible to determine this at runtime, or at first instatiation for use
      Code Block
      
      
         /**
          * This is the identifier for the last leaf in the activity tree
          *@hibernate.property
          */
             private String mLastLeaf = null; 
      
      mLastLeaf: mapped to column LASTLEAF
      Code Block
      
         /**
          * This is the scope of this activity tree's objectives
          *@hibernate.property
          */
             private String mScopeID = null;
      
      mScopeID: mapped to column SCOPE
      Code Block
      
         /**
          * This is the course (really a content package) identifier for the current activity tree
          *@hibernate.property
          */
             private String mCourseID = null; 
      
      mCourseID: mapped to column PACKAGEID
      Code Block
      
         /**
          * This is the student identifier for the student utilizing this activity
          * tree
          *@hibernate.property
          */
             private String mLearnerID = null;
      
      mLearnerID: mapped to column LEARNERID
      Code Block
      
      
         // Internal state of the activity tree
         /**
          * This is the current activity<br><br>
          * Defined in IMS SS AM
          * WRT hibernate: this has to be a persisted value...
          *    ... this reflects the 'current' progress infomation
          *    ... and could have been recorded in another session
          *@hibernate.property
          */
             private SeqActivity mCurActivity = null;
      
      mLearnerID: mapped to column LEARNERID
      Code Block
      
         /**
         * This is the first candidate activity to for sequencing requests.
         *@hibernate.property
         */
            private SeqActivity mFirstCandidate = null;
      
         /**
          * This is last activity experienced by the student prior to a SuspendAll
          * sequencing request.<br><br>
          * Defined in IMS SS AM
          *@hibernate.property
          */
             private SeqActivity mSuspendAll = null;
      
         /**
          * This is an internal 'quick' reference map of the activity tree's nodes
          * WRT hibernate perisistence: use buildActivityMap() after retrieval
          */
             private Hashtable mActivityMap = null;
      
         /**
          * This is the set of global objective IDs used in this activity tree.
          *@hibernate.property
          */
             private Vector mObjSet = null;
      
         /**
          * This is a map of activities that read from each of the global shared
          * objectives.
          *@hibernate.property
          */
             private Hashtable mObjMap = null;
      
         /**
          * This indicates if the global objective IDs have been determined for this 
          * tree.
          *@hibernate.property
          */
             private boolean mObjScan = false;