OSID Logo
OSID Specifications
hold package
Version 3.0.0
Interfaceosid.hold.BlockQuery
Implementsosid.OsidObjectQuery
Used Byosid.hold.BlockQuerySession
osid.hold.BlockSearchSession
osid.hold.BlockSmartOublietteSession
osid.hold.IssueQuery
osid.hold.OublietteQuery
osid.rules.check.CheckQuery
Description

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

MethodmatchIssueId
Description

Sets the issue Id for this query.

Parametersosid.id.IdissueIdthe issue Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTissueId is null
CompliancemandatoryThis method must be implemented.
MethodclearIssueIdTerms
Description

Clears the issue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsIssueQuery
Description

Tests if an IssueQuery is available.

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

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

Returnosid.hold.IssueQuerythe issue query
ErrorsUNIMPLEMENTEDsupportsIssueQuery() is false
ComplianceoptionalThis method must be implemented if supportsIssueQuery() is true .
MethodmatchAnyIssue
Description

Matches blocks that have any issue.

Parametersbooleanmatchtrue to match blocks with any issue, false to match blocks with no issue
CompliancemandatoryThis method must be implemented.
MethodclearIssueTerms
Description

Clears the issue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOublietteId
Description

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

Parametersosid.id.IdoublietteIdthe oubliette Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENToublietteId is null
CompliancemandatoryThis method must be implemented.
MethodclearOublietteIdTerms
Description

Clears the oubliette Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

Returnosid.hold.OublietteQuerythe oubliette query
ErrorsUNIMPLEMENTEDsupportsOublietteQuery() is false
ComplianceoptionalThis method must be implemented if supportsOublietteQuery() is true .
MethodclearOublietteTerms
Description

Clears the oubliette query terms.

CompliancemandatoryThis method must be implemented.
MethodgetBlockQueryRecord
Description

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

Parametersosid.type.TypeblockRecordTypea block record type
Returnosid.hold.records.BlockQueryRecordthe block query record
ErrorsNULL_ARGUMENTblockRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDhasRecordType(blockRecordType) is false
CompliancemandatoryThis method must be implemented.