blackboard.persist.content
Interface GroupUploadDbPersister
- All Superinterfaces:
- Persister
public interface GroupUploadDbPersister
- extends Persister
This interface describes the set of methods that all database persisters for
GroupUpload
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(GroupUpload groupUpload,
java.sql.Connection con)
Inserts or updates the supplied GroupUpload using the
supplied connection. |
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
persist
void persist(GroupUpload groupUpload,
java.sql.Connection con)
throws PersistenceException,
ValidationException
- Inserts or updates the supplied
GroupUpload
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:
groupUpload
- 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.