OSID Logo
OSID Specifications
hold package
Version 3.1.0
Interfaceosid.hold.HoldQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.hold.HoldQuerySession
osid.hold.HoldSearchSession
osid.hold.HoldSmartOublietteSession
osid.hold.IssueQuery
osid.hold.OublietteQuery
osid.hold.rules.HoldEnablerQuery
Description

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

MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceId the resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodmatchAnyResource
Description

Matches holds that have any resource defined.

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

Clears the resource query terms.

Compliancemandatory This method must be implemented.
MethodmatchAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentId the agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearAgentIdTerms
Description

Clears the agent Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available.

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

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

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
Complianceoptional This method must be implemented if supportsAgentQuery() is true.
MethodmatchAnyAgent
Description

Matches holds that have any agent defined.

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

Clears the agent query terms.

Compliancemandatory This method must be implemented.
MethodmatchIssueId
Description

Sets the issue Id for this query.

Parametersosid.id.IdissueId the issue Id
booleanmatch true for a positive match, false for a 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.
MethodclearIssueTerms
Description

Clears the issue query terms.

Compliancemandatory This method must be implemented.
MethodmatchOublietteId
Description

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

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 an 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.
MethodgetHoldQueryRecord
Description

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

Parametersosid.type.TypeholdRecordType a hold record type
Returnosid.hold.records.HoldQueryRecord the hold query record
ErrorsNULL_ARGUMENT holdRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(holdRecordType) is false
Compliancemandatory This method must be implemented.