|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupDbLoader
This interface describes the set of methods that all database loaders for
Group
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 |
GroupDbLoader.Default
A utility class that provides quick access to the GroupDbLoader
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)
Load the list of Groups contained with the 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)
Load the list of Groups contained with the course (identified by Id) from the database using the supplied connection. |
Group |
loadById(Id id)
Load the Group with the given Id from the database using a connection obtained through this object's database context. |
Group |
loadById(Id id,
java.sql.Connection con)
Load the Group 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 |
---|
Group loadById(Id id) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if there is no Group in the database with
the given id
PersistenceException
- if some other error occurs while loading
the objectGroup loadById(Id id, java.sql.Connection con) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if there is no Group in the database with
the given id
PersistenceException
- if some other error occurs while loading
the objectBbList loadByCourseId(Id courseId) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if the provided course id is invalid
PersistenceException
- if some other error occurs while loading
the UserBbList loadByCourseId(Id courseId, java.sql.Connection con) throws KeyNotFoundException, PersistenceException
KeyNotFoundException
- if the provided course id is invalid
PersistenceException
- if some other error occurs while loading
the User
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |