OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.WorkflowManagementSession
Implementsosid.OsidSession
Implemented Byosid.workflow.ManualWorkflowSession
Used Byosid.workflow.WorkflowManager
osid.workflow.WorkflowProxyManager
Description

This session provides methods for managing a workflow.

MethodgetOfficeId
Description

Gets the Office Id associated with this session.

Returnosid.id.Id the Office Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetOffice
Description

Gets the Office associated with this session.

Returnosid.workflow.Office the office
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageWorkflow
Description

Tests if this user can manage a workflow. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer workflow operations to unauthorized users.

Returnboolean false if workflow management methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodcanManageWorkflowForProcess
Description

Tests if this user can manage a workflow for a process. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer workflow operations to unauthorized users.

Parametersosid.id.IdprocessId a process Id
Returnboolean false if workflow management methods are not authorized, true otherwise
ErrorsNULL_ARGUMENT processId is null
Compliancemandatory This method must be implemented.
MethodsuspendWork
Description

Suspends a work in this process leaving it at its current step.

Parametersosid.id.IdprocessId a process Id
osid.id.IdworkId a work Id
ErrorsNOT_FOUND processId or workId is not found
NULL_ARGUMENT processId or workId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodresumeWork
Description

Resumes a work in this process.

Parametersosid.id.IdprocessId a process Id
osid.id.IdworkId a work Id
ErrorsNOT_FOUND processId or workId is not found
NULL_ARGUMENT processId or workId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcancelWork
Description

Cancels a work in this process removing it from the workflow.

Parametersosid.id.IdprocessId a process Id
osid.id.IdworkId a work Id
ErrorsNOT_FOUND processId or workId is not found
NULL_ARGUMENT processId or workId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.