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

Field Summary
static DbPersisterFactory<GroupUploadDbPersister> Default
          Default factory for the persister.
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.
 
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

Default

static final DbPersisterFactory<GroupUploadDbPersister> Default
Default factory for the persister.

Method Detail

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 © 2012 Blackboard, Inc. All Rights Reserved.