|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The LineitemDbLoader interface provides a standard set of methods used to load
Lineitems and LineitemLists 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 |
loadByCourseId(Id courseId)
Loads a list of Lineitem objects associated with the Course whose Id is provided, using a connection obtained through this object's database context. |
BbList |
loadByCourseId(Id courseId,
java.sql.Connection con)
Loads a list of Lineitem objects associated with the Course whose Id is provided, using the supplied connection. |
BbList |
loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name)
Loads a list of Lineitem objects associated with the Course whose Id is provided and whose name matches the name provided, using a connection obtained through this object's database context. |
BbList |
loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name,
java.sql.Connection con)
Loads a list of Lineitem objects associated with the Course whose Id is provided and whose name matches the name provided, using the supplied connection. |
Lineitem |
loadById(Id id)
Loads the Lineitem with the given Id from the database using a connection obtained through this object's database context. |
Lineitem |
loadById(Id id,
java.sql.Connection con)
Loads the Lineitem with the given Id from the database using the supplied 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 Lineitem loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the desired Lineitem
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public Lineitem loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the desired Lineitemcon - A connection supplied by the caller's database context
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseId(Id courseId)
throws KeyNotFoundException,
PersistenceException
KeyNotFoundException - If there is no Course in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseId(Id courseId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
con - A connection supplied by the caller's database context
KeyNotFoundException - If there is no Course in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name)
throws KeyNotFoundException,
PersistenceException
name - The name of the Lineitem to be loaded
KeyNotFoundException - If there is no Course in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public BbList loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
name - The name of the Lineitem to be loadedcon - A connection supplied by the caller's database context
KeyNotFoundException - If there is no Course in the database with the given Id
PersistenceException - If a general persistence level exception occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||