public interface ActivityBundle extends OsidObject
An ActivityBundle represents a set of Activities
in which a Registration is permissable.
| Modifier and Type | Method and Description |
|---|---|
boolean |
definesCredits()
Tests if registration to this bundle results in credits to be earned.
|
ActivityList |
getActivities()
Gets the activities in this bundle.
|
ActivityBundleRecord |
getActivityBundleRecord(Type activityBundleRecordType)
Gets the activity bundle record corresponding to the given
ActivityBundle record Type. |
IdList |
getActivityIds()
Gets the activity
Ids in this bundle. |
CourseOffering |
getCourseOffering()
Gets the course offering associated with this activity bundle.
|
Id |
getCourseOfferingId()
Gets the course offering
Id associated with this
activity bundle. |
java.math.BigDecimal[] |
getCredits()
Gets the number of credits available to register for in this course.
|
IdList |
getGradingOptionIds()
Gets the various grading option
Ids available to
register in this course. |
GradeSystemList |
getGradingOptions()
Gets the various grading options available to register in this course.
|
boolean |
isGraded()
Tests if a registration to this bundle will be for for grades.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeId getCourseOfferingId()
Id associated with this
activity bundle. Id mandatory - This method must be implemented. CourseOffering getCourseOffering() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. IdList getActivityIds()
Ids in this bundle. Ids of the l earning objectivesmandatory - This method is must be implemented. ActivityList getActivities() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean definesCredits()
true if this course has credits, false
otherwisemandatory - This method must be implemented. java.math.BigDecimal[] getCredits()
IllegalStateException - definesCredits()
is false mandatory - This method must be implemented. boolean isGraded()
true if this registration is for grades,
false otherwisemandatory - This method must be implemented. IdList getGradingOptionIds()
Ids available to
register in this course. Ids IllegalStateException - isGraded() is
false mandatory - This method must be implemented. GradeSystemList getGradingOptions() throws OperationFailedException
IllegalStateException - isGraded() is
false OperationFailedException - unable to complete requestmandatory - This method must be implemented. ActivityBundleRecord getActivityBundleRecord(Type activityBundleRecordType) throws OperationFailedException
ActivityBundle record Type. This method is used
to retrieve an object implementing the requested record. The
activityBundleRecordType may be the Type
returned in getRecordTypes() or any of its parents in a
Type hierarchy where
hasRecordType(activityBundleRecordType) is true
.activityBundleRecordType - the type of activity bundle record to
retrieveNullArgumentException - activityBundleRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(activityBundleRecordType) is
false mandatory - This method must be implemented.