blackboard.persist.content
Interface CourseUploadDbPersister

All Superinterfaces:
Persister

public interface CourseUploadDbPersister
extends Persister

This interface describes the set of methods that all database persisters 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
 void persist(CourseUpload courseUpload, java.sql.Connection con)
          Inserts or updates the supplied CourseUpload using the supplied connection.
 
Methods inherited from interface blackboard.persist.Persister
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

persist

void persist(CourseUpload courseUpload,
             java.sql.Connection con)
             throws PersistenceException,
                    ValidationException
Inserts or updates the supplied CourseUpload using the supplied connection. The connection must be to the same database as is used by the associated persistence manager. If the object's Id is set and is associated with this persistence manager's same container, then an update is done, otherwise a new object is inserted.

Parameters:
courseUpload - Object to store.
con - Database connection to use. This may be null
Throws:
PersistenceException - if some other exception happens while persisting the object.
ValidationException - if the object is not in a consistent state to be persisted.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.