OSID Logo
OSID Specifications
resourcing package
Version 3.1.0
Interfaceosid.resourcing.CompetencySmartFoundrySession
Implementsosid.OsidSession
Used Byosid.resourcing.ResourcingManager
osid.resourcing.ResourcingProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A CompetencyQuery can be retrieved from this session and mapped to this Foundry to create a virtual collection of competencies. The competencies may be sequenced using the CompetencySearchOrder from this session.

This Foundry has a default query that matches any competency and a default search order that specifies no sequencing. The queries may be examined using a CompetencyQueryInspector. The query may be modified by converting the inspector back to a CompetencyQuery.

MethodgetFoundryId
Description

Gets the Foundry Id associated with this session.

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

Gets the Foundry associated with this session.

Returnosid.resourcing.Foundry the foundry
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartFoundries
Description

Tests if this user can manage smart foundries. A return of true does not guarantee successful authorization. A return of false indicates that it is known 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 operations to unauthorized users.

Returnboolean false if smart foundry management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetCompetencyQuery
Description

Gets a competency query.

Returnosid.resourcing.CompetencyQuery the competency query
Compliancemandatory This method must be implemented.
MethodgetCompetencySearchOrder
Description

Gets a competency search order.

Returnosid.resourcing.CompetencySearchOrder the competency search order
Compliancemandatory This method must be implemented.
MethodapplyCompetencyQuery
Description

Applies a competency query to this foundry.

Parametersosid.resourcing.CompetencyQuerycompetencyQuery the competency query
ErrorsNULL_ARGUMENT competencyQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED competencyQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspecCompetencyQuery
Description

Gets a competency query inspector for this foundry.

Returnosid.resourcing.CompetencyQueryInspector the competency query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyCompetencySequencing
Description

Applies a competency search order to this foundry.

Parametersosid.resourcing.CompetencySearchOrdercompetencySearchOrder the competency search order
ErrorsNULL_ARGUMENT competencySearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED competencySearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetCompetencyQueryFromInspector
Description

Gets a competency query from an inspector.

Parametersosid.resourcing.CompetencyQueryInspectorcompetencyQueryInspector a competency query inspector
Returnosid.resourcing.CompetencyQuery the competency query
ErrorsNULL_ARGUMENT competencyQueryInspector is null
UNSUPPORTED competencyQueryInspector is not of this service
Compliancemandatory This method must be implemented.