blackboard.persist
Interface IdentifiableDbLoader<T extends Identifiable>

All Superinterfaces:
Loader
All Known Subinterfaces:
CourseCourseDbLoader, LoadAllIdentifiableDbLoader<T>

public interface IdentifiableDbLoader<T extends Identifiable>
extends Loader

Super interface for generically loading any identifiable object.

Since:
7.2
Version:
$Revision: #1 $ $Date: 2007/06/27 $

Method Summary
 T loadById(Id id)
          Generically load the object via Id.
 T loadById(Id id, java.sql.Connection connection)
          Generically load the object via Id.
 
Methods inherited from interface blackboard.persist.Loader
getAppVersion, init
 

Method Detail

loadById

T loadById(Id id)
                                throws PersistenceException
Generically load the object via Id.

Parameters:
id - the id of the object
Returns:
The object
Throws:
PersistenceException - Thrown if there is a problem loading the object via the Id

loadById

T loadById(Id id,
           java.sql.Connection connection)
                                throws PersistenceException
Generically load the object via Id.

Parameters:
id - the id of the object
Returns:
The object
Throws:
PersistenceException - Thrown if there is a problem loading the object via the Id


Copyright © 2003 Blackboard, Inc. All Rights Reserved.