OSID Logo
OSID Specifications
workflow event package
Version 3.0.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.Metadatametadata for the date
CompliancemandatoryThis method must be implemented.
MethodsetTimestamp
Description

Sets the timestamp.

Parametersosid.calendaring.DateTimedatethe new timestamp
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearTimestamp
Description

Clears the timestamp.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetProcessMetadata
Description

Gets the metadata for a process.

Returnosid.Metadatametadata for the process
CompliancemandatoryThis method must be implemented.
MethodsetProcess
Description

Sets the process.

Parametersosid.id.IdprocessIdthe new process
ErrorsINVALID_ARGUMENTprocessId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprocessId is null
CompliancemandatoryThis method must be implemented.
MethodclearProcess
Description

Clears the process.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetWorkerMetadata
Description

Gets the metadata for a worker.

Returnosid.Metadatametadata for the worker
CompliancemandatoryThis method must be implemented.
MethodsetWorker
Description

Sets the resource.

Parametersosid.id.IdresourceIdthe new worker resource
ErrorsINVALID_ARGUMENTresourceId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorker
Description

Clears the worker.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetWorkingAgentMetadata
Description

Gets the metadata for a working agent.

Returnosid.Metadatametadata for the worker
CompliancemandatoryThis method must be implemented.
MethodsetWorkingAgent
Description

Sets the agent.

Parametersosid.id.IdagentIdthe new working agent
ErrorsINVALID_ARGUMENTagentId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTagentId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkingAgent
Description

Clears the working agent.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetWorkMetadata
Description

Gets the metadata for a work.

Returnosid.Metadatametadata for the work
CompliancemandatoryThis method must be implemented.
MethodsetWork
Description

Sets the work.

Parametersosid.id.IdworkIdthe new work
ErrorsINVALID_ARGUMENTworkId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTworkId is null
CompliancemandatoryThis method must be implemented.
MethodclearWork
Description

Clears the work.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCanceledMetadata
Description

Gets the metadata for a canceled.

Returnosid.Metadatametadata for the canceled
CompliancemandatoryThis method must be implemented.
MethodsetCanceled
Description

Sets the canceled flag.

Parametersbooleancanceledthe new canceled flag
ErrorsINVALID_ARGUMENTcanceled is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodcleaCanceled
Description

Clears the canceled flag.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetStepMetadata
Description

Gets the metadata for a step.

Returnosid.Metadatametadata for the step
CompliancemandatoryThis method must be implemented.
MethodsetStep
Description

Sets the step.

Parametersosid.id.IdstepIdthe new step
ErrorsINVALID_ARGUMENTstepId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTstepId is null
CompliancemandatoryThis method must be implemented.
MethodcleaStep
Description

Clears the step.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetWorkflowEventFormRecord
Description

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

Parametersosid.type.TypeworkflowEventRecordTypea workflow event record type
Returnosid.workflow.event.records.WorkflowEventFormRecordthe workflow event form record
ErrorsNULL_ARGUMENTworkflowEventRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(workflowEventRecordType) is false
CompliancemandatoryThis method must be implemented.