|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CourseUploadDbLoader
This interface describes the set of methods that all database loaders for
CourseUpload
objects must implement.
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,
java.sql.Connection con)
Load the list of CourseUpload objects associated with the given CourseId (identified by Id) from the database
using the supplied connection. |
CourseUpload |
loadByFileIdAndCourseMembershipId(Id fileId,
Id coursemembershipId,
java.sql.Connection con)
Load CourseUpload object associated with the given File (identified by FileId) and courseMembershipIdfrom the database
using the supplied connection. |
CourseUpload |
loadById(Id id,
java.sql.Connection con)
Load the CourseUpload object 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 |
---|
BbList loadByCourseId(Id courseId, java.sql.Connection con) throws PersistenceException
CourseId
(identified by Id) from the database
using the supplied connection.
courseId
- the Id
of the Course
item.con
- the Connection
to use to perform the load. Can be null.
PersistenceException
- if some error occurs while loading
the objectCourseUpload loadById(Id id, java.sql.Connection con) throws PersistenceException
Id
from the database using the supplied connection.
id
- the Id
of the CourseUpload
.con
- the Connection
to use to perform the load. Can be null.
PersistenceException
- if some error occurs while loading
the objectCourseUpload loadByFileIdAndCourseMembershipId(Id fileId, Id coursemembershipId, java.sql.Connection con) throws PersistenceException
File
(identified by FileId) and courseMembershipIdfrom the database
using the supplied connection. A file may be sent to more than one user
FileId
- the Id
of the File item.con
- the Connection
to use to perform the load. Can be null.
PersistenceException
- if some error occurs while loading
the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |