OSID Logo
OSID Specifications
hold package
Version 3.1.0
Interfaceosid.hold.IssueQuery
Implementsosid.OsidGovernatorQuery
Used Byosid.hold.BlockQuery
osid.hold.HoldQuery
osid.hold.IssueQuerySession
osid.hold.IssueSearchSession
osid.hold.IssueSmartOublietteSession
osid.hold.OublietteQuery
osid.hold.rules.IssueConstrainerQuery
osid.hold.rules.IssueEnablerQuery
osid.hold.rules.IssueProcessorQuery
Description

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

MethodmatchBureauId
Description

Sets the bureau Id for this query.

Parametersosid.id.IdbureauId the bureau Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bureauId is null
Compliancemandatory This method must be implemented.
MethodclearBureauIdTerms
Description

Clears the bureau Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBureauQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the bureau query
ErrorsUNIMPLEMENTED supportsBureauQuery() is false
Complianceoptional This method must be implemented if supportsBureauQuery() is true.
MethodmatchAnyBureau
Description

Matches issues with any bureau.

Parametersbooleanmatch true to match issues with any bureaus, false to match issues with no bureaus
Compliancemandatory This method must be implemented.
MethodclearBureauTerms
Description

Clears the bureau query terms.

Compliancemandatory This method must be implemented.
MethodmatchBlockId
Description

Sets the block Id for this query.

Parametersosid.id.IdblockId the block Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT blockId is null
Compliancemandatory This method must be implemented.
MethodclearBlockIdTerms
Description

Clears the block Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsBlockQuery
Description

Tests if a BlockQuery is available.

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

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

Returnosid.hold.BlockQuery the block query
ErrorsUNIMPLEMENTED supportsBlockQuery() is false
Complianceoptional This method must be implemented if supportsBlockQuery() is true.
MethodmatchAnyBlock
Description

Matches issues used for any block.

Parametersbooleanmatch true to match issues with any blocks, false to match issues with no blocks
Compliancemandatory This method must be implemented.
MethodclearBlockTerms
Description

Clears the block query terms.

Compliancemandatory This method must be implemented.
MethodmatchHoldId
Description

Sets the hold Id for this query.

Parametersosid.id.IdholdId the hold Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT holdId is null
Compliancemandatory This method must be implemented.
MethodclearHoldIdTerms
Description

Clears the hold Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsHoldQuery
Description

Tests if a HoldQuery is available.

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

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

Returnosid.hold.HoldQuery the hold query
ErrorsUNIMPLEMENTED supportsHoldQuery() is false
Complianceoptional This method must be implemented if supportsHoldQuery() is true.
MethodmatchAnyHold
Description

Matches issues referenced by any hold.

Parametersbooleanmatch true to match issues with any holds, false to match issues with no holds
Compliancemandatory This method must be implemented.
MethodclearHoldTerms
Description

Clears the hold query terms.

Compliancemandatory This method must be implemented.
MethodmatchOublietteId
Description

Sets the oubliette Id for this query to match issues assigned to foundries.

Parametersosid.id.IdoublietteId the oubliette Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT oublietteId is null
Compliancemandatory This method must be implemented.
MethodclearOublietteIdTerms
Description

Clears the oubliette Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

Returnosid.hold.OublietteQuery the oubliette query
ErrorsUNIMPLEMENTED supportsOublietteQuery() is false
Complianceoptional This method must be implemented if supportsOublietteQuery() is true.
MethodclearOublietteTerms
Description

Clears the oubliette query terms.

Compliancemandatory This method must be implemented.
MethodgetIssueQueryRecord
Description

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

Parametersosid.type.TypeissueRecordType an issue record type
Returnosid.hold.records.IssueQueryRecord the issue query record
ErrorsNULL_ARGUMENT issueRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(issueRecordType) is false
Compliancemandatory This method must be implemented.