OSID Logo
OSID Specifications
hold rules package
Version 3.1.0
Interfaceosid.hold.rules.HoldEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.hold.rules.HoldEnablerQuerySession
osid.hold.rules.HoldEnablerSearchSession
osid.hold.rules.HoldEnablerSmartOublietteSession
Description

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

MethodmatchRuledHoldId
Description

Matches enablers mapped to the hold.

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.
MethodclearRuledHoldIdTerms
Description

Clears the hold Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledHoldQuery
Description

Tests if a HoldQuery is available.

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

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

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

Matches enablers mapped to any hold.

Parametersbooleanmatch true for enablers mapped to any hold, false to match enablers mapped to no hold
Compliancemandatory This method must be implemented.
MethodclearRuledHoldTerms
Description

Clears the hold query terms.

Compliancemandatory This method must be implemented.
MethodmatchOublietteId
Description

Matches enablers mapped to the oubliette.

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 a 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.
MethodgetHoldEnablerQueryRecord
Description

Gets the hold enabler query record corresponding to the given HoldEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeholdEnablerRecordType a hold enabler record type
Returnosid.hold.rules.records.HoldEnablerQueryRecord the hold enabler query record
ErrorsNULL_ARGUMENT holdEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(holdEnablerRecordType) is false
Compliancemandatory This method must be implemented.