OSID Logo
OSID Specifications
workflow event package
Version 3.0.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.DateTimestartstart of date range
osid.calendaring.DateTimeendend of date range
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstart is less than end
NULL_ARGUMENTstart or end is null
CompliancemandatoryThis method must be implemented.
MethodclearTimestampTerms
Description

Clears the timestamp query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProcessId
Description

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

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

Clears the process query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkerId
Description

Sets the worker Id for this query to match workers.

Parametersosid.id.IdresourceIdthe resource Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkerIdTerms
Description

Clears the worker Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsWorkerQuery
Description

Tests if a WorkerQuery is available.

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

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

Returnosid.resource.ResourceQuerythe worker query
ErrorsUNIMPLEMENTEDsupportsWorkerQuery() is false
ComplianceoptionalThis method must be implemented if supportsWorkerQuery() is true .
MethodclearWorkerTerms
Description

Clears the worker query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkingAgentId
Description

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

Parametersosid.id.IdagentIdthe agent Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkingAgentIdTerms
Description

Clears the agent Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsWorkingAgentQuery
Description

Tests if a WorkingAgentQuery is available.

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

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

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTEDsupportsWorkingAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsWorkingAgentQuery() is true .
MethodclearWorkingAgentTerms
Description

Clears the working agent query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query to match work.

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

Clears the work query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCanceled
Description

Matches work that has been canceled.

Parametersbooleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTworkId is null
CompliancemandatoryThis method must be implemented.
MethodclearCanceledTerms
Description

Clears the work Id query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query to match work.

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

Clears the step query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOfficeId
Description

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

Parametersosid.id.IdofficeIdthe office Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTofficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearOfficeIdTerms
Description

Clears the office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOfficeQuery
Description

Tests if an OfficeQuery is available.

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

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

Returnosid.workflow.OfficeQuerythe office query
ErrorsUNIMPLEMENTEDsupportsOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsOfficeQuery() is true .
MethodclearOfficeTerms
Description

Clears the office query terms.

CompliancemandatoryThis 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.TypeworkflowEventRecordTypea workflow event record type
Returnosid.workflow.event.records.WorkflowEventQueryRecordthe workflow event query record
ErrorsNULL_ARGUMENTworkflowEventRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(workflowEventRecordType) is false
CompliancemandatoryThis method must be implemented.