blackboard.persist.content
Interface CourseUploadDbLoader

All Superinterfaces:
Loader

public interface CourseUploadDbLoader
extends Loader

This interface describes the set of methods that all database loaders for CourseUpload objects must implement.

Since:
Bb 6.2
Version:
$Revision: #1 $ $Date: 2005/06/27 $

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

TYPE

static final java.lang.String TYPE
Type used to obtain an instance of the class configured to provide the implementation for this interface. Used when making a call to BbPersistenceManager.getLoader(String).

See Also:
Constant Field Values
Method Detail

loadByCourseId

BbList loadByCourseId(Id courseId,
                      java.sql.Connection con)
                      throws PersistenceException
Load the list of CourseUpload objects associated with the given CourseId (identified by Id) from the database using the supplied connection.

Parameters:
courseId - the Id of the Course item.
con - the Connection to use to perform the load. Can be null.
Throws:
PersistenceException - if some error occurs while loading the object

loadById

CourseUpload loadById(Id id,
                      java.sql.Connection con)
                      throws PersistenceException
Load the CourseUpload object with the given Id from the database using the supplied connection.

Parameters:
id - the Id of the CourseUpload.
con - the Connection to use to perform the load. Can be null.
Throws:
PersistenceException - if some error occurs while loading the object

loadByFileIdAndCourseMembershipId

CourseUpload loadByFileIdAndCourseMembershipId(Id fileId,
                                               Id coursemembershipId,
                                               java.sql.Connection con)
                                               throws PersistenceException
Load CourseUpload object associated with the given File (identified by FileId) and courseMembershipIdfrom the database using the supplied connection. A file may be sent to more than one user

Parameters:
FileId - the Id of the File item.
con - the Connection to use to perform the load. Can be null.
Throws:
PersistenceException - if some error occurs while loading the object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.