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.discussionboard.datamanager.MessageManager.collectMessagesByIds(String)
          This loader does not load message status objects with the messages. Use collectMessagesWithStatusByStringIds( String[] messageIds, Id currentUserInContext ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByIds(String)
          This loader does not load message status objects with the messages. Use #loadMessagesByMsgIdsWithStatus( List msgIds, Id userId ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByIds(String, Connection)
          This loader does not load message status objects with the messages. Use #loadMessagesByMsgIdsWithStatus( List msgIds, Id userId, Connection con ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesBySearch(Id, String, String, String, String, Id)
          This loader does not load message status objects with the messages. Use #loadMessagesBySearchWithStatus( Id userId, String scopeType, Id scopeId, String keyword, String startDate, String endDate, boolean includeTopic ) 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesBySearch(Id, String, String, String, String, Id, Connection)
          This loader does not load message status objects with the messages. Use #loadMessagesBySearchWithStatus(Id, String, Id, String, String, String, boolean, boolean, Connection) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByThreadId(Id)
          This loader does not load message status objects with the messages. Use #loadMessageThreadWithStatus( Id topMsgId, Id userId ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByThreadId(Id, Connection)
          This loader does not load message status objects with the messages. Use #loadMessageThreadWithStatus( Id topMsgId, Id userId, Connection con ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByUserIdAndForumId(Id, Id)
          This loader does not load message status objects with the messages. Use #loadMessagesByForumIdAndAuthorIdWithStatus(Id, Id, Id, boolean, boolean) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByUserIdAndForumId(Id, Id, Connection)
          This loader does not load message status objects with the messages. Use #loadMessagesByForumIdAndAuthorIdWithStatus(Id, Id, Id, boolean, boolean, Connection) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByUserIdAndThreadId(Id, Id)
          This loader does not load message status objects with the messages. Use #loadMessagesByThreadIdAndAuthorIdWithStatus(Id, Id, Id, boolean, boolean) instead. 
blackboard.persist.discussionboard.MessageDbLoader.collectMessagesByUserIdAndThreadId(Id, Id, Connection)
          This loader does not load message status objects with the messages. Use #loadMessagesByThreadIdAndAuthorIdWithStatus(Id, Id, Id, boolean, boolean, Connection) instead. 
blackboard.data.course.Course.getAllowEmailEnrollRequests()
            
blackboard.data.discussionboard.ForumProperties.getAllowSubscribe()
          use getAllowThreadSubscribe instead 
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.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.data.user.User.getDomainId()
          This field no longer exists as of Bb6 and should not be used. 
blackboard.data.course.Course.getInstitutionId()
            
blackboard.data.user.User.getInstitutionRole()
          Use getPortalRoleId() instead 
blackboard.portal.external.CustomData.getKeys()
          In favour of getKeySet(). 
blackboard.data.role.PortalRole.getLabel()
          getRoleName() should now be used. 
blackboard.data.announcement.Announcement.getModifiedDate()
            
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.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.persist.discussionboard.ForumDbLoader.loadForumsWithStatus(Id, Id)
          use loadForumsByConferenceId instead 
blackboard.persist.discussionboard.ForumDbLoader.loadForumsWithStatus(Id, Id, Connection)
          use loadForumsByConferenceId instead 
blackboard.persist.discussionboard.MessageDbLoader.loadThreadWithStatus(Id, Id)
          This loader does not load message status objects with the messages. Use #loadTopThreadsWithStatusAndCountsByForumId( Id forumId, Id userId, boolean loadTags ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.loadThreadWithStatus(Id, Id, Connection)
          This loader does not load message status objects with the messages. Use #loadTopThreadsWithStatusAndCountsByForumId( Id forumId, Id userId, boolean loadTags, Connection con ) instead. 
blackboard.persist.discussionboard.MessageDbLoader.loadTreeWithStatus(Id, Id)
          This loader does not load message status objects with the messages. Use MessageDbLoader.loadMessageThreadWithStatus(Id, Id, boolean, boolean, boolean) using a thread id instead. 
blackboard.persist.discussionboard.MessageDbLoader.loadTreeWithStatus(Id, Id, Connection)
          This loader does not load message status objects with the messages. Use MessageDbLoader.loadMessageThreadWithStatus(Id, Id, boolean, boolean, boolean, Connection) using a thread id instead. 
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.discussionboard.ForumProperties.setAllowSubscribe(Boolean)
          use setAllowThreadSubscribe instead 
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.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.course.Course.setInstitutionId(Id)
            
blackboard.data.user.User.setInstitutionRole(User.InstRole)
          Use setPortalRoleId(Id portalRoleId) instead 
blackboard.data.role.PortalRole.setLabel(String)
          setRoleName(String name) should now be used. 
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.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.data.discussionboard.UserForumSettings.setUserInfo(User)
          use setUser instead 
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.