OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.FoundryQuery
Implementsosid.OsidCatalogQuery
Used Byosid.resourcing.AvailabilityQuery
osid.resourcing.CommissionQuery
osid.resourcing.CompetencyQuery
osid.resourcing.EffortQuery
osid.resourcing.FoundryQuery
osid.resourcing.FoundryQuerySession
osid.resourcing.FoundrySearchSession
osid.resourcing.JobQuery
osid.resourcing.WorkQuery
osid.resourcing.rules.AvailabilityEnablerQuery
show 5 more…
osid.resourcing.rules.CommissionEnablerQuery
osid.resourcing.rules.JobConstrainerEnablerQuery
osid.resourcing.rules.JobConstrainerQuery
osid.resourcing.rules.JobProcessorEnablerQuery
osid.resourcing.rules.JobProcessorQuery
Description

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

MethodmatchJobId
Description

Sets the effort Id for this query to match foundries containing jobs.

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 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 foundries that have any job.

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

Clears the job 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 foundries that have any work.

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

Clears the work query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAvailabilityId
Description

Sets the availability Id for this query to match foundries that have a related availability.

Parametersosid.id.IdavailabilityIdan availability Id
booleanmatchtrue if 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 foundries that have any availability.

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

Clears the availability query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCommissionId
Description

Sets the commission Id for this query.

Parametersosid.id.IdcommissionIdthe commission Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcommissionId is null
CompliancemandatoryThis method must be implemented.
MethodclearCommissionIdTerms
Description

Clears the commission Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCommissionQuery
Description

Tests if a CommissionQuery is available.

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

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

Returnosid.resourcing.CommissionQuerythe commission query
ErrorsUNIMPLEMENTEDsupportsCommissionQuery() is false
ComplianceoptionalThis method must be implemented if supportsCommissionQuery() is true .
MethodmatchAnyCommission
Description

Matches foundries that have any commission.

Parametersbooleanmatchtrue to match foundries with any commission, false to match foundries with no commission
CompliancemandatoryThis method must be implemented.
MethodclearCommissionTerms
Description

Clears the commission query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchEffortId
Description

Sets the effort Id for this query.

Parametersosid.id.IdeffortIdthe effort Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTeffortId is null
CompliancemandatoryThis method must be implemented.
MethodclearEffortIdTerms
Description

Clears the effort Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsEffortQuery
Description

Tests if an EffortQuery is available.

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

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

Returnosid.resourcing.EffortQuerythe effort query
ErrorsUNIMPLEMENTEDsupportsEffortQuery() is false
ComplianceoptionalThis method must be implemented if supportsEffortQuery() is true .
MethodmatchAnyEffort
Description

Matches foundries with any effort.

Parametersbooleanmatchtrue to match foundries with any effort, false to match foundries with no effort
CompliancemandatoryThis method must be implemented.
MethodclearEffortTerms
Description

Clears the effort query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAncestorFoundryId
Description

Sets the foundry Id for this query to match foundries that have the specified foundry as an ancestor.

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

Clears the ancestor foundry Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAncestorFoundryQuery
Description

Tests if a FoundryQuery is available.

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

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

Returnosid.resourcing.FoundryQuerythe foundry query
ErrorsUNIMPLEMENTEDsupportsAncestorFoundryQuery() is false
ComplianceoptionalThis method must be implemented if supportsAncestorFoundryQuery() is true .
MethodmatchAnyAncestorFoundry
Description

Matches foundries with any ancestor.

Parametersbooleanmatchtrue to match foundries with any ancestor, false to match root foundries
CompliancemandatoryThis method must be implemented.
MethodclearAncestorFoundryTerms
Description

Clears the ancestor foundry query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDescendantFoundryId
Description

Sets the foundry Id for this query to match foundries that have the specified foundry as a descendant.

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

Clears the descendant foundry Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDescendantFoundryQuery
Description

Tests if a FoundryQuery is available.

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

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

Returnosid.resourcing.FoundryQuerythe foundry query
ErrorsUNIMPLEMENTEDsupportsDescendantFoundryQuery() is false
ComplianceoptionalThis method must be implemented if supportsDescendantFoundryQuery() is true .
MethodmatchAnyDescendantFoundry
Description

Matches foundries with any descendant.

Parametersbooleanmatchtrue to match foundries with any descendant, false to match leaf foundries
CompliancemandatoryThis method must be implemented.
MethodclearDescendantFoundryTerms
Description

Clears the descendant foundry query terms.

CompliancemandatoryThis method must be implemented.
MethodgetFoundryQueryRecord
Description

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

Parametersosid.type.TypefoundryRecordTypea foundry record type
Returnosid.resourcing.records.FoundryQueryRecordthe foundry query record
ErrorsNULL_ARGUMENTfoundryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(foundryRecordType) is false
CompliancemandatoryThis method must be implemented.