OSID Logo
OSID Specifications
learning package
Version 3.1.0
Interfaceosid.learning.ObjectiveSequencingSession
Implementsosid.OsidSession
Used Byosid.learning.LearningManager
osid.learning.LearningProxyManager
Description

This session provides methods to sequence the objectives in the objective hierarchy.

MethodgetObjectiveHierarchyId
Description

Gets the hierarchy Id associated with this session.

Returnosid.id.Id the hierarchy Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetObjectiveHierarchy
Description

Gets the hierarchy associated with this session.

Returnosid.hierarchy.Hierarchy the hierarchy associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceObjectives
Description

Tests if this user can sequence objectives. A return of true does not guarantee successful authorization. A return of false indicates that it is known performing any update will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer these operations to an unauthorized user.

Returnboolean false if sequencing objectives is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveObjectiveAhead
Description

Moves an objective ahead of a refrence objective under the given parent.

Parametersosid.id.IdparentObjectiveId the Id of the parent objective
osid.id.IdreferenceObjectiveId the Id of the objective
osid.id.IdobjectiveId the Id of the objective to move ahead of referenceObjectiveId
ErrorsNOT_FOUND parentObjectiveId, referenceObjectiveId, or objectiveId not found, or referenceObjectiveId or objectiveId is not a child of parentObjectiveId
NULL_ARGUMENT parentObjectiveId, referenceObjectiveId, or id is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveObjectiveBehind
Description

Moves an objective behind a refrence objective under the given parent.

Parametersosid.id.IdparentObjectiveId the Id of the parent objective
osid.id.IdreferenceObjectiveId the Id of the objective
osid.id.IdobjectiveId the Id of the objective to move behind referenceObjectiveId
ErrorsNOT_FOUND parentObjectiveId, referenceObjectiveId, or objectiveId not found, or referenceObjectiveId or objectiveId is not a child of parentObjectiveId
NULL_ARGUMENT parentObjectiveId, referenceObjectiveId, or id is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodsequenceObjectives
Description

Sequences a set of objectives under a parent.

Parametersosid.id.IdparentObjectiveId the Id of the parent objective
osid.id.Id[]objectiveIds the Id of the objectives
ErrorsNOT_FOUND parentId or an objectiveId not found, or an objectiveId is not a child of parentObjectiveId
NULL_ARGUMENT parenObjectivetId or objectiveIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.