blackboard.admin.persist.course
Interface StaffAssignmentLoader

All Superinterfaces:
Loader

public interface StaffAssignmentLoader
extends Loader

This interface describes the set of methods that all loaders for StaffAssignment 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:
StaffAssignmentLoader, StaffAssignment

Nested Class Summary
static class StaffAssignmentLoader.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<StaffAssignment> load(StaffAssignment template)
          Loads a BbList of StaffAssignment objects based on the attributes provided by the template.
 StaffAssignment load(java.lang.String crsBatchUid, java.lang.String personBatchUid)
          Loads a StaffAssignment 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

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

Parameters:
crsBatchUid - Identifying CourseSite batch uid for StaffAssignment.
personBatchUid - Identifying CourseSite batch uid for StaffAssignment.
Returns:
a StaffAssignment object.
Throws:
KeyNotFoundException - Thrown if StaffAssignment object could not be found with provided batch uid.
PersistenceException - Thrown if a failure occurs while loading object.

load

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

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


Copyright © 2012 Blackboard, Inc. All Rights Reserved.