Deprecated API


Contents
Deprecated Classes
blackboard.platform.session.BbSession.Scope
          All attributes are stored in Global scope, since the alternate scopes were never properly implemented 
blackboard.data.content.CourseDocument.Area
          Content areas are no longer used within the course environment. Instead, CourseToc objects are used, which point to different top level folders 
blackboard.data.content.CourseDocument.Type
          This enumeration is superceded by Content.RenderType 
blackboard.platform.LicenseValidationService
            
blackboard.data.user.User.InstRole
            
 

Deprecated Fields
blackboard.data.announcement.Announcement.ANNOUNCEMENT_DATA_TYPE
          Use the constant Announcement.DATA_TYPE instead 
blackboard.data.calendar.CalendarEntry.CALENDAR_ENTRY_DATA_TYPE
          Use the constant CalendarEntry.DATA_TYPE instead 
blackboard.data.course.Course.COURSE_DATA_TYPE
          Use the constant Course.DATA_TYPE instead 
blackboard.data.content.CourseDocument.COURSE_DOCUMENT_DATA_TYPE
          Use the constant CourseDocument.DATA_TYPE instead 
blackboard.data.course.CourseMembership.COURSE_MEMBERSHIP_DATA_TYPE
          Use the constant CourseMembership.DATA_TYPE instead 
blackboard.data.content.ExternalLink.EXTERNAL_LINK_DATA_TYPE
          Use the constant ExternalLink.DATA_TYPE instead 
blackboard.data.content.StaffInfo.STAFF_INFO_DATA_TYPE
          Use the constant StaffInfo.DATA_TYPE instead 
blackboard.data.content.StaffInfoFolder.STAFF_INFO_FOLDER_DATA_TYPE
          Use the constant StaffInfoFolder.DATA_TYPE instead 
blackboard.data.user.User.USER_DATA_TYPE
          Use the constant User.DATA_TYPE instead 
 

Deprecated Methods
blackboard.data.BbAttributes.addBbAttribute(BbAttribute)
          use the setType methods instead 
blackboard.data.course.Course.getAllowEmailEnrollRequests()
            
blackboard.data.content.CourseDocument.getArea()
          The document areas are no longer statically defined. Instead you need to look up the course toc entries 
blackboard.data.announcement.Announcement.getAsmtId()
          This field no longer exists as of Bb6 and should not be used. 
blackboard.data.content.CourseDocument.getAsmtId()
          The links to other objects in the system have been generalized. The preferred method is to use the Link object. This method will always return Id.UNSET_ID 
blackboard.platform.session.BbSession.getAttribute(String, BbSession.Scope)
          Use HttpSession for private attributes (visible only to the calling webapp). Use getGlobalKey() for global attributes (visible across all webapps). 
blackboard.platform.plugin.PlugInManager.getAvailableContentHandlers()
          a filtering iterator is the preferred method for getting this information 
blackboard.platform.plugin.PlugInManager.getAvailablePlugIns()
          plugin availability can be determined either through a filtering interator, or by examining the available property directly. 
blackboard.platform.config.ConfigurationService.getBbServicesDir()
            
blackboard.data.gradebook.GradeRecord.getCourse()
            
blackboard.data.IBbObject.getCreatedDate()
            
blackboard.data.BbObject.getCreatedDate()
            
blackboard.platform.session.BbSession.getCreateTimeMillis()
          The session creation time is not stored in the database. Local "in memory" time is meaningless since sessions can be opened on multiple machines in a load balanced scenario. 
blackboard.platform.BbServiceManager.getDataValidationService()
          DataValidationService implementation is incomplete and unstable at this time. 
blackboard.platform.plugin.PlugInUtil.getDisplayContentReturnURL(Id)
          use getDisplayContentReturnURL(contentId, courseId) 
blackboard.platform.plugin.PlugInUtil.getDisplayContentReturnURL(String)
          use getDisplayContentReturnURL(contentId, courseId) 
blackboard.data.user.User.getDomainId()
          This field no longer exists as of Bb6 and should not be used. 
blackboard.platform.plugin.PlugInUtil.getEditableContentReturnURL(Id)
          use getEditableContentReturnURL(contentId,courseId) 
blackboard.platform.plugin.PlugInUtil.getEditableContentReturnURL(String)
          use getEditableContentReturnURL(contentId, courseId) 
blackboard.data.gradebook.GradeRecord.getGradebookName()
            
blackboard.data.course.Course.getInstitutionId()
            
blackboard.data.user.User.getInstitutionRole()
          Use getPortalRoleId() instead 
blackboard.data.announcement.Announcement.getModifiedDate()
            
blackboard.platform.plugin.PlugInUtil.getNavItemHandle(CourseDocument)
            
blackboard.platform.plugin.PlugInManager.getPlugInsConfigDirectory()
          due to virtual installation layout changes, this method is no longer valid. Use PlugInConfig instead. 
blackboard.data.course.Course.getRequireAccountToEnroll()
            
blackboard.data.course.Course.getShowEmailInSR()
            
blackboard.data.course.Course.getShowFirstNameInSR()
            
blackboard.data.course.Course.getShowLastNameInSR()
            
blackboard.data.course.Course.getShowPhone1InSR()
            
blackboard.data.course.Course.getShowStudentIdInSR()
            
blackboard.data.course.Course.getTargetAudienceId()
            
blackboard.data.content.CourseDocument.getType()
          This attribute is no longer used in Blackboard 6. null will be returned. 
blackboard.data.gradebook.GradeRecord.getUser()
            
blackboard.data.announcement.Announcement.getUserId()
          Has been replaced by the more aptly named Announcement.getCreatorUserId() 
blackboard.data.calendar.CalendarEntry.getUserId()
          has been replaced by CalendarEntry.getCreatorUserId(). 
blackboard.platform.filesystem.FileSystemService.getWebVIDataDirectory()
          This method never worked, because it points to an unavailable d irectory 
blackboard.platform.filesystem.FileSystemService.getWebVIDataDirectory(VirtualInstallation)
          This method never worked, because it points to an unavailable directory 
blackboard.platform.security.authentication.HttpAuthModule.isAuthenticated(HttpServletRequest)
          This method is no longer called. 
blackboard.platform.security.authentication.BaseAuthenticationModule.isAuthenticated(HttpServletRequest)
            
blackboard.platform.security.AccessManagerService.isUserInCourseRole(HttpServletRequest, CourseMembership.Role)
            
blackboard.platform.security.AccessManagerService.isUserInCourseRole(HttpServletRequest, CourseMembership.Role[])
            
blackboard.platform.security.AccessManagerService.isUserInCourseRole(Id, Id, CourseMembership.Role)
            
blackboard.platform.security.AccessManagerService.isUserInSystemRole(HttpServletRequest, User.SystemRole)
            
blackboard.platform.security.AccessManagerService.isUserInSystemRole(HttpServletRequest, User.SystemRole[])
          As of Blackboard 6.0, the authorization API based on \"is user X in role Y\" are deprecated. Authorization for 6.0 will be based on \"does user X have entitlement \'context.target.right\'\" 
blackboard.platform.security.AccessManagerService.isUserInSystemRole(Id, User.SystemRole)
            
blackboard.platform.session.BbSession.lookupCourseContext(HttpServletRequest)
          The return object is not part of the public API and has been removed from use. 
blackboard.platform.session.BbSession.lookupGroupContext(HttpServletRequest)
          The return object is not part of the public API and has been removed from use. 
blackboard.platform.session.BbSession.lookupRequestContext(HttpServletRequest)
          The return object is not part of the public API and has been removed from use. 
blackboard.platform.session.BbSession.lookupUserContext(HttpServletRequest)
          The return object is not part of the public API and has been removed from use. 
blackboard.base.FilteringIterator.nextObject()
          Use next() like a good Iterator should. 
blackboard.platform.session.BbSession.removeAttribute(String, BbSession.Scope)
          This method has no meaning since the corresponding set/get are not implemented. 
blackboard.data.course.Course.setAllowEmailEnrollRequests(boolean)
            
blackboard.data.content.CourseDocument.setArea(CourseDocument.Area)
          The document areas are no longer statically defined. Instead you need to look up the course toc entries 
blackboard.data.announcement.Announcement.setAsmtId(Id)
          This field no longer exists as of Bb6 and should not be used. 
blackboard.data.content.CourseDocument.setAsmtId(Id)
          References to other objects have been generalized through the Link. Use this object to create a "link" from a course document to an assessment instead. This method does no work. 
blackboard.platform.session.BbSession.setAttribute(String, Object, BbSession.Scope)
          Use HttpSession for private attributes (visible only to the calling webapp). Use setGlobalKey() for global attributes (visible across all webapps). 
blackboard.data.gradebook.GradeRecord.setCourse(Course)
          This method should not be used as the course information is set at load. 
blackboard.data.IBbObject.setCreatedDate(Calendar)
            
blackboard.data.BbObject.setCreatedDate(Calendar)
            
blackboard.data.user.User.setDomainId(Id)
          This field no longer exists as of Bb6 and should not be used. 
blackboard.data.gradebook.GradeRecord.setGrade(String)
          This method no longer actually sets a grade as the score is immutable for the purposes of the GradeRecord. 
blackboard.data.gradebook.GradeRecord.setGradebookName(String)
          This method no longer actually sets the title of the gradebook item as it is immutable for the purposes of the GradeRecord. 
blackboard.data.course.Course.setInstitutionId(Id)
            
blackboard.data.user.User.setInstitutionRole(User.InstRole)
          Use setPortalRoleId(Id portalRoleId) instead 
blackboard.data.announcement.Announcement.setModifiedDate(Calendar)
            
blackboard.data.course.Course.setRequireAccountToEnroll(boolean)
            
blackboard.data.course.Course.setShowEmailInSR(boolean)
            
blackboard.data.course.Course.setShowFirstNameInSR(boolean)
            
blackboard.data.course.Course.setShowLastNameInSR(boolean)
            
blackboard.data.course.Course.setShowPhone1InSR(boolean)
            
blackboard.data.course.Course.setShowStudentIdInSR(boolean)
            
blackboard.data.course.Course.setTargetAudienceId(Id)
            
blackboard.data.content.CourseDocument.setType(CourseDocument.Type)
          This attribute is no longer used in Blackboard 6. This method will be a no-op. 
blackboard.data.gradebook.GradeRecord.setUser(User)
          This method should not be used as the user information is set at load. 
blackboard.data.announcement.Announcement.setUserId(Id)
          Has been replaced by the more aptly named Announcement.setCreatorUserId(Id). 
blackboard.data.calendar.CalendarEntry.setUserId(Id)
          has been replaced by CalendarEntry.setCreatorUserId(Id). 
blackboard.platform.security.authentication.SessionStub.updateLastLoginTime(String)
            
 

Deprecated Constructors
blackboard.persist.DataType(String)
          Use DataType.DataType(Class) instead. 
 



Copyright © 2003 Blackboard, Inc. All Rights Reserved.