|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserForumSettingsDbLoader
This interface describes the set of methods that all database loaders for
UserForumSettings objects must implement.
| Nested Class Summary | |
|---|---|
static class |
UserForumSettingsDbLoader.Default
A utility class that provides quick access to the UserForumSettingsDbLoader
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)
Load the UserForumSettings object for the given Forum Id (identified by forumId) using a connection obtained through this object's database context. |
BbList |
loadByForumId(Id forumId,
java.sql.Connection con)
Load the UserForumSettings object for the given Forum Id (identified by forumId) using the supplied connection. |
UserForumSettings |
loadByForumIdAndUserId(Id forumId,
Id userId)
Load the UserForumSettings object for the given Forum Id (identified by forumId) using a connection obtained through this object's database context. |
UserForumSettings |
loadByForumIdAndUserId(Id forumId,
Id userId,
java.sql.Connection conn)
Load the UserForumSettings object for the given Forum Id (identified by forumId) using the supplied connection. |
UserForumSettings |
loadById(Id id)
Load the UserForumSettings with the given Id from the database using a connection obtained through this object's database context. |
UserForumSettings |
loadById(Id id,
java.sql.Connection con)
Load the UserForumSettings with the given Id from the database using the supplied connection. |
BbList |
loadSubscribedByForumId(Id forumId)
Load the UserForumSettings object for the given Forum Id (identified by forumId) using a connection obtained through this object's database context. |
BbList |
loadSubscribedByForumId(Id forumId,
java.sql.Connection con)
Load the UserForumSettings object for subscribed users the given Forum Id (identified by forumId) 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 |
|---|
UserForumSettings loadById(Id id)
throws KeyNotFoundException,
PersistenceException
id - the Id of the UserForumSettings that should be loaded
KeyNotFoundException - if there is no UserForumSettings in the database with
the given id
PersistenceException - if some other error occurs while loading
the object
UserForumSettings loadById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - the Id of the UserForumSettings that should be loadedcon - the Connection to use to perform the load. Can be null.
KeyNotFoundException - if there is no UserForumSettings in the database with
the given id
PersistenceException - if some other error occurs while loading
the object
BbList loadByForumId(Id forumId)
throws KeyNotFoundException,
PersistenceException
forumId - the Id of the Forum whose settings 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 whose settings 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
UserForumSettings loadByForumIdAndUserId(Id forumId,
Id userId)
throws KeyNotFoundException,
PersistenceException
forumId - the Id of the Forum whose settings should be
loadedforumId - the Id of the User whose settings should be
loaded
KeyNotFoundException - if the provided forum id is invalid
PersistenceException - if some other error occurs while loading
the object
UserForumSettings loadByForumIdAndUserId(Id forumId,
Id userId,
java.sql.Connection conn)
throws KeyNotFoundException,
PersistenceException
forumId - the Id of the Forum whose settings should be
loadedforumId - the Id of the User whose settings 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
BbList loadSubscribedByForumId(Id forumId)
throws PersistenceException
forumId - the Id of the Forum whose settings should be
loaded
KeyNotFoundException - if the provided forum id is invalid
PersistenceException - if some other error occurs while loading
the object
BbList loadSubscribedByForumId(Id forumId,
java.sql.Connection con)
throws PersistenceException
forumId - the Id of the Forum whose settings 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 | |||||||||