|
Icodeon SCORM 2004 Player Version 2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICocdDAO
Interface for a data access object (DAO) for the Content Object Communication Data model type (Cocd). The intention is that different implementations of the Cocd data access objects, which will have varying persistence strategies. For example, one implementation of the Cocd data access object might serialize a Cocd type to the file system as XML. A different implementation might persist the field values of the the Cocd type to a relational database. The Content Object Communication Data model type is the root container for all the data model elements defined in the IEEE 1484.11.3 standard "Data Model for Content Object Communication". Although not specified by the current version of SCORM 2004, all the specificed cmi. (dot notation) elements in the SCORM 2004 Run Time Environment can be mapped to element in the IEEE 1484.11.3 standard.
com.icodeon.services.cmi.dao.xml.PersistenceFactoryImpl,
ICocdDAO,
com.icodeon.services.cmi.dao.xml.CocdDAO,
CocdType,
Cocd| Method Summary | |
|---|---|
com.icodeon.services.cmi.Cocd |
createObject()
Method to create a new instance of a Cocd type. |
boolean |
deleteObject(java.lang.String primaryKey)
Method to delete an exisiting persistent record of an instance of a Cocd type that has previously been persited with a synthetic surrogate key (a primary key). |
boolean |
deleteObject(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID)
Method to delete an exisiting persistent record of an instance of a Cocd type. |
void |
destroy()
Method to be invoked at the end of a transaction that has used the data access object. |
com.icodeon.services.cmi.RteDataModelType |
findByName(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID)
Method to read an exisiting persistent record of an instance of a Cocd type. |
void |
init()
Method to be invoked at the start of a transaction that will use the data access object. |
java.lang.String |
insertObject(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID,
com.icodeon.services.cmi.Cocd cocd)
Method to make a new persistent record of an instance of a Cocd type. |
com.icodeon.services.cmi.Cocd |
readObject(java.lang.String primaryKey)
Method to read an persistent record of an instance of a Cocd type that has previously been persisted with a synthetic surrogate key. |
boolean |
updateObject(java.lang.String primaryKey,
com.icodeon.services.cmi.Cocd cocd)
Method to update an persistent record of an instance of a Cocd type that has previously been persisted with a synthetic surrogate key (a primary key). |
| Method Detail |
|---|
void init()
throws java.lang.Exception
java.lang.Exception
void destroy()
throws java.lang.Exception
java.lang.Exception
com.icodeon.services.cmi.Cocd createObject()
throws java.lang.Exception
java.lang.Exception
java.lang.String insertObject(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID,
com.icodeon.services.cmi.Cocd cocd)
throws java.lang.Exception
learnerID, - corresponds to cmi.learner_idcourseID, - the unique identifier of a content packageorgID, - corresponds the the identifierscoID, - corresponds to the identifiersessionID, - optional identifier for sessioncocd, - the instance of a Cocd type
java.lang.Exception
boolean deleteObject(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID)
throws java.lang.Exception
learnerID, - corresponds to cmi.learner_idcourseID, - the unique identifier of a content packageorgID, - corresponds the the identifierscoID, - corresponds to the identifiersessionID, - optional identifier for session
java.lang.Exception
com.icodeon.services.cmi.Cocd readObject(java.lang.String primaryKey)
throws java.lang.Exception
primaryKey -
java.lang.Exception
boolean updateObject(java.lang.String primaryKey,
com.icodeon.services.cmi.Cocd cocd)
throws java.lang.Exception
primaryKey - cocd -
java.lang.Exception
boolean deleteObject(java.lang.String primaryKey)
throws java.lang.Exception
primaryKey -
java.lang.Exception
com.icodeon.services.cmi.RteDataModelType findByName(java.lang.String learnerID,
java.lang.String courseID,
java.lang.String orgID,
java.lang.String scoID,
java.lang.String sessionID)
throws java.lang.Exception
learnerID, - corresponds to cmi.learner_idcourseID, - the unique identifier of a content packageorgID, - corresponds the the identifierscoID, - corresponds to the identifiersessionID, - optional identifier for session
java.lang.Exception
|
Icodeon SCORM 2004 Player Version 2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||