blackboard.persist.discussionboard
Interface ConferenceDbLoader

All Superinterfaces:
Loader

public interface ConferenceDbLoader
extends Loader

ConferenceDbLoader

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

Nested Class Summary
static class ConferenceDbLoader.Default
          A utility class that provides quick access to the ConferenceDbLoader 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 loadAllByCourseId(Id courseId)
          Loads all of the Conferences for the given course (identified by id) from the database using a connection obtained through this object's database context.
 BbList loadAllByCourseId(Id courseId, java.sql.Connection con)
          Load the Conferences for the given course (identified by id) from the database using the supplied connection.
 Conference loadByCourseId(Id courseId)
          Load the Conference for the given course (identified by id) from the database using a connection obtained through this object's database context.
 Conference loadByCourseId(Id courseId, java.sql.Connection con)
          Load the Conference for the given course (identified by id) from the database using the supplied connection.
 Conference loadByGroupId(Id groupId)
          Load the Conference for the given group (identified by id) from the database using a connection obtained through this object's database context.
 Conference loadByGroupId(Id groupId, java.sql.Connection con)
          Load the Conference for the given group (identified by id) from the database using the supplied connection.
 Conference loadById(Id id)
          Load the Conference with the given Id from the database using a connection obtained through this object's database context.
 Conference loadById(Id id, java.sql.Connection con)
          Load the Conference with the given Id from the database using the supplied connection.
 java.util.List loadConferenceWithStatusByCourseId(Id courseId)
          Load the Conference for the given course (identified by id) from the database using a connection obtained through this object's database context.
 java.util.List loadConferenceWithStatusByCourseId(Id courseId, java.sql.Connection con)
          Load the Conference for the given course (identified by id) from the database using the supplied connection.
 java.util.List loadDashboardDetails(Id courseId, Id userId)
           
 java.util.List loadDashboardDetails(Id courseId, Id userId, java.sql.Connection con)
           
 java.util.List loadForumNumberByCourseIdDash(Id courseId)
          Load all the course membership with User attribute
 java.util.List loadForumNumberByCourseIdDash(Id courseId, java.sql.Connection con)
           
 java.util.List loadSystemConferences()
          Load all the system discussion boards
 java.util.List loadSystemConferences(boolean onlyAvailable, DbObjectMap map, java.sql.Connection con)
          Load all the system discussion boards, with available flag
 java.util.List loadSystemConferences(java.sql.Connection conn)
          Load all the system discussion boards
 java.util.List<Conference> loadSystemConferencesByIds(java.util.List<Id> confIds, DbObjectMap map)
          Loads available system discussion boards by Conference Id, ordered by position.
 java.util.List<Conference> loadSystemConferencesByIds(java.util.List<Id> confIds, DbObjectMap map, java.sql.Connection con)
          Loads available system discussion boards by Conference Id, ordered by position.
 java.util.List loadUserMembershipsByGroupId(Id groupId)
           
 java.util.List loadUserMembershipsByGroupId(Id groupId, java.sql.Connection con)
           
 
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

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

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

loadById

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

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

loadByCourseId

Conference loadByCourseId(Id courseId)
                          throws KeyNotFoundException,
                                 PersistenceException
Load the Conference for the given course (identified by id) from the database using a connection obtained through this object's database context.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given course id
PersistenceException - if some other error occurs while loading the object

loadByCourseId

Conference loadByCourseId(Id courseId,
                          java.sql.Connection con)
                          throws KeyNotFoundException,
                                 PersistenceException
Load the Conference for the given course (identified by id) from the database using the supplied connection.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given course id
PersistenceException - if some other error occurs while loading the object

loadAllByCourseId

BbList loadAllByCourseId(Id courseId)
                         throws KeyNotFoundException,
                                PersistenceException
Loads all of the Conferences for the given course (identified by id) from the database using a connection obtained through this object's database context.

This method differs from loadByCourseId(Id) in that it loads all conferences defined for a course, including those defined for groups within the course.

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

loadAllByCourseId

BbList loadAllByCourseId(Id courseId,
                         java.sql.Connection con)
                         throws KeyNotFoundException,
                                PersistenceException
Load the Conferences for the given course (identified by id) from the database using the supplied connection.

This method differs from loadByCourseId(Id,Connection) in that it loads all conferences defined for a course, including those defined for groups within the course.

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

loadByGroupId

Conference loadByGroupId(Id groupId)
                         throws KeyNotFoundException,
                                PersistenceException
Load the Conference for the given group (identified by id) from the database using a connection obtained through this object's database context.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given group id
PersistenceException - if some other error occurs while loading the object

loadByGroupId

Conference loadByGroupId(Id groupId,
                         java.sql.Connection con)
                         throws KeyNotFoundException,
                                PersistenceException
Load the Conference for the given group (identified by id) from the database using the supplied connection.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given group id
PersistenceException - if some other error occurs while loading the object

loadSystemConferences

java.util.List loadSystemConferences()
                                     throws PersistenceException
Load all the system discussion boards

Returns:
Throws:
PersistenceException

loadSystemConferences

java.util.List loadSystemConferences(java.sql.Connection conn)
                                     throws PersistenceException
Load all the system discussion boards

Returns:
Throws:
PersistenceException

loadSystemConferences

java.util.List loadSystemConferences(boolean onlyAvailable,
                                     DbObjectMap map,
                                     java.sql.Connection con)
                                     throws PersistenceException
Load all the system discussion boards, with available flag

Returns:
Throws:
PersistenceException

loadSystemConferencesByIds

java.util.List<Conference> loadSystemConferencesByIds(java.util.List<Id> confIds,
                                                      DbObjectMap map)
                                                      throws KeyNotFoundException,
                                                             PersistenceException
Loads available system discussion boards by Conference Id, ordered by position. If no conference Ids are provided, an empty List is returned.

Parameters:
confIds -
map - a filtered map for this loader
Returns:
Throws:
KeyNotFoundException
PersistenceException
Since:
7.3

loadSystemConferencesByIds

java.util.List<Conference> loadSystemConferencesByIds(java.util.List<Id> confIds,
                                                      DbObjectMap map,
                                                      java.sql.Connection con)
                                                      throws KeyNotFoundException,
                                                             PersistenceException
Loads available system discussion boards by Conference Id, ordered by position. If no conference Ids are provided, an empty List is returned. Loaded from the database using the supplied connection.

Parameters:
confIds -
map - a filtered map for this loader
con - Connection to the database
Returns:
Throws:
KeyNotFoundException
PersistenceException
Since:
7.3

loadForumNumberByCourseIdDash

java.util.List loadForumNumberByCourseIdDash(Id courseId)
                                             throws KeyNotFoundException,
                                                    PersistenceException
Load all the course membership with User attribute

Parameters:
groupId -
Returns:
Throws:
KeyNotFoundException
PersistenceException

loadForumNumberByCourseIdDash

java.util.List loadForumNumberByCourseIdDash(Id courseId,
                                             java.sql.Connection con)
                                             throws PersistenceException
Throws:
PersistenceException

loadUserMembershipsByGroupId

java.util.List loadUserMembershipsByGroupId(Id groupId)
                                            throws KeyNotFoundException,
                                                   PersistenceException
Throws:
KeyNotFoundException
PersistenceException

loadUserMembershipsByGroupId

java.util.List loadUserMembershipsByGroupId(Id groupId,
                                            java.sql.Connection con)
                                            throws KeyNotFoundException,
                                                   PersistenceException
Throws:
KeyNotFoundException
PersistenceException

loadConferenceWithStatusByCourseId

java.util.List loadConferenceWithStatusByCourseId(Id courseId)
                                                  throws KeyNotFoundException,
                                                         PersistenceException
Load the Conference for the given course (identified by id) from the database using a connection obtained through this object's database context.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given course id
PersistenceException - if some other error occurs while loading the object

loadConferenceWithStatusByCourseId

java.util.List loadConferenceWithStatusByCourseId(Id courseId,
                                                  java.sql.Connection con)
                                                  throws KeyNotFoundException,
                                                         PersistenceException
Load the Conference for the given course (identified by id) from the database using the supplied connection.

Throws:
KeyNotFoundException - if there is no Conference in the database defined for the given course id
PersistenceException - if some other error occurs while loading the object

loadDashboardDetails

java.util.List loadDashboardDetails(Id courseId,
                                    Id userId)
                                    throws KeyNotFoundException,
                                           PersistenceException
Throws:
KeyNotFoundException
PersistenceException

loadDashboardDetails

java.util.List loadDashboardDetails(Id courseId,
                                    Id userId,
                                    java.sql.Connection con)
                                    throws KeyNotFoundException,
                                           PersistenceException
Throws:
KeyNotFoundException
PersistenceException


Copyright © 2003 Blackboard, Inc. All Rights Reserved.