|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageLabelDbLoader
MessageLabelDbLoader
| Nested Class Summary | |
|---|---|
static class |
MessageLabelDbLoader.Default
A utility class that provides quick access to the MessageLabelDbLoader
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 labels 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 labels that belong to messages located within the given forum (identified by Id) using the supplied connection. |
MessageLabel |
loadById(Id id)
Load the Message label with the given Id from the database using a connection obtained through this object's database context. |
MessageLabel |
loadById(Id id,
java.sql.Connection con)
Load the Message label with the given Id from the database using the supplied connection. |
MessageLabel |
loadByMessageId(Id messageId)
Load the Message label with the given parent message Id from the database using a connection obtained through this object's database context. |
MessageLabel |
loadByMessageId(Id messageId,
java.sql.Connection con)
Load the Message label 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 |
|---|
MessageLabel loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - the Id of the MessageLabel that should be
loaded
KeyNotFoundException - if there is no Message label in the database with the
given id
PersistenceException - if some other error occurs while loading the object
MessageLabel loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - the Id of the MessageLabel that should be
loadedcon - the Connection to use to perform the load. Can be
null.
KeyNotFoundException - if there is no Message label in the database with the
given id
PersistenceException - if some other error occurs while loading the object
MessageLabel loadByMessageId(Id messageId)
throws KeyNotFoundException,
PersistenceException
messageId - the Id of the parent Message that the
Messagelabel should be loaded for
KeyNotFoundException - if there is no Message label in the database with the
given parent message id
PersistenceException - if some other error occurs while loading the object
MessageLabel loadByMessageId(Id messageId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
messageId - the Id of the parent Message that the
MessageLabel should be loaded forcon - the Connection to use to perform the load. Can be
null.
KeyNotFoundException - if there is no Message label 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 labels 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 labels 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 | |||||||||