OSID Logo
OSID Specifications
workflow package
Version 3.0.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.IdprocessIdthe process Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprocessId is null
CompliancemandatoryThis method must be implemented.
MethodclearProcessIdTerms
Description

Clears the process query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProcessQuery
Description

Tests if a ProcessQuery is available.

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

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

Returnosid.workflow.ProcessQuerythe process query
ErrorsUNIMPLEMENTEDsupportsProcessQuery() is false
ComplianceoptionalThis method must be implemented if supportsProcessQuery() is true .
MethodmatchAnyProcess
Description

Matches offices that have any process.

Parametersbooleanmatchtrue to match offices with any process, false to match offices with no process
CompliancemandatoryThis method must be implemented.
MethodclearProcessTerms
Description

Clears the process query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query.

Parametersosid.id.IdstepIdthe step Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstepId is null
CompliancemandatoryThis method must be implemented.
MethodclearStepIdTerms
Description

Clears the step Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuerythe step query
ErrorsUNIMPLEMENTEDsupportsStepQuery() is false
ComplianceoptionalThis method must be implemented if supportsStepQuery() is true .
MethodmatchAnyStep
Description

Matches offices with any step.

Parametersbooleanmatchtrue to match offices with any step, false to match offices with no step
CompliancemandatoryThis method must be implemented.
MethodclearStepTerms
Description

Clears the step query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkIdthe work Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTworkId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

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

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

Returnosid.workflow.WorkQuerythe work query
ErrorsUNIMPLEMENTEDsupportsWorkQuery() is false
ComplianceoptionalThis method must be implemented if supportsWorkQuery() is true .
MethodmatchAnyWork
Description

Matches offices that have any work.

Parametersbooleanmatchtrue to match offices with any work, false to match offices with no process
CompliancemandatoryThis method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

CompliancemandatoryThis 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.IdofficeIdan office Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTofficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearAncestorOfficeIdTerms
Description

Clears the ancestor office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAncestorOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

Returnosid.workflow.OfficeQuerythe office query
ErrorsUNIMPLEMENTEDsupportsAncestorOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsAncestorOfficeQuery() is true .
MethodmatchAnyAncestorOffice
Description

Matches offices with any ancestor.

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

Clears the ancestor office query terms.

CompliancemandatoryThis 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.IdofficeIdan office Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTofficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearDescendantOfficeIdTerms
Description

Clears the descendant office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDescendantOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

Returnosid.workflow.OfficeQuerythe office query
ErrorsUNIMPLEMENTEDsupportsDescendantOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsDescendantOfficeQuery() is true .
MethodmatchAnyDescendantOffice
Description

Matches offices with any descendant.

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

Clears the descendant office query terms.

CompliancemandatoryThis 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.TypeofficeRecordTypean office record type
Returnosid.workflow.records.OfficeQueryRecordthe office query record
ErrorsNULL_ARGUMENTofficeRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(officeRecordType) is false
CompliancemandatoryThis method must be implemented.