OSID Logo
OSID Specifications
hold package
Version 3.0.0
Release Candidate Preview
Interfaceosid.hold.BlockSearch
Implementsosid.OsidSearch
Description

The search interface for governing block searches.

MethodsearchAmongBlocks
Description

Execute this search among the given list of blocks.

Parametersosid.id.IdListblockIdslist of blocks
ErrorsNULL_ARGUMENT blockIds is null
CompliancemandatoryThis method must be implemented.
MethodorderBlockResults
Description

Specify an ordering to the search results.

Parametersosid.hold.BlockSearchOrderblockSearchOrderblock search order
ErrorsNULL_ARGUMENT blockSearchOrder is null
UNSUPPORTED blockSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetBlockSearchRecord
Description

Gets the block search record corresponding to the given block search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypeblockSearchRecordTypea block search record type
Returnosid.hold.records.BlockSearchRecordthe block search record
ErrorsNULL_ARGUMENT blockSearchRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(blockSearchRecordType) is false
CompliancemandatoryThis method must be implemented.