OSID Logo
OSID Specifications
learning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.learning.ObjectiveRequisiteAssignmentSession
Implementsosid.OsidSession
Description

This session provides methods to manage requisites. Each ObjectiveBank may have its own authorizations governing who is allowed to operate on it.

Moving or adding a reference of an Objective to another ObjectiveBank is not a copy operation (eg: does not change its Id ).

MethodgetObjectiveBankId
Description

Gets the ObjectiveBank Id associated with this session.

Returnosid.id.Idthe ObjectiveBank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveBank
Description

Gets the ObjectiveBank associated with this session.

Returnosid.learning.ObjectiveBankthe ObjectiveBank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanAssignRequisites
Description

Tests if this user can manage objective requisites. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer assignment operations to unauthorized users.

Returnboolean false if mapping is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodassignObjectiveRequisite
Description

Creates a requirement dependency between two Objectives.

Parametersosid.id.IdobjectiveIdthe Id of the dependent Objective
osid.id.IdrequisiteObjectiveIdthe Id of the required Objective
ErrorsALREADY_EXISTS objectiveId already mapped to requisiteObjectiveId
NOT_FOUND objectiveId or requisiteObjectiveId not found
NULL_ARGUMENT objectiveId or requisiteObjectiveId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignObjectiveRequisite
Description

Removes an Objective requisite from an Objective.

Parametersosid.id.IdobjectiveIdthe Id of the Objective
osid.id.IdrequisiteObjectiveIdthe Id of the required Objective
ErrorsNOT_FOUND objectiveId or requisiteObjectiveId not found or objectiveId not mapped to requisiteObjectiveId
NULL_ARGUMENT objectiveId or requisiteObjectiveId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodassignEquivalentObjective
Description

Makes an objective equivalent to another objective for the purposes of satisfying a requisite.

Parametersosid.id.IdobjectiveIdthe Id of the principal Objective
osid.id.IdequivalentObjectiveIdthe Id of the equivalent Objective
ErrorsALREADY_EXISTS objectiveId already mapped to equiavelntObjectiveId
NOT_FOUND objectiveId or equivalentObjectiveId not found
NULL_ARGUMENT objectiveId or equivalentObjectiveId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignEquivalentObjective
Description

Removes an Objective requisite from an Objective.

Parametersosid.id.IdobjectiveIdthe Id of the principal Objective
osid.id.IdequivalentObjectiveIdthe Id of the equivalent Objective
ErrorsNOT_FOUND objectiveId or equivalentObjectiveId not found or objectiveId is already equivalent to equivalentObjectiveId
NULL_ARGUMENT objectiveId or equivalentObjectiveId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.