blackboard.persist
Interface Loader

All Known Subinterfaces:
AggregateReviewStatusDbLoader, AnnouncementDbLoader, CachingLoader, CalendarEntryDbLoader, CartridgeDbLoader, ContentDbLoader, ContentFileDbLoader, ContentHandlerDbLoader, ContentHandlerXmlLoader, ContentStatusDbLoader, ContentStatusXmlLoader, CourseDbLoader, CourseMembershipDbLoader, CourseTocDbLoader, CourseUploadDbLoader, GradeRecordDbLoader, GroupDbLoader, GroupMembershipDbLoader, GroupUploadDbLoader, LineitemDbLoader, LinkDbLoader, PlugInDbLoader, PortalRoleDbLoader, ScoreDbLoader, StaffInfoDbLoader, UploadedFileDbLoader, UserDbLoader, UserRoleDbLoader

public interface Loader

The Loader interface provides the base model for any object loader defined within the persistence framework. An object loader is charged with loading an object from a container (data source) and returning it to the caller.

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

Method Summary
 AppVersion getAppVersion()
          Returns the AppVersion associated with this Loader.
 void init(BbPersistenceManager pm, AppVersion appVersion)
          Initializes the loader with the given persistence manager reference and the provided application version.
 

Method Detail

init

void init(BbPersistenceManager pm,
          AppVersion appVersion)
Initializes the loader with the given persistence manager reference and the provided application version. This provides a loader with all of the information necessary to determine from where and how loading should be performed.

Parameters:
pm - the BbPersistenceManager that should be considered the parent for this loader and thus references the container against which this loader should operate
appVersion - the AppVersion that should be used for determining the approriate object (or type of object) to load

getAppVersion

AppVersion getAppVersion()
Returns the AppVersion associated with this Loader.

Returns:
the AppVersion associated with this loader


Copyright © 2003 Blackboard, Inc. All Rights Reserved.