blackboard.persist.discussionboard
Interface UserMsgStateDbLoader

All Superinterfaces:
Loader

public interface UserMsgStateDbLoader
extends Loader

UserMsgStateDbLoader

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

Nested Class Summary
static class UserMsgStateDbLoader.Default
          A utility class that provides quick access to the UserMsgStateDbLoader 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
 java.util.List<UserMsgState> loadAllByMsgMainIdAndUserId(Id msgMainId, Id userId)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 java.util.List<UserMsgState> loadAllByMsgMainIdAndUserId(Id msgMainId, Id userId, java.sql.Connection con)
          Load a List with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 UserMsgState loadById(Id id)
          Load the Forum with the given Id from the database using a connection obtained through this object's database context.
 UserMsgState loadById(Id id, java.sql.Connection con)
          Load the Forum with the given Id from the database using the supplied connection.
 BbList loadByMsgMainId(Id msgMainId)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 BbList loadByMsgMainId(Id msgMainId, java.sql.Connection con)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 UserMsgState loadByMsgMainIdAndUserId(Id msgMainId, Id userId)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 UserMsgState loadByMsgMainIdAndUserId(Id msgMainId, Id userId, java.sql.Connection con)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 BbList loadByUserId(Id userId)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 BbList loadByUserId(Id userId, java.sql.Connection con)
          Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.
 BbList loadSubscribedByMsgMainId(Id msgMainId)
          Load the subscribed UserMsgStates corresponding to the given message id the UserMsgState from the database using the supplied connection.
 BbList loadSubscribedByMsgMainId(Id msgMainId, java.sql.Connection con)
          Load the subscribed UserMsgStates corresponding to the given message id the UserMsgState from the database using the supplied connection.
 
Methods inherited from interface blackboard.persist.Loader
getAppVersion, init
 

Field Detail

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
Method Detail

loadById

UserMsgState loadById(Id id)
                      throws KeyNotFoundException,
                             PersistenceException
Load the Forum with the given Id from the database using a connection obtained through this object's database context.

Throws:
KeyNotFoundException - if there is no Forum in the database with the given id
PersistenceException - if some other error occurs while loading the object

loadById

UserMsgState loadById(Id id,
                      java.sql.Connection con)
                      throws KeyNotFoundException,
                             PersistenceException
Load the Forum with the given Id from the database using the supplied connection.

Throws:
KeyNotFoundException - if there is no Forum in the database with the given id
PersistenceException - if some other error occurs while loading the object

loadByUserId

BbList loadByUserId(Id userId)
                    throws KeyNotFoundException,
                           PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadByUserId

BbList loadByUserId(Id userId,
                    java.sql.Connection con)
                    throws KeyNotFoundException,
                           PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadByMsgMainId

BbList loadByMsgMainId(Id msgMainId)
                       throws KeyNotFoundException,
                              PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadByMsgMainId

BbList loadByMsgMainId(Id msgMainId,
                       java.sql.Connection con)
                       throws KeyNotFoundException,
                              PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadSubscribedByMsgMainId

BbList loadSubscribedByMsgMainId(Id msgMainId)
                                 throws KeyNotFoundException,
                                        PersistenceException
Load the subscribed UserMsgStates corresponding to the given message id the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadSubscribedByMsgMainId

BbList loadSubscribedByMsgMainId(Id msgMainId,
                                 java.sql.Connection con)
                                 throws KeyNotFoundException,
                                        PersistenceException
Load the subscribed UserMsgStates corresponding to the given message id the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadByMsgMainIdAndUserId

UserMsgState loadByMsgMainIdAndUserId(Id msgMainId,
                                      Id userId)
                                      throws KeyNotFoundException,
                                             PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadByMsgMainIdAndUserId

UserMsgState loadByMsgMainIdAndUserId(Id msgMainId,
                                      Id userId,
                                      java.sql.Connection con)
                                      throws KeyNotFoundException,
                                             PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadAllByMsgMainIdAndUserId

java.util.List<UserMsgState> loadAllByMsgMainIdAndUserId(Id msgMainId,
                                                         Id userId)
                                                         throws KeyNotFoundException,
                                                                PersistenceException
Load a UserMsgState with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object

loadAllByMsgMainIdAndUserId

java.util.List<UserMsgState> loadAllByMsgMainIdAndUserId(Id msgMainId,
                                                         Id userId,
                                                         java.sql.Connection con)
                                                         throws KeyNotFoundException,
                                                                PersistenceException
Load a List with the given Id, and load top level item contained in the UserMsgState from the database using the supplied connection.

Throws:
KeyNotFoundException - if the provided conference id is invalid
PersistenceException - if some other error occurs while loading the object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.