|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ScoreDbLoader interface provides a standard set of methods used to load
Scores and ScoreLists from the Blackboard 5 database
schema.
| Field Summary | |
static java.lang.String |
TYPE
Type used to obtain an instance of the class configured to provide the implementation for this interface. |
| Method Summary | |
BbList |
loadByCourseMembershipId(Id id)
Loads a list of Score objects associated with the CourseMembership record whose Id is provided, using a connection obtained through this object's database context. |
BbList |
loadByCourseMembershipId(Id id,
java.sql.Connection con)
Loads a list of Score objects associated with the CourseMembership record whose Id is provided, using the provided connection. |
Score |
loadByCourseMembershipIdAndLineitemId(Id cmId,
Id liId)
Loads the Score for a given Lineitem and CourseMembership combination using a connection obtained through this object's database context. |
Score |
loadByCourseMembershipIdAndLineitemId(Id cmId,
Id liId,
java.sql.Connection con)
Loads the Score for a given Lineitem and CourseMembership combination using the provided connection. |
Score |
loadById(Id id)
Loads the Score with the given Id from the database using a connection obtained through this object's database context. |
Score |
loadById(Id id,
java.sql.Connection con)
Loads the Score with the given Id from the database using the provided connection. |
BbList |
loadByLineitemId(Id id)
Loads a list of Score objects associated with the lineitem whose Id is provided, using a connection obtained through this object's database context. |
BbList |
loadByLineitemId(Id id,
java.sql.Connection con)
Loads a list of Score objects associated with the Lineitem whose Id is provided, using the provided connection. |
| Methods inherited from interface blackboard.persist.Loader |
getAppVersion, init |
| Field Detail |
public static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
public Score loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the desired Score
KeyNotFoundException - If there is no Score in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public Score loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the desired Scorecon - A connection supplied by the caller's database context
KeyNotFoundException - If there is no Score in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseMembershipId(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the CourseMembership record
KeyNotFoundException - If there is no CourseMembership record in the database with
the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseMembershipId(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the CourseMembership recordcon - A connection supplied by the caller's database context
KeyNotFoundException - If there is no CourseMembership record in the database with
the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByLineitemId(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByLineitemId(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public Score loadByCourseMembershipIdAndLineitemId(Id cmId,
Id liId)
throws KeyNotFoundException,
PersistenceException
cmId - The Id of the CourseMembership recordliId - The Id of the Lineitem that this score represents a record for
KeyNotFoundException - If neither of the Ids provided exist in the database
PersistenceException - If a general persistence level exception occurs
public Score loadByCourseMembershipIdAndLineitemId(Id cmId,
Id liId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
cmId - The Id of the CourseMembership recordliId - The Id of the Lineitem that this score represents a record forcon - A connection supplied by the caller's database context
KeyNotFoundException - If neither of the Ids provided exist in the database
PersistenceException - If a general persistence level exception occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||