OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.CompetencyQuery
Implementsosid.OsidObjectQuery
Used Byosid.resourcing.AvailabilityQuery
osid.resourcing.CommissionQuery
osid.resourcing.CompetencyQuerySession
osid.resourcing.CompetencySearchSession
osid.resourcing.CompetencySmartFoundrySession
osid.resourcing.JobQuery
osid.resourcing.WorkQuery
Description

This is the query for searching competencies. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

MethodmatchLearningObjectiveId
Description

Sets the learning objective Id for this query.

Parametersosid.id.IdobjectiveIdthe learning objective Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTobjectiveId is null
CompliancemandatoryThis method must be implemented.
MethodclearLearningObjectiveIdTerms
Description

Clears the learning objective Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsLearningObjectiveQuery
Description

Tests if an ObjectiveQuery is available.

Returnbooleantrue if a learning objective query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetLearningObjectiveQuery
Description

Gets the query for a learning objective. Multiple retrievals produce a nested OR term.

Returnosid.learning.ObjectiveQuerythe learning objective query
ErrorsUNIMPLEMENTEDsupportsLearningObjectiveQuery() is false
ComplianceoptionalThis method must be implemented if supportsLearningObjectiveQuery() is true .
MethodmatchAnyLearningObjective
Description

Matches competencies that have any learning objective.

Parametersbooleanmatchtrue to match competencies with any learning objective, false to match competencies with no learning objective
CompliancemandatoryThis method must be implemented.
MethodclearLearningObjectiveTerms
Description

Clears the learning objective query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAvailabilityId
Description

Sets the availability Id for this query.

Parametersosid.id.IdavailabilityIdthe availability Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTavailabilityId is null
CompliancemandatoryThis method must be implemented.
MethodclearAvailabilityIdTerms
Description

Clears the availability Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAvailabilityQuery
Description

Tests if an AvailabilityQuery is available.

Returnbooleantrue if an availability query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAvailabilityQuery
Description

Gets the query for an availability. Multiple retrievals produce a nested OR term.

Returnosid.resourcing.AvailabilityQuerythe availability query
ErrorsUNIMPLEMENTEDsupportsAvailabilityQuery() is false
ComplianceoptionalThis method must be implemented if supportsAvailabilityQuery() is true .
MethodmatchAnyAvailability
Description

Matches competencies that are used in any availability.

Parametersbooleanmatchtrue to match competencies with any availability, false to match competencies with no availability
CompliancemandatoryThis method must be implemented.
MethodclearAvailabilityTerms
Description

Clears the availability query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkIdthe work Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTworkId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

Returnbooleantrue if a work query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWorkQuery
Description

Gets the query for a work. Multiple retrievals produce a nested OR term.

Returnosid.resourcing.WorkQuerythe work query
ErrorsUNIMPLEMENTEDsupportsWorkQuery() is false
ComplianceoptionalThis method must be implemented if supportsWorkQuery() is true .
MethodmatchAnyWork
Description

Matches competencies that are used in any work.

Parametersbooleanmatchtrue to match competencies with any work, false to match competencies with no work
CompliancemandatoryThis method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchJobId
Description

Sets the job Id for this query.

Parametersosid.id.IdjobIdthe job Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTjobId is null
CompliancemandatoryThis method must be implemented.
MethodclearJobIdTerms
Description

Clears the job Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsJobQuery
Description

Tests if a JobQuery is available.

Returnbooleantrue if a job query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetJobQuery
Description

Gets the query for a job. Multiple retrievals produce a nested OR term.

Returnosid.resourcing.JobQuerythe job query
ErrorsUNIMPLEMENTEDsupportsJobQuery() is false
ComplianceoptionalThis method must be implemented if supportsJobQuery() is true .
MethodmatchAnyJob
Description

Matches competencies that are used in any job.

Parametersbooleanmatchtrue to match competencies with any job, false to match competencies with no job
CompliancemandatoryThis method must be implemented.
MethodclearJobTerms
Description

Clears the job query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchFoundryId
Description

Sets the foundry Id for this query to match competencies assigned to foundries.

Parametersosid.id.IdfoundryIdthe foundry Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTfoundryId is null
CompliancemandatoryThis method must be implemented.
MethodclearFoundryIdTerms
Description

Clears the foundry Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsFoundryQuery
Description

Tests if a FoundryQuery is available.

Returnbooleantrue if a foundry query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetFoundryQuery
Description

Gets the query for a foundry. Multiple retrievals produce a nested OR term.

Returnosid.resourcing.FoundryQuerythe foundry query
ErrorsUNIMPLEMENTEDsupportsFoundryQuery() is false
ComplianceoptionalThis method must be implemented if supportsFoundryQuery() is true .
MethodclearFoundryTerms
Description

Clears the foundry query terms.

CompliancemandatoryThis method must be implemented.
MethodgetCompetencyQueryRecord
Description

Gets the competency query record corresponding to the given Competency record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecompetencyRecordTypea competency record type
Returnosid.resourcing.records.CompetencyQueryRecordthe competency query record
ErrorsNULL_ARGUMENTcompetencyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(competencyRecordType) is false
CompliancemandatoryThis method must be implemented.