blackboard.persist
Interface Persister

All Known Subinterfaces:
AdminCourseCoursePersister, AdminCourseCourseXmlPersister, AnnouncementDbPersister, CalendarEntryDbPersister, CartridgeDbPersister, ConferenceDbPersister, ConferenceOwnerDbPersister, ConferenceXmlPersister, ContentDbPersister, ContentFileDbPersister, ContentStatusXmlPersister, CourseCategoryMembershipPersister, CourseCategoryMembershipXmlPersister, CourseCategoryPersister, CourseCategoryXmlPersister, CourseCourseDbPersister, CourseDbPersister, CourseMembershipDbPersister, CourseSitePersister, CourseSiteXmlPersister, CourseUploadDbPersister, DataSourcePersister, EnrollmentPersister, EnrollmentXmlPersister, ForumDbPersister, ForumXmlPersister, GroupDbPersister, GroupMembershipDbPersister, GroupUploadDbPersister, IdentifiableDbPersister<T>, LineitemDbPersister, LinkDbPersister, MessageAttachmentDbPersister, MessageDbPersister, MessageLabelDbPersister, MessageXmlPersister, ObserverAssociationPersister, ObserverAssociationXmlPersister, OrganizationCategoryMembershipPersister, OrganizationCategoryMembershipXmlPersister, OrganizationCategoryPersister, OrganizationCategoryXmlPersister, OrganizationMembershipPersister, OrganizationMembershipXmlPersister, OrganizationPersister, OrganizationXmlPersister, PersonPersister, PersonXmlPersister, PortalRoleDbPersister, ScoreDbPersister, StaffAssignmentPersister, StaffAssignmentXmlPersister, StaffInfoDbPersister, UploadedFileDbPersister, UserDbPersister, UserForumSettingsDbPersister, UserForumSettingsXmlPersister, UserMsgStateDbPersister, UserMsgStateXmlPersister, UserRegistryEntryDbPersister, UserRoleDbPersister

public interface Persister

The Persister interface provides the base model for any object persister defined within the persistence framework. An object persister is charged with persisting an object to a container (data source).

Since:
Bb 5.5

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

Method Detail

init

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

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

getAppVersion

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

Returns:
the AppVersion associated with this persister


Copyright 2011 Blackboard, Inc. All Rights Reserved.