|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScoreDbLoader
The ScoreDbLoader interface provides a standard set of methods used to load
Scores and lists of scores 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 |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
|---|
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
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
BbList loadByCourseMembershipId(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the CourseMembership record
KeyNotFoundException - not thrown. The method returns a list of 0 or
more elements and therefore will not throw a KeyNotFoundException.
PersistenceException - If a general persistence level exception occurs
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 - not thrown. The method returns a list of 0 or
more elements and therefore will not throw a KeyNotFoundException.
PersistenceException - If a general persistence level exception occurs
BbList loadByLineitemId(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem
KeyNotFoundException - not thrown. The method returns a list of 0 or
more elements and therefore will not throw a KeyNotFoundException.
PersistenceException - If a general persistence level exception occurs
BbList loadByLineitemId(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem
KeyNotFoundException - not thrown. The method returns a list of 0 or
more elements and therefore will not throw a KeyNotFoundException.
PersistenceException - If a general persistence level exception occurs
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 - Thrown if neither of the Ids provided exist in the database,
however depending on the Database/driver, a null Score may be returned.
PersistenceException - If a general persistence level exception occurs
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 | |||||||||