OSID Logo
OSID Specifications
hold package
Version 3.1.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.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 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 oubliettes that have any block.

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

Clears the block query terms.

Compliancemandatory This method must be implemented.
MethodmatchIssueId
Description

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

Parametersosid.id.IdissueId an issue Id
booleanmatch true if a positive match, false for negative match
ErrorsNULL_ARGUMENT issueId is null
Compliancemandatory This method must be implemented.
MethodclearIssueIdTerms
Description

Clears the issue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsIssueQuery
Description

Tests if an IssueQuery is available.

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

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

Returnosid.hold.IssueQuery the issue query
ErrorsUNIMPLEMENTED supportsIssueQuery() is false
Complianceoptional This method must be implemented if supportsIssueQuery() is true.
MethodmatchAnyIssue
Description

Matches oubliettes that have any issue.

Parametersbooleanmatch true to match oubliettes with any issue, false to match oubliettes with no issue
Compliancemandatory This method must be implemented.
MethodclearIssueTerms
Description

Clears the issue 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 oubliettes referenced by any hold.

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

Clears the hold query terms.

Compliancemandatory This 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.IdoublietteId an oubliette Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT oublietteId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorOublietteIdTerms
Description

Clears the ancestor oubliette Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

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

Matches oubliettes with any ancestor.

Parametersbooleanmatch true to match oubliettes with any ancestor, false to match root oubliettes
Compliancemandatory This method must be implemented.
MethodclearAncestorOublietteTerms
Description

Clears the ancestor oubliette query terms.

Compliancemandatory This 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.IdoublietteId an oubliette Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT oublietteId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantOublietteIdTerms
Description

Clears the descendant oubliette Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantOublietteQuery
Description

Tests if an OublietteQuery is available.

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

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

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

Matches oubliettes with any descendant.

Parametersbooleanmatch true to match oubliettes with any descendant, false to match leaf oubliettes
Compliancemandatory This method must be implemented.
MethodclearDescendantOublietteTerms
Description

Clears the descendant oubliette query terms.

Compliancemandatory This 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.TypeoublietteRecordType an oubliette record type
Returnosid.hold.records.OublietteQueryRecord the oubliette query record
ErrorsNULL_ARGUMENT oublietteRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(oublietteRecordType) is false
Compliancemandatory This method must be implemented.