Interface | osid.learning.batch.ProficiencyBatchAdminSession | ||
---|---|---|---|
Implements | osid.learning.ProficiencyAdminSession | ||
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 | getProficiencyFormsForCreate | ||
Description |
Gets the proficiency forms for creating a bunch of new proficiencies. A form is returned for each supplied objective and resource peer. | ||
Parameters | osid.learning.batch.ProficiencyPeerList | peers | the proficiency peers |
osid.type.Type[] | proficiencyRecordTypes | array of proficiency record types to be included in each create operation or an empty list if none | |
Return | osid.learning.batch.ProficiencyBatchFormList | the proficiency forms | |
Errors | NOT_FOUND | an objectiveId or resourceId is not found | |
NULL_ARGUMENT | peers or proficiencyRecordTypes 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 | createProficiencies | ||
Description |
Creates a new set of | ||
Parameters | osid.learning.batch.ProficiencyBatchFormList | proficiencyForms | the proficiency forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | proficiencyForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getProficiencyFormsForUpdate | ||
Description |
Gets the proficiency forms for updating an existing set of proficiencies. A new proficiency form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | proficiencyIds | the Ids of the Proficiency |
Return | osid.learning.batch.ProficiencyBatchFormList | the proficiency form | |
Errors | NOT_FOUND | a proficiencyId is not found | |
NULL_ARGUMENT | proficiencyIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateProficiencies | ||
Description |
Updates existing proficiencies. This method returns an
error if the entire operation fails. Otherwise, the status
of an individual update operation is indicated in the
| ||
Parameters | osid.learning.batch.ProficiencyBatchFormList | proficiencyForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | proficiencyForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllProficiencies | ||
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 | deleteProficiencies | ||
Description |
Deletes proficiencies for the given | ||
Parameters | osid.id.IdList | proficiencyIds | the Ids of the proficiencies to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | proficiencyIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteProficienciesForObjective | ||
Description |
Deletes proficiencies for the given objective. | ||
Parameters | osid.id.Id | objectiveId | the Id of an objective |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | objectiveId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteProficienciesForResource | ||
Description |
Deletes proficiencies for the given resource. | ||
Parameters | osid.id.Id | resourceId | the Id of a resource |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteIneffectiveProficienciesByDate | ||
Description |
Deletes proficiencies expired befoe the given date. | ||
Parameters | osid.calendaring.DateTime | date | a date |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | date is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasProficiencies | ||
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. |