blackboard.persist.content
Interface EntityContentFileDbLoader
- All Superinterfaces:
- Loader
public interface EntityContentFileDbLoader
- extends Loader
- Since:
- Bb 7.2
- Version:
- $Revision: #1 $ $Date: 2007/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. |
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
loadById
EntityContentFile loadById(Id id)
throws KeyNotFoundException,
PersistenceException
- Load the ContentFile with the given Id from the database in a lightweight
fashion using a connection obtained through this object's database context.
- Parameters:
id - the Id of the EntityContentFile that should be loaded
- Throws:
KeyNotFoundException - if there is no ContentFile in the database
with the given id
PersistenceException - if some other error occurs while loading
the object
loadById
EntityContentFile loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
- Load the ContentFile with the given Id from the database in a lightweight
fashion using the supplied connection.
- Parameters:
id - the Id of the EntityContentFile that should be loadedcon - the Connection to use to perform the load. Can be null.
- Throws:
KeyNotFoundException - if there is no ContentFile in the database
with the given id
PersistenceException - if some other error occurs while loading
the object
loadByEntityId
java.util.List<EntityContentFile> loadByEntityId(Id folderId)
throws KeyNotFoundException,
PersistenceException
- Parameters:
folderId -
- Returns:
-
- Throws:
KeyNotFoundException
PersistenceException
loadByEntityId
java.util.List<EntityContentFile> loadByEntityId(Id folderId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
- Parameters:
folderId - con -
- Returns:
-
- Throws:
KeyNotFoundException
PersistenceException
Copyright © 2003 Blackboard, Inc. All Rights Reserved.