blackboard.admin.persist.course
Interface OrganizationMembershipLoader

All Superinterfaces:
Loader

public interface OrganizationMembershipLoader
extends Loader

This interface describes the set of methods that all loaders for OrganizationMembership objects must implement.

A loader provides for the retrieval of an object to be stored within the CMS system. Loading methods are named according to the type of persistence that is performed.

Since:
Bb 6.0
See Also:
OrganizationMembershipLoader, OrganizationMembership

Nested Class Summary
static class OrganizationMembershipLoader.Default
          A utility class that provides quick access to the Loader 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<OrganizationMembership> load(OrganizationMembership template)
          Loads a BbList of OrganizationMembership objects based on the attributes provided by the template.
 OrganizationMembership load(java.lang.String orgBatchUid, java.lang.String personBatchUid)
          Loads a OrganizationMembership object based on its unique batch uid information.
 
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.

See Also:
Constant Field Values
Method Detail

load

OrganizationMembership load(java.lang.String orgBatchUid,
                            java.lang.String personBatchUid)
                            throws KeyNotFoundException,
                                   PersistenceException
Loads a OrganizationMembership object based on its unique batch uid information.

Parameters:
orgBatchUid - Identifying Organization batch uid for OrganizationMembership.
personBatchUid - Identifying Person batch uid for OrganizationMembership.
Returns:
a OrganizationMembership object.
Throws:
KeyNotFoundException - Thrown if OrganizationMembership object could not be found with provided batch uid.
PersistenceException - Thrown if a failure occurs while loading object.

load

BbList<OrganizationMembership> load(OrganizationMembership template)
                                    throws PersistenceException
Loads a BbList of OrganizationMembership objects based on the attributes provided by the template.

Parameters:
template - OrganizationMembership attribute based object dictating criteria used in loading OrganizationMembership objects.
Returns:
a BbList with appropriate OrganizationMembership objects.
Throws:
PersistenceException - Thrown if a failure occurs while loading objects.


Copyright 2011 Blackboard, Inc. All Rights Reserved.