OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Release Candidate Preview
Interfaceosid.tracking.FrontOfficeQuery
Implementsosid.OsidCatalogQuery
Description

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

MethodmatchIssueId
Description

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

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

Clears the issue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsIssueQuery
Description

Tests if a IssueQuery is available.

Returnboolean true if a issue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetIssueQuery
Description

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

Returnosid.tracking.IssueQuerythe issue query
ErrorsUNIMPLEMENTED supportsIssueQuery() is false
ComplianceoptionalThis method must be implemented if supportsIssueQuery() is true.
MethodmatchAnyIssue
Description

Matches front offices that have any issue.

Parametersbooleanmatch true to match front offices with any issue, false to match front offices with no issue
CompliancemandatoryThis method must be implemented.
MethodclearIssueTerms
Description

Clears the issue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchQueueId
Description

Sets the effort Id for this query to match front offices containing queues.

Parametersosid.id.IdqueueIdthe queue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT queueId is null
CompliancemandatoryThis method must be implemented.
MethodclearQueueIdTerms
Description

Clears the queue query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsQueueQuery
Description

Tests if a QueueQuery is available.

Returnboolean true if a queue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetQueueQuery
Description

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

Returnosid.tracking.QueueQuerythe queue query
ErrorsUNIMPLEMENTED supportsQueueQuery() is false
ComplianceoptionalThis method must be implemented if supportsQueueQuery() is true.
MethodmatchAnyQueue
Description

Matches front offices that have any queue.

Parametersbooleanmatch true to match front offices with any queue, false to match front offices with no queue
CompliancemandatoryThis method must be implemented.
MethodclearQueueTerms
Description

Clears the queue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAncestorFrontOfficeId
Description

Sets the front office Id for this query to match front offices that have the specified front office as an ancestor.

Parametersosid.id.IdfrontOfficeIda front office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT frontOfficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearAncestorFrontOfficeIdTerms
Description

Clears the ancestor front office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAncestorFrontOfficeQuery
Description

Tests if a FrontOfficeQuery is available.

Returnboolean true if a front office query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAncestorFrontOfficeQuery
Description

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

Returnosid.tracking.FrontOfficeQuerythe front office query
ErrorsUNIMPLEMENTED supportsAncestorFrontOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsAncestorFrontOfficeQuery() is true.
MethodmatchAnyAncestorFrontOffice
Description

Matches front offices with any ancestor.

Parametersbooleanmatch true to match front offices with any ancestor, false to match root frontOffices
CompliancemandatoryThis method must be implemented.
MethodclearAncestorFrontOfficeTerms
Description

Clears the ancestor front office query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDescendantFrontOfficeId
Description

Sets the front office Id for this query to match front offices that have the specified front office as a descendant.

Parametersosid.id.IdfrontOfficeIda front office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT frontOfficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearDescendantFrontOfficeIdTerms
Description

Clears the descendant front office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDescendantFrontOfficeQuery
Description

Tests if a FrontOfficeQuery is available.

Returnboolean true if a front office query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDescendantFrontOfficeQuery
Description

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

Returnosid.tracking.FrontOfficeQuerythe front office query
ErrorsUNIMPLEMENTED supportsDescendantFrontOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsDescendantFrontOfficeQuery() is true.
MethodmatchAnyDescendantFrontOffice
Description

Matches front offices with any descendant.

Parametersbooleanmatch true to match front offices with any descendant, false to match leaf frontOffices
CompliancemandatoryThis method must be implemented.
MethodclearDescendantFrontOfficeTerms
Description

Clears the descendant front office query terms.

CompliancemandatoryThis method must be implemented.
MethodgetFrontOfficeQueryRecord
Description

Gets the front office query record corresponding to the given FrontOffice record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypefrontOfficeRecordTypea front office record type
Returnosid.tracking.records.FrontOfficeQueryRecordthe front office query record
ErrorsNULL_ARGUMENT frontOfficeRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(frontOfficeRecordType) is false
CompliancemandatoryThis method must be implemented.