|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageAttachmentDbLoader
MessageAttachmentDbLoader
| Nested Class Summary | |
|---|---|
static class |
MessageAttachmentDbLoader.Default
A utility class that provides quick access to the MessageAttachmentDbLoader
instance associated with the default instance of the database BbPersistenceManager. |
| 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 | |
|---|---|
BbList |
loadByForumId(Id forumId)
Loads the list of Message attachments that belong to messages located within the given forum (identified by Id) using a connection obtained through this object's database context. |
BbList |
loadByForumId(Id forumId,
java.sql.Connection con)
Loads the list of Message attachments that belong to messages located within the given forum (identified by Id) using the supplied connection. |
MessageAttachment |
loadById(Id id)
Load the Message attachment with the given Id from the database using a connection obtained through this object's database context. |
MessageAttachment |
loadById(Id id,
java.sql.Connection con)
Load the Message attachment with the given Id from the database using the supplied connection. |
MessageAttachment |
loadByMessageId(Id messageId)
Load the Message attachment with the given parent message Id from the database using a connection obtained through this object's database context. |
MessageAttachment |
loadByMessageId(Id messageId,
java.sql.Connection con)
Load the Message attachment with the given parent message Id from the database using the supplied connection. |
| Methods inherited from interface blackboard.persist.Loader |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
|---|
MessageAttachment loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - the Id of the MessageAttachment that should be
loaded
KeyNotFoundException - if there is no Message attachment in the
database with the given id
PersistenceException - if some other error occurs while loading
the object
MessageAttachment loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - the Id of the MessageAttachment that should be
loadedcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if there is no Message attachment in the
database with the given id
PersistenceException - if some other error occurs while loading
the object
MessageAttachment loadByMessageId(Id messageId)
throws KeyNotFoundException,
PersistenceException
messageId - the Id of the parent Message that the
MessageAttachment should be loaded for
KeyNotFoundException - if there is no Message attachment in the
database with the given parent message id
PersistenceException - if some other error occurs while loading
the object
MessageAttachment loadByMessageId(Id messageId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
messageId - the Id of the parent Message that the
MessageAttachment should be loaded forcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if there is no Message attachment in the
database with the given parent message id
PersistenceException - if some other error occurs while loading
the object
BbList loadByForumId(Id forumId)
throws KeyNotFoundException,
PersistenceException
forumId - the Id of the Forum that contains messages
for which attachments should be loaded
KeyNotFoundException - if the provided forum Id is invalid
PersistenceException - if some other error occurs while loading
the object
BbList loadByForumId(Id forumId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
forumId - the Id of the Forum that contains messages
for which attachments should be loadedcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if the provided forum Id is invalid
PersistenceException - if some other error occurs while loading
the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||