OSID Logo
OSID Specifications
workflow event package
Version 3.1.0
Interfaceosid.workflow.event.WorkflowEventForm
Implementsosid.OsidObjectForm
Used Byosid.workflow.event.WorkflowEventAdminSession
Description

This is the form for creating and updating WorkflowEvents. Like all OsidForms, various data elements may be set here for use in the create and update methods in the WorkflowEventAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetTimestampMetadata
Description

Gets the metadata for a timestamp.

Returnosid.Metadata metadata for the date
Compliancemandatory This method must be implemented.
MethodsetTimestamp
Description

Sets the timestamp.

Parametersosid.calendaring.DateTimedate the new timestamp
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearTimestamp
Description

Clears the timestamp.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetProcessMetadata
Description

Gets the metadata for a process.

Returnosid.Metadata metadata for the process
Compliancemandatory This method must be implemented.
MethodsetProcess
Description

Sets the process.

Parametersosid.id.IdprocessId the new process
ErrorsINVALID_ARGUMENT processId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT processId is null
Compliancemandatory This method must be implemented.
MethodclearProcess
Description

Clears the process.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWorkerMetadata
Description

Gets the metadata for a worker.

Returnosid.Metadata metadata for the worker
Compliancemandatory This method must be implemented.
MethodsetWorker
Description

Sets the resource.

Parametersosid.id.IdresourceId the new worker resource
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearWorker
Description

Clears the worker.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWorkingAgentMetadata
Description

Gets the metadata for a working agent.

Returnosid.Metadata metadata for the worker
Compliancemandatory This method must be implemented.
MethodsetWorkingAgent
Description

Sets the agent.

Parametersosid.id.IdagentId the new working agent
ErrorsINVALID_ARGUMENT agentId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearWorkingAgent
Description

Clears the working agent.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWorkMetadata
Description

Gets the metadata for a work.

Returnosid.Metadata metadata for the work
Compliancemandatory This method must be implemented.
MethodsetWork
Description

Sets the work.

Parametersosid.id.IdworkId the new work
ErrorsINVALID_ARGUMENT workId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT workId is null
Compliancemandatory This method must be implemented.
MethodclearWork
Description

Clears the work.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCanceledMetadata
Description

Gets the metadata for a canceled.

Returnosid.Metadata metadata for the canceled
Compliancemandatory This method must be implemented.
MethodsetCanceled
Description

Sets the canceled flag.

Parametersbooleancanceled the new canceled flag
ErrorsINVALID_ARGUMENT canceled is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodcleaCanceled
Description

Clears the canceled flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetStepMetadata
Description

Gets the metadata for a step.

Returnosid.Metadata metadata for the step
Compliancemandatory This method must be implemented.
MethodsetStep
Description

Sets the step.

Parametersosid.id.IdstepId the new step
ErrorsINVALID_ARGUMENT stepId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stepId is null
Compliancemandatory This method must be implemented.
MethodcleaStep
Description

Clears the step.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetWorkflowEventFormRecord
Description

Gets the WorkflowEventFormRecord corresponding to the given workflow event record Type.

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