| Interface | osid.course.registration.batch.ActivityBundleBatchAdminSession | ||
|---|---|---|---|
| Implements | osid.course.registration.ActivityBundleAdminSession | ||
| Description | 
                 This session creates, updates, and deletes   Create and update operations differ in their usage. To 
                create a   The   Once a batch of   For updates,   Once a batch of   The delete operations delete   | ||
| Method | getActivityBundleFormsForCreate | ||
| Description | 
                     Gets the activity bundle forms for creating a bunch of new actvity bundles. An ActivityBundleForm is returned for each supplied course offering.  | ||
| Parameters | osid.id.IdList | courseOfferingIds | a list of course offering  Ids   | 
osid.type.Type[] | activityBundleRecordTypes | array of activity bundle record types to be included in each create operation or an empty list if none | |
| Return | osid.course.registration.batch.ActivityBundleBatchFormList | the activity bundle forms | |
| Errors | NOT_FOUND | a  courseOfferingId  is not found  |                 |
| NULL_ARGUMENT |  courseOfferingIds  or  activityBundleRecordTypes 
 is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to request forms with given record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createActivityBundles | ||
| Description | 
                     Creates a new set of   | ||
| Parameters | osid.course.registration.batch.ActivityBundleBatchFormList | activityBundleForms | the activity bundle forms | 
| Return | osid.transaction.batch.CreateResponseList | the create responses | |
| Errors | NULL_ARGUMENT |  activityBundleForms  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityBundleFormsForUpdate | ||
| Description | 
                     Gets the activity bundle forms for updating an existing set of actvity bundles. A new activity bundle form should be requested for each update transaction.  | ||
| Parameters | osid.id.IdList | activityBundleIds | the  Ids  of the  ActivityBundle   | 
| Return | osid.course.registration.batch.ActivityBundleBatchFormList | the activity bundle form | |
| Errors | NOT_FOUND | a  activityBundleId  is not found  |                 |
| NULL_ARGUMENT |  activityBundleIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateActivityBundles | ||
| Description | 
                     Updates existing actvity bundles. This method returns 
                    an error if the entire operation fails. Otherwise, the 
                    status of an individual update operation is indicated in 
                    the   | ||
| Parameters | osid.course.registration.batch.ActivityBundleBatchFormList | activityBundleForms | the form containing the elements to be updated | 
| Return | osid.transaction.batch.UpdateResponseList | the update responses | |
| Errors | NULL_ARGUMENT |  activityBundleForms  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAllActivityBundles | ||
| Description | 
                     Deletes all   | ||
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteActivityBundles | ||
| Description | 
                     Deletes actvity bundles for the given   | ||
| Parameters | osid.id.IdList | activityBundleIds | the  Ids  of the actvity bundles to delete  | 
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT |  activityBundleIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteActivityBundlesForCourseOffering | ||
| Description | 
                     Deletes actvity bundles for the given course offering.  | ||
| Parameters | osid.id.Id | courseOfferingId | the  Id  of a course offering  | 
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT |  courseOfferingId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteActivityBundlesByActivityOffering | ||
| Description | 
                     Deletes actvity bundles containing the given activity offering.  | ||
| Parameters | osid.id.Id | activityOfferingId | the  Id  of an activity offering  | 
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT |  activityOfferingId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasActivityBundles | ||
| Description | 
                     Adds an   | ||
| Parameters | osid.transaction.batch.AliasRequestList | aliasRequests | the alias requests | 
| Return | osid.transaction.batch.AliasResponseList | the alias responses | |
| Errors | NULL_ARGUMENT |  aliasRequests  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |