OSID Logo
OSID Specifications
resourcing package
Version 3.1.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.IdjobId the job Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT jobId is null
Compliancemandatory This method must be implemented.
MethodclearJobIdTerms
Description

Clears the job query terms.

Compliancemandatory This method must be implemented.
MethodsupportsJobQuery
Description

Tests if a JobQuery is available.

Returnboolean true if a job query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetJobQuery
Description

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

Returnosid.resourcing.JobQuery the job query
ErrorsUNIMPLEMENTED supportsJobQuery() is false
Complianceoptional This method must be implemented if supportsJobQuery() is true.
MethodmatchAnyJob
Description

Matches foundries that have any job.

Parametersbooleanmatch true to match foundries with any job, false to match foundries with no job
Compliancemandatory This method must be implemented.
MethodclearJobTerms
Description

Clears the job query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkId the work Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT workId is null
Compliancemandatory This method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

Returnboolean true if a work query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetWorkQuery
Description

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

Returnosid.resourcing.WorkQuery the work query
ErrorsUNIMPLEMENTED supportsWorkQuery() is false
Complianceoptional This method must be implemented if supportsWorkQuery() is true.
MethodmatchAnyWork
Description

Matches foundries that have any work.

Parametersbooleanmatch true to match foundries with any work, false to match foundries with no job
Compliancemandatory This method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

Compliancemandatory This method must be implemented.
MethodmatchAvailabilityId
Description

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

Parametersosid.id.IdavailabilityId an availability Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT availabilityId is null
Compliancemandatory This method must be implemented.
MethodclearAvailabilityIdTerms
Description

Clears the availability Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAvailabilityQuery
Description

Tests if an AvailabilityQuery is available.

Returnboolean true if an availability query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAvailabilityQuery
Description

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

Returnosid.resourcing.AvailabilityQuery the availability query
ErrorsUNIMPLEMENTED supportsAvailabilityQuery() is false
Complianceoptional This method must be implemented if supportsAvailabilityQuery() is true.
MethodmatchAnyAvailability
Description

Matches foundries that have any availability.

Parametersbooleanmatch true to match foundries with any availability, false to match foundries with no availability
Compliancemandatory This method must be implemented.
MethodclearAvailabilityTerms
Description

Clears the availability query terms.

Compliancemandatory This method must be implemented.
MethodmatchCommissionId
Description

Sets the commission Id for this query.

Parametersosid.id.IdcommissionId the commission Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT commissionId is null
Compliancemandatory This method must be implemented.
MethodclearCommissionIdTerms
Description

Clears the commission Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsCommissionQuery
Description

Tests if a CommissionQuery is available.

Returnboolean true if a commission query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCommissionQuery
Description

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

Returnosid.resourcing.CommissionQuery the commission query
ErrorsUNIMPLEMENTED supportsCommissionQuery() is false
Complianceoptional This method must be implemented if supportsCommissionQuery() is true.
MethodmatchAnyCommission
Description

Matches foundries that have any commission.

Parametersbooleanmatch true to match foundries with any commission, false to match foundries with no commission
Compliancemandatory This method must be implemented.
MethodclearCommissionTerms
Description

Clears the commission query terms.

Compliancemandatory This method must be implemented.
MethodmatchEffortId
Description

Sets the effort Id for this query.

Parametersosid.id.IdeffortId the effort Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT effortId is null
Compliancemandatory This method must be implemented.
MethodclearEffortIdTerms
Description

Clears the effort Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsEffortQuery
Description

Tests if an EffortQuery is available.

Returnboolean true if an effort query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetEffortQuery
Description

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

Returnosid.resourcing.EffortQuery the effort query
ErrorsUNIMPLEMENTED supportsEffortQuery() is false
Complianceoptional This method must be implemented if supportsEffortQuery() is true.
MethodmatchAnyEffort
Description

Matches foundries with any effort.

Parametersbooleanmatch true to match foundries with any effort, false to match foundries with no effort
Compliancemandatory This method must be implemented.
MethodclearEffortTerms
Description

Clears the effort query terms.

Compliancemandatory This 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.IdfoundryId a foundry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT foundryId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorFoundryIdTerms
Description

Clears the ancestor foundry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorFoundryQuery
Description

Tests if a FoundryQuery is available.

Returnboolean true if a foundry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorFoundryQuery
Description

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

Returnosid.resourcing.FoundryQuery the foundry query
ErrorsUNIMPLEMENTED supportsAncestorFoundryQuery() is false
Complianceoptional This method must be implemented if supportsAncestorFoundryQuery() is true.
MethodmatchAnyAncestorFoundry
Description

Matches foundries with any ancestor.

Parametersbooleanmatch true to match foundries with any ancestor, false to match root foundries
Compliancemandatory This method must be implemented.
MethodclearAncestorFoundryTerms
Description

Clears the ancestor foundry query terms.

Compliancemandatory This 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.IdfoundryId a foundry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT foundryId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantFoundryIdTerms
Description

Clears the descendant foundry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantFoundryQuery
Description

Tests if a FoundryQuery is available.

Returnboolean true if a foundry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantFoundryQuery
Description

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

Returnosid.resourcing.FoundryQuery the foundry query
ErrorsUNIMPLEMENTED supportsDescendantFoundryQuery() is false
Complianceoptional This method must be implemented if supportsDescendantFoundryQuery() is true.
MethodmatchAnyDescendantFoundry
Description

Matches foundries with any descendant.

Parametersbooleanmatch true to match foundries with any descendant, false to match leaf foundries
Compliancemandatory This method must be implemented.
MethodclearDescendantFoundryTerms
Description

Clears the descendant foundry query terms.

Compliancemandatory This 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.TypefoundryRecordType a foundry record type
Returnosid.resourcing.records.FoundryQueryRecord the foundry query record
ErrorsNULL_ARGUMENT foundryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(foundryRecordType) is false
Compliancemandatory This method must be implemented.