|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--blackboard.data.BbObject
|
+--blackboard.data.course.CourseMembership
The CourseMembership class is a representation of a course
membership record within the Blackboard application. A course membership
record defines a user's role within a particular course.
| Nested Class Summary | |
static class |
CourseMembership.Role
|
| Field Summary | |
static DataType |
COURSE_MEMBERSHIP_DATA_TYPE
Deprecated. Use the constant DATA_TYPE instead |
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
_bbAttributes |
| Constructor Summary | |
CourseMembership()
Creates an instance of CourseMembership with default property
values. |
|
| Method Summary | |
void |
appendFavoriteLink(BbLink favoriteLink)
Appends the given BbLink to the current list of favorite links
currently defined for this CourseMembership. |
Id |
getCourseId()
Returns the course Id associated with this CourseMembership
. |
Id |
getDataSourceId()
Returns the data source Id of this CourseMembership. |
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.util.Calendar |
getEnrollmentDate()
Returns the date on which this CourseMembership (enrollment
record) object was created. |
BbList |
getFavoriteLinks()
Returns the list of favorite links for this CourseMembership. |
boolean |
getHasCartridgeAccess()
Returns the has cartridge access flag for this CourseMembership.
|
BbFile |
getImageFile()
Returns the image of this CourseMembership object. |
java.lang.String |
getIntroduction()
Returns the introduction associated with this CourseMembership. |
boolean |
getIsAvailable()
Returns the availability flag for this CourseMembership. |
java.lang.String |
getNotes()
Returns the notes associated with this CourseMembership. |
java.lang.String |
getPersonalInfo()
Returns the personal information associated with this CourseMembership
. |
CourseMembership.Role |
getRole()
Returns the role for this CourseMembership. |
User |
getUser()
Returns the User attribute associated with this
CourseMembership.
|
Id |
getUserId()
Returns the user Id associated with this CourseMembership
. |
void |
setCourseId(Id iCourseId)
Sets the course Id value for this CourseMembership. |
void |
setDataSourceId(Id iDataSourceId)
Sets the data source Id value for this CourseMembership. |
void |
setEnrollmentDate(java.util.Calendar cEnrollmentDate)
Sets the enrollment date for this CourseMembership. |
void |
setFavoriteLinks(BbList favoriteLinks)
Sets the list of favorite links for this CourseMembership. |
void |
setHasCartridgeAccess(boolean bHasCartridgeAccess)
Sets the has cartridge flag for this CourseMembership. |
void |
setImageFile(BbFile imageFile)
Sets the image value for this CourseMembership object. |
void |
setIntroduction(java.lang.String strIntroduction)
Sets the introduction associated with this CourseMembership. |
void |
setIsAvailable(boolean bIsAvailable)
Sets the availability flag for this CourseMembership. |
void |
setNotes(java.lang.String strNotes)
Sets the notes associated with this CourseMembership. |
void |
setPersonalInfo(java.lang.String strPersonalInfo)
Sets the personal information associated with this CourseMembership
. |
void |
setRole(CourseMembership.Role eRole)
Sets the role for this CourseMembership. |
void |
setUser(User user)
Sets the User associated with this CourseMembership. |
void |
setUserId(Id iUserId)
Sets the user Id value for this CourseMembership. |
| Methods inherited from class blackboard.data.BbObject |
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final DataType DATA_TYPE
public static final DataType COURSE_MEMBERSHIP_DATA_TYPE
DATA_TYPE instead
| Constructor Detail |
public CourseMembership()
CourseMembership with default property
values.
| Method Detail |
public Id getUserId()
Id associated with this CourseMembership
.
Id value for this course membershippublic void setUserId(Id iUserId)
Id value for this CourseMembership.
iUserId - the user Id value to use for this course membershippublic Id getCourseId()
Id associated with this CourseMembership
.
Id value for this course membershippublic void setCourseId(Id iCourseId)
Id value for this CourseMembership.
iCourseId - the course Id value to use for this course membershippublic Id getDataSourceId()
Id of this CourseMembership.
Id value for this course membershippublic void setDataSourceId(Id iDataSourceId)
Id value for this CourseMembership.
iDataSourceId - a data source Id value to use for this course
membershippublic boolean getIsAvailable()
CourseMembership.
getIsAvailable in interface Availablepublic void setIsAvailable(boolean bIsAvailable)
CourseMembership.
setIsAvailable in interface AvailablebIsAvailable - true if this course membership is to be made available,
false otherwise.public CourseMembership.Role getRole()
CourseMembership.
CourseMembership.RoleCourseMembership.Rolepublic void setRole(CourseMembership.Role eRole)
CourseMembership.
eRole - a valid role value as defined in CourseMembership.RoleCourseMembership.Rolepublic boolean getHasCartridgeAccess()
CourseMembership.
When a course cartridge has been "imported" into a course, all the students
of the course are required to prove their ability to access the content by
authenticating against the cartridge server (provide a key). Until they
have, they should not be allowed to access cartridge content.
public void setHasCartridgeAccess(boolean bHasCartridgeAccess)
CourseMembership. This
should be set to "true" if the user has successfully authenticated against
the cartridge server for access to cartridge content within the course.
bHasCartridgeAccess - true if the user represented by this course
membership can access cartridge content in the course, false otherwise.public BbList getFavoriteLinks()
CourseMembership.
BbList with the favorite links defined for the course
membership objectpublic void setFavoriteLinks(BbList favoriteLinks)
CourseMembership.
favoriteLinks - a BbList containing the set of favorite links
to use for this course membershippublic void appendFavoriteLink(BbLink favoriteLink)
BbLink to the current list of favorite links
currently defined for this CourseMembership. Nothing will be
added to the list if the given BbLink is null.
favoriteLink - the BbLink to append to the current list of
favorite linkspublic BbFile getImageFile()
CourseMembership object.
BbFile representing the image of this course membershippublic void setImageFile(BbFile imageFile)
CourseMembership object.
imageFile - a BbFile with the image for this course membershippublic java.lang.String getIntroduction()
CourseMembership.
Stringpublic void setIntroduction(java.lang.String strIntroduction)
CourseMembership.
strIntroduction - a String containing the introduction for
this course membershippublic java.lang.String getPersonalInfo()
CourseMembership
.
String containing the personal information value of this
course membershippublic void setPersonalInfo(java.lang.String strPersonalInfo)
CourseMembership
.
strPersonalInfo - a String containing the personal information
for this course membershippublic java.lang.String getNotes()
CourseMembership. Notes
are entered using the "Electric Blackboard" tool within a course.
String containing the notes value of this course membershippublic void setNotes(java.lang.String strNotes)
CourseMembership. Notes
are entered using the "Electric Blackboard" tool within a course.
strNotes - a String containing the notes for this course
membershippublic java.util.Calendar getEnrollmentDate()
CourseMembership (enrollment
record) object was created.
Calendar representing the enrollment date of this
CourseMembershippublic void setEnrollmentDate(java.util.Calendar cEnrollmentDate)
CourseMembership. This value
does not need to be set when creating a new enrollment record because the
database will default to the current date if a value is not provided.
cEnrollmentDate - a Calendar to use for the enrollment
datepublic User getUser()
User attribute associated with this
CourseMembership.
CourseMembership was loaded using a "heavy" load method.
Accessing this value when it has not been loaded is an error.
user value for this course membershippublic void setUser(User user)
User associated with this CourseMembership.
user - the user attribute to use for this course membershippublic DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
getDataType in interface IBbObjectgetDataType in class BbObjectDataType for this object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||