|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface describes the set of methods that all database loaders for
StaffInfo objects must implement.
Loading methods are named according to the criteria used for loading and the
type of load that is performed.
| Nested Class Summary | |
static class |
StaffInfoDbLoader.Default
A utility class that provides quick access to the StaffInfoDbLoader
instance associated with the default instance of the database BbPersistenceManager.
|
| 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 the list of StaffInfo/StaffInfoFolder objects for the given course (identified by id) from the database using a connection obtained through this object's database context. |
BbList |
loadByCourseId(Id courseId,
java.sql.Connection con)
Loads the list of StaffInfo/StaffInfoFolder objects for the given course (identified by id) from the database using the supplied connection. |
StaffInfo |
loadById(Id id)
Load the StaffInfo or StaffInfoFolder with the given Id from the database using a connection obtained through this object's database context. |
StaffInfo |
loadById(Id id,
java.sql.Connection con)
Load the StaffInfo or StaffInfoFolder with the given Id from the database using the supplied connection. |
BbList |
loadByParentId(Id parentId)
Loads the list of StaffInfo/StaffInfoFolder objects that are the children of the object with the given Id from the database using a connection obtained through this object's database context. |
BbList |
loadByParentId(Id parentId,
java.sql.Connection con)
Loads the list of StaffInfo/StaffInfoFolder objects that are the children of the object with the given Id from the database using the supplied connection. |
StaffInfoFolder |
loadFolderByCourseId(Id courseId)
Loads the folder of StaffInfo/StaffInfoFolder objects for the given course (identified by id) from the database using a connection obtained through this object's database context. |
StaffInfoFolder |
loadFolderByCourseId(Id courseId,
java.sql.Connection con)
Loads the folder of StaffInfo/StaffInfoFolder objects for the given course (identified by id) from the database using the supplied connection. |
Id |
lookupTopFolderId(Id courseId)
Loads the Id of "Top" StaffInfoFolder for the given course
(identified by id) from the database using a connection obtained through
this object's database context.
|
Id |
lookupTopFolderId(Id courseId,
java.sql.Connection con)
Loads the Id of "Top" StaffInfoFolder for the given course
(identified by 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 StaffInfo loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - the Id of the StaffInfo that should be loaded
KeyNotFoundException - if there is no StaffInfo in the database
with the given Id
PersistenceException - if some other error occurs while loading
the object
public StaffInfo loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - the Id of the StaffInfo that should be loadedcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if there is no StaffInfo in the database
with the given Id
PersistenceException - if some other error occurs while loading
the object
public BbList loadByParentId(Id parentId)
throws KeyNotFoundException,
PersistenceException
parentId - the Id of the StaffInfoFolder whose children
should be loaded
KeyNotFoundException - if the given id is invalid
PersistenceException - if some other error occurs while loading
the object
public BbList loadByParentId(Id parentId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
parentId - the Id of the StaffInfoFolder whose children
should be loadedcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if the given id is invalid
PersistenceException - if some other error occurs while loading
the object
public BbList loadByCourseId(Id courseId)
throws KeyNotFoundException,
PersistenceException
courseId - the Id of the Course that the list of staff
info objects should be loaded for
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
public BbList loadByCourseId(Id courseId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
courseId - the Id of the Course that the list of staff
info objects should be loaded forcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
public StaffInfoFolder loadFolderByCourseId(Id courseId)
throws KeyNotFoundException,
PersistenceException
courseId - the Id of the Course that the folder of staff
info objects should be loaded for
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
public StaffInfoFolder loadFolderByCourseId(Id courseId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
courseId - the Id of the Course that the folder of staff
info objects should be loaded forcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
public Id lookupTopFolderId(Id courseId)
throws KeyNotFoundException,
PersistenceException
Id of "Top" StaffInfoFolder for the given course
(identified by id) from the database using a connection obtained through
this object's database context.
courseId - the Id of the Course that the "Top" staff
info folder Id should be loaded for
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
public Id lookupTopFolderId(Id courseId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
Id of "Top" StaffInfoFolder for the given course
(identified by id) from the database using the supplied connection.
courseId - the Id of the Course that the "Top" staff
info folder Id should be loaded forcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if the given course id is invalid
PersistenceException - if some other error occurs while loading
the object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||