blackboard.data.content
Class Lesson

java.lang.Object
  extended by blackboard.data.BbObject
      extended by blackboard.data.content.Content
          extended by blackboard.data.content.ContentFolder
              extended by blackboard.data.content.Lesson
All Implemented Interfaces:
Available, Aggregate, Folder, IBbObject, Positionable, java.lang.Cloneable

public class Lesson
extends ContentFolder

The Lesson class represents a list of content that is meant to be viewed in a linear, guided order. It is an aggregate, and thus has addContent() methods, the implementation of which is inherited from ContentFolder.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class blackboard.data.content.Content
Content.RenderType
 
Field Summary
static DataType DATA_TYPE
           
 
Fields inherited from class blackboard.data.content.Content
RESOURCE_BUNDLE
 
Fields inherited from class blackboard.data.BbObject
_bbAttributes
 
Fields inherited from interface blackboard.data.Positionable
POS_UNDEFINED
 
Constructor Summary
Lesson()
          Default constructor for Lesson objects.
 
Method Summary
 boolean acceptsType(java.lang.String handler)
          Returns whether the Lesson may aggregate objects of the specified type.
 DataType getDataType()
          Returns the DataType identifier for this object.
 Sequence getSequence()
          Returns the Sequence for this object.
 
Methods inherited from class blackboard.data.content.ContentFolder
addContent, addContent, getChildren, getIsFolder, getRemoved, remove
 
Methods inherited from class blackboard.data.content.Content
addContentFile, getAllowGuests, getAllowObservers, getBody, getContentFiles, getContentHandler, getContentStatus, getCourseId, getEndDate, getIsAvailable, getIsDescribed, getIsFromCartridge, getIsLesson, getIsReviewable, getIsSequential, getIsTracked, getLaunchInNewWindow, getOfflineName, getOfflinePath, getParentId, getPersistentTitle, getPosition, getRemovedFiles, getRenderType, getStartDate, getTitle, getTitleColor, getUrl, printTree, removeContentFile, removeContentFile, setAllowGuests, setAllowObservers, setBody, setContentHandler, setCourseId, setEndDate, setIsAvailable, setIsDescribed, setIsFolder, setIsFromCartridge, setIsLesson, setIsReviewable, setIsSequential, setIsTracked, setLaunchInNewWindow, setOfflineName, setOfflinePath, setParentId, setPosition, setRenderType, setStartDate, setTitle, setTitleColor, setUrl, traverseContent, validate
 
Methods inherited from class blackboard.data.BbObject
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_TYPE

public static final DataType DATA_TYPE
Constructor Detail

Lesson

public Lesson()
Default constructor for Lesson objects. Creates an empty lesson, with the appropriate content attributes set to appropriate defaults for a lessons (also called Learning Units).

Method Detail

acceptsType

public boolean acceptsType(java.lang.String handler)
Returns whether the Lesson may aggregate objects of the specified type. Most content types are allowed. The only types that cannot be added are:

Specified by:
acceptsType in interface Aggregate
Overrides:
acceptsType in class ContentFolder
Parameters:
handler - string conforming to the content handler identifiers
Returns:
true if the type may be aggregated.

getSequence

public Sequence getSequence()
Returns the Sequence for this object. Currently, this method is not implemented.

Specified by:
getSequence in interface Aggregate
Overrides:
getSequence in class ContentFolder
Returns:
Sequence object

getDataType

public DataType getDataType()
Returns the DataType identifier for this object. Can be used to uniquely identify the "type" of this data object.

Specified by:
getDataType in interface IBbObject
Overrides:
getDataType in class ContentFolder
Returns:
the DataType for this object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.