OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.OfficeQuery
Implementsosid.OsidCatalogQuery
Used Byosid.workflow.OfficeQuery
osid.workflow.OfficeQuerySession
osid.workflow.OfficeSearchSession
osid.workflow.ProcessQuery
osid.workflow.StepQuery
osid.workflow.WorkQuery
osid.workflow.event.WorkflowEventQuery
osid.workflow.rules.ProcessConstrainerEnablerQuery
osid.workflow.rules.ProcessConstrainerQuery
osid.workflow.rules.ProcessEnablerQuery
show 7 more…
osid.workflow.rules.ProcessProcessorEnablerQuery
osid.workflow.rules.ProcessProcessorQuery
osid.workflow.rules.StepConstrainerEnablerQuery
osid.workflow.rules.StepConstrainerQuery
osid.workflow.rules.StepEnablerQuery
osid.workflow.rules.StepProcessorEnablerQuery
osid.workflow.rules.StepProcessorQuery
Description

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

MethodmatchProcessId
Description

Sets the step Id for this query to match offices containing process.

Parametersosid.id.IdprocessId the process Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT processId is null
Compliancemandatory This method must be implemented.
MethodclearProcessIdTerms
Description

Clears the process query terms.

Compliancemandatory This method must be implemented.
MethodsupportsProcessQuery
Description

Tests if a ProcessQuery is available.

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

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

Returnosid.workflow.ProcessQuery the process query
ErrorsUNIMPLEMENTED supportsProcessQuery() is false
Complianceoptional This method must be implemented if supportsProcessQuery() is true.
MethodmatchAnyProcess
Description

Matches offices that have any process.

Parametersbooleanmatch true to match offices with any process, false to match offices with no process
Compliancemandatory This method must be implemented.
MethodclearProcessTerms
Description

Clears the process query terms.

Compliancemandatory This method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query.

Parametersosid.id.IdstepId the step Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stepId is null
Compliancemandatory This method must be implemented.
MethodclearStepIdTerms
Description

Clears the step Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuery the step query
ErrorsUNIMPLEMENTED supportsStepQuery() is false
Complianceoptional This method must be implemented if supportsStepQuery() is true.
MethodmatchAnyStep
Description

Matches offices with any step.

Parametersbooleanmatch true to match offices with any step, false to match offices with no step
Compliancemandatory This method must be implemented.
MethodclearStepTerms
Description

Clears the step query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkId the work Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT workId is null
Compliancemandatory This method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

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

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

Returnosid.workflow.WorkQuery the work query
ErrorsUNIMPLEMENTED supportsWorkQuery() is false
Complianceoptional This method must be implemented if supportsWorkQuery() is true.
MethodmatchAnyWork
Description

Matches offices that have any work.

Parametersbooleanmatch true to match offices with any work, false to match offices with no process
Compliancemandatory This method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorOfficeId
Description

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

Parametersosid.id.IdofficeId an office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT officeId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorOfficeIdTerms
Description

Clears the ancestor office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

Returnosid.workflow.OfficeQuery the office query
ErrorsUNIMPLEMENTED supportsAncestorOfficeQuery() is false
Complianceoptional This method must be implemented if supportsAncestorOfficeQuery() is true.
MethodmatchAnyAncestorOffice
Description

Matches offices with any ancestor.

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

Clears the ancestor office query terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantOfficeId
Description

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

Parametersosid.id.IdofficeId an office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT officeId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantOfficeIdTerms
Description

Clears the descendant office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

Returnosid.workflow.OfficeQuery the office query
ErrorsUNIMPLEMENTED supportsDescendantOfficeQuery() is false
Complianceoptional This method must be implemented if supportsDescendantOfficeQuery() is true.
MethodmatchAnyDescendantOffice
Description

Matches offices with any descendant.

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

Clears the descendant office query terms.

Compliancemandatory This method must be implemented.
MethodgetOfficeQueryRecord
Description

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

Parametersosid.type.TypeofficeRecordType an office record type
Returnosid.workflow.records.OfficeQueryRecord the office query record
ErrorsNULL_ARGUMENT officeRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(officeRecordType) is false
Compliancemandatory This method must be implemented.