|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentHandlerDbLoader
Interface for loading Content Handler objects from the database.
Nested Class Summary | |
---|---|
static class |
ContentHandlerDbLoader.Default
A utility class that provides quick access to the ContentHandlerLoader
instance associated with the default instance of the database BbPersistenceManager . |
Field Summary | |
---|---|
static java.lang.String |
TYPE
|
Method Summary | |
---|---|
BbList |
loadAll(VirtualInstallation vi)
Loads all the ContentHandlers for the specified virtual installation. |
java.util.List |
loadAvailableByCourse(Course crs)
loadAvailableByCourse |
java.util.List |
loadAvailableByCourse(Course crs,
java.sql.Connection con)
loadAvailableByCourse |
java.util.List |
loadByCourse(Course crs)
loadByCourse |
java.util.List |
loadByCourse(Course crs,
java.sql.Connection con)
loadByCourse |
ContentHandler |
loadByHandle(java.lang.String handle)
Load the ContentHandler with the given handle from the database using a connection obtained through this object's database context. |
ContentHandler |
loadByHandle(java.lang.String handle,
java.sql.Connection con)
Load the ContentHandler with the given handle from the database using the supplied connection. |
Methods inherited from interface blackboard.persist.Loader |
---|
getAppVersion, init |
Field Detail |
---|
static final java.lang.String TYPE
Method Detail |
---|
BbList loadAll(VirtualInstallation vi) throws PersistenceException, ValidationException
vi
- Target virtual installation.
PersistenceException
ValidationException
ContentHandler loadByHandle(java.lang.String handle) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if there is no ContentHandler in the database
with the given handle
PersistenceException
- if some other error occurs while loading
the objectContentHandler loadByHandle(java.lang.String handle, java.sql.Connection con) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if there is no ContentHandler in the database
with the given handle
PersistenceException
- if some other error occurs while loading
the objectjava.util.List loadAvailableByCourse(Course crs) throws PersistenceException
PersistenceException
java.util.List loadAvailableByCourse(Course crs, java.sql.Connection con) throws PersistenceException
PersistenceException
java.util.List loadByCourse(Course crs) throws PersistenceException
PersistenceException
java.util.List loadByCourse(Course crs, java.sql.Connection con) throws PersistenceException
PersistenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |