OSID Logo
OSID Specifications
hold package
Version 3.0.0
Interfaceosid.hold.OublietteQuery
Implementsosid.OsidCatalogQuery
Used Byosid.hold.BlockQuery
osid.hold.HoldQuery
osid.hold.IssueQuery
osid.hold.OublietteQuery
osid.hold.OublietteQuerySession
osid.hold.OublietteSearchSession
osid.hold.rules.HoldEnablerQuery
osid.hold.rules.IssueConstrainerEnablerQuery
osid.hold.rules.IssueConstrainerQuery
osid.hold.rules.IssueEnablerQuery
show 2 more…
osid.hold.rules.IssueProcessorEnablerQuery
osid.hold.rules.IssueProcessorQuery
Description

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

MethodmatchBlockId
Description

Sets the effort Id for this query to match oubliettes containing blocks.

Parametersosid.id.IdblockIdthe block Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTblockId is null
CompliancemandatoryThis method must be implemented.
MethodclearBlockIdTerms
Description

Clears the block query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBlockQuery
Description

Tests if a BlockQuery is available.

Returnbooleantrue if a block query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBlockQuery
Description

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

Returnosid.hold.BlockQuerythe block query
ErrorsUNIMPLEMENTEDsupportsBlockQuery() is false
ComplianceoptionalThis method must be implemented if supportsBlockQuery() is true .
MethodmatchAnyBlock
Description

Matches oubliettes that have any block.

Parametersbooleanmatchtrue to match oubliettes with any block, false to match oubliettes with no block
CompliancemandatoryThis method must be implemented.
MethodclearBlockTerms
Description

Clears the block query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIssueId
Description

Sets the issue Id for this query to match oubliettes that have a related issue.

Parametersosid.id.IdissueIdan issue Id
booleanmatchtrue if a positive match, false for 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 oubliettes that have any issue.

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

Clears the issue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchHoldId
Description

Sets the hold Id for this query.

Parametersosid.id.IdholdIdthe hold Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTholdId is null
CompliancemandatoryThis method must be implemented.
MethodclearHoldIdTerms
Description

Clears the hold Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsHoldQuery
Description

Tests if a HoldQuery is available.

Returnbooleantrue if a hold query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetHoldQuery
Description

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

Returnosid.hold.HoldQuerythe hold query
ErrorsUNIMPLEMENTEDsupportsHoldQuery() is false
ComplianceoptionalThis method must be implemented if supportsHoldQuery() is true .
MethodmatchAnyHold
Description

Matches oubliettes referenced by any hold.

Parametersbooleanmatchtrue to match oubliettes with any holds, false to match oubliettes with no holds
CompliancemandatoryThis method must be implemented.
MethodclearHoldTerms
Description

Clears the hold query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAncestorOublietteId
Description

Sets the oubliette Id for this query to match oubliettes that have the specified oubliette as an ancestor.

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

Clears the ancestor oubliette Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAncestorOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

Returnosid.hold.OublietteQuerythe oubliette query
ErrorsUNIMPLEMENTEDsupportsAncestorOublietteQuery() is false
ComplianceoptionalThis method must be implemented if supportsAncestorOublietteQuery() is true .
MethodmatchAnyAncestorOubliette
Description

Matches oubliettes with any ancestor.

Parametersbooleanmatchtrue to match oubliettes with any ancestor, false to match root oubliettes
CompliancemandatoryThis method must be implemented.
MethodclearAncestorOublietteTerms
Description

Clears the ancestor oubliette query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDescendantOublietteId
Description

Sets the oubliette Id for this query to match oubliettes that have the specified oubliette as a descendant.

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

Clears the descendant oubliette Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDescendantOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

Returnosid.hold.OublietteQuerythe oubliette query
ErrorsUNIMPLEMENTEDsupportsDescendantOublietteQuery() is false
ComplianceoptionalThis method must be implemented if supportsDescendantOublietteQuery() is true .
MethodmatchAnyDescendantOubliette
Description

Matches oubliettes with any descendant.

Parametersbooleanmatchtrue to match oubliettes with any descendant, false to match leaf oubliettes
CompliancemandatoryThis method must be implemented.
MethodclearDescendantOublietteTerms
Description

Clears the descendant oubliette query terms.

CompliancemandatoryThis method must be implemented.
MethodgetOublietteQueryRecord
Description

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

Parametersosid.type.TypeoublietteRecordTypean oubliette record type
Returnosid.hold.records.OublietteQueryRecordthe oubliette query record
ErrorsNULL_ARGUMENToublietteRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDhasRecordType(oublietteRecordType) is false
CompliancemandatoryThis method must be implemented.