blackboard.persist.discussionboard
Interface ConferenceOwnerDbPersister

All Superinterfaces:
Persister

public interface ConferenceOwnerDbPersister
extends Persister

Since:
Bb 7.1

Nested Class Summary
static class ConferenceOwnerDbPersister.Default
          A utility class that provides quick access to the ConferenceOwnerDbPersister 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
 void deleteByCourseId(Id id)
          Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.
 void deleteByCourseId(Id id, java.sql.Connection con)
          Deletes the ConferenceOwner identified by the given Id value using the supplied connection.
 void deleteByGroupId(Id id)
          Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.
 void deleteByGroupId(Id id, java.sql.Connection con)
          Deletes the ConferenceOwner identified by the given Id value using the supplied connection.
 void deleteById(Id id)
          Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.
 void deleteById(Id id, java.sql.Connection con)
          Deletes the ConferenceOwner identified by the given Id value using the supplied connection.
 void persist(ConferenceOwner conferenceOwner)
          Inserts or updates the supplied ConferenceOwner using a connection from the associated persistence manager's database container.
 void persist(ConferenceOwner conferenceOwner, java.sql.Connection con)
          Inserts or updates the supplied ConferenceOwner using the supplied connection.
 
Methods inherited from interface blackboard.persist.Persister
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.getPersister(String)

See Also:
Constant Field Values
Method Detail

persist

void persist(ConferenceOwner conferenceOwner)
             throws ValidationException,
                    PersistenceException
Inserts or updates the supplied ConferenceOwner using a connection from the associated persistence manager's database container. If the object's Id is set and is associated with the same container, then an update is done, otherwise a new object is inserted.

Throws:
ValidationException - not thrown, since there are no required fields to persist this object
PersistenceException - if some other exception happens while persisting the object.

persist

void persist(ConferenceOwner conferenceOwner,
             java.sql.Connection con)
             throws ValidationException,
                    PersistenceException
Inserts or updates the supplied ConferenceOwner using the supplied connection. The connection must be to the same database as is used by the associated persistence manager. If the object's Id is set and is associated with this persistence manager's same container, then an update is done, otherwise a new object is inserted.

Throws:
ValidationException - not thrown,since there are no required fields to persist this object
PersistenceException - if some other exception happens while persisting the object.

deleteById

void deleteById(Id id)
                throws KeyNotFoundException,
                       PersistenceException
Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation

deleteById

void deleteById(Id id,
                java.sql.Connection con)
                throws KeyNotFoundException,
                       PersistenceException
Deletes the ConferenceOwner identified by the given Id value using the supplied connection.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation

deleteByCourseId

void deleteByCourseId(Id id)
                      throws KeyNotFoundException,
                             PersistenceException
Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation

deleteByCourseId

void deleteByCourseId(Id id,
                      java.sql.Connection con)
                      throws KeyNotFoundException,
                             PersistenceException
Deletes the ConferenceOwner identified by the given Id value using the supplied connection.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation

deleteByGroupId

void deleteByGroupId(Id id)
                     throws KeyNotFoundException,
                            PersistenceException
Deletes the ConferenceOwner identified by the given Id value using a connection from the associated persistence manager's database container.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation

deleteByGroupId

void deleteByGroupId(Id id,
                     java.sql.Connection con)
                     throws KeyNotFoundException,
                            PersistenceException
Deletes the ConferenceOwner identified by the given Id value using the supplied connection.

Throws:
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation


Copyright © 2012 Blackboard, Inc. All Rights Reserved.