|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LineitemDbLoader
The LineitemDbLoader interface provides a standard set of methods used to load
Lineitem objects and lists of Lineitems from the Blackboard database.
| 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 |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
|---|
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
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
BbList loadByCourseId(Id courseId)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Course to load Lineitems from
KeyNotFoundException - If there is no Course in the database with the given Id
PersistenceException - If a general persistence level exception occurs
BbList loadByCourseId(Id courseId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Course to load Lineitems fromcon - 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 loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Course to load Lineitems fromname - The name of the Lineitem to be loaded
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 loadByCourseIdAndLineitemName(Id courseId,
java.lang.String name,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Course to load Lineitems fromname - The name of the Lineitem to be loadedcon - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||