|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentStatusDbLoader
Loader interface for ContentStatusobjects,
which encapsulate a learner's adaptive release status, and review status for
associated Contentobjects.
| Nested Class Summary | |
|---|---|
static class |
ContentStatusDbLoader.Default
Standard convenience accessor to get an instance of this loader. |
| 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 | |
|---|---|
java.util.List |
loadByContentId(Id contentId)
Loads a list of ContentStatus objects for a specific Content
object. |
java.util.List |
loadByContentId(Id contentId,
java.sql.Connection con)
Loads a list of ContentStatus objects for a specific Content
object. |
java.util.List |
loadByCourseId(Id courseId)
Loads a list of ContentStatus objects for a specific Course
object. |
java.util.List |
loadByCourseId(Id courseId,
java.sql.Connection con)
Loads a list of ContentStatus objects for a specific Course
object. |
| Methods inherited from interface blackboard.persist.Loader |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String).
| Method Detail |
|---|
java.util.List loadByContentId(Id contentId)
throws PersistenceException
ContentStatus objects for a specific Content
object. This automatically loads "semi-heavy", including CourseMembership
and User records in the ContentStatus object. However,
only the following fields are populated on the dependent objects:
Note that the load also discriminates rowStatus for both the user and membership
records. I.e., disabled users (rowStatus == 0) will not be returned. However, unavailable users
will be returned.
contentId - Id of the content object to retrieve the list.
PersistenceException
java.util.List loadByContentId(Id contentId,
java.sql.Connection con)
throws PersistenceException
ContentStatus objects for a specific Content
object. This automatically loads "semi-heavy", including CourseMembership
and User records in the ContentStatus object. However,
only the following fields are populated on the dependent objects:
Note that the load also discriminates rowStatus for both the user and membership
records. I.e., disabled users (rowStatus == 0) will not be returned. However, unavailable users
will be returned.
contentId - Id of the content object to retrieve the list.con - Connection to use for the query.
PersistenceException
java.util.List loadByCourseId(Id courseId)
throws PersistenceException
ContentStatus objects for a specific Course
object.
courseId - Id of the course object to retrieve the list.
PersistenceException
java.util.List loadByCourseId(Id courseId,
java.sql.Connection con)
throws PersistenceException
ContentStatus objects for a specific Course
object.
courseId - Id of the course object to retrieve the list.con - Connection to use for the query.
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||