Skip to main content
pdf?stylesheet=default
Blackboard Help

Sample Code to Create Data Objects

Use this code sample as a basis to create data objects for Event Driven APIs.

Event Driven API - Data Object creation

blackboard.admin.data.user.Person person_1 = new blackboard.admin.data.user.Person();

blackboard.admin.data.user.Person person_2 = new blackboard.admin.data.user.Person();

blackboard.admin.data.course.Coursesite course = new blackboard.admin.data.course.Coursesite();

blackboard.admin.data.course.Organization org = new blackboard.admin.data.course.Organization();

blackboard.admin.data.course.Enrollment enroll = new blackboard.admin.data.course.Enrollment();

blackboard.admin.data.course.OrganizationMembership orgmem = new blackboard.admin.data.course.OrganizationMembership();

blackboard.admin.data.course.StaffStudent staff = new blackboard.admin.data.course.StaffStudent();

blackboard.admin.data.category.CourseCategory crs_cat = new blackboard.admin.data.category.CourseCategory();

blackboard.admin.data.category.OrganizationCategory org_cat = new blackboard.admin.data.category.OrganizationCategory();

blackboard.admin.data.category.CourseCategoryMembership crs_cat_mem = new blackboard.admin.data.category.CourseCategoryMembership();

blackboard.admin.data.category.OrganizationCategoryMembership org_cat_mem = new blackboard.admin.data.category.OrganizationCategoryMembership();