OSID Logo
OSID Specifications
workflow event package
Version 3.1.0
Interfaceosid.workflow.event.WorkflowEventQuery
Implementsosid.OsidObjectQuery
Used Byosid.workflow.event.WorkflowEventQuerySession
osid.workflow.event.WorkflowEventSearchSession
osid.workflow.event.WorkflowEventSmartOfficeSession
Description

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

MethodmatchTimestamp
Description

Matches temporals whose timestamp falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodclearTimestampTerms
Description

Clears the timestamp query terms.

Compliancemandatory This method must be implemented.
MethodmatchProcessId
Description

Sets the process Id for this query to match workflow events for processes.

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 Id 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.
MethodclearProcessTerms
Description

Clears the process query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkerId
Description

Sets the worker Id for this query to match workers.

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.
MethodclearWorkerIdTerms
Description

Clears the worker Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsWorkerQuery
Description

Tests if a WorkerQuery is available.

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

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

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

Clears the worker query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkingAgentId
Description

Sets the agent Id for this query to match working agents.

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.
MethodclearWorkingAgentIdTerms
Description

Clears the agent Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsWorkingAgentQuery
Description

Tests if a WorkingAgentQuery is available.

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

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

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

Clears the working agent query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query to match work.

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.
MethodclearWorkTerms
Description

Clears the work query terms.

Compliancemandatory This method must be implemented.
MethodmatchCanceled
Description

Matches work that has been canceled.

Parametersbooleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT workId is null
Compliancemandatory This method must be implemented.
MethodclearCanceledTerms
Description

Clears the work Id query terms.

Compliancemandatory This method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query to match work.

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 work query
ErrorsUNIMPLEMENTED supportsStepQuery() is false
Complianceoptional This method must be implemented if supportsStepQuery() is true.
MethodclearStepTerms
Description

Clears the step query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

Sets the office Id for this query to match workflow events assigned to offices.

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

Clears the office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

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

Clears the office query terms.

Compliancemandatory This method must be implemented.
MethodgetWorkflowEventQueryRecord
Description

Gets the workflow event query record corresponding to the given WorkflowEvent record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeworkflowEventRecordType a workflow event record type
Returnosid.workflow.event.records.WorkflowEventQueryRecord the workflow event query record
ErrorsNULL_ARGUMENT workflowEventRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(workflowEventRecordType) is false
Compliancemandatory This method must be implemented.