WorkflowServiceInterface

The workflow service.

since

4.0.0

package

Application

Methods

filterTransitions

Method to filter transitions by given id of state.

filterTransitions(int[] transitions, int pk) : array
since

4.0.0

Arguments

transitions

int[]Array of transitions to filter for

pk

intId of the state on which the transitions are performed

Response

array

getCategoryWorkflowContext

Returns the workflow context based on the given category section

getCategoryWorkflowContext(string section = null) : string|null
since

4.0.0

Arguments

section

stringThe section

Response

string|null

getConditions

Returns an array of possible conditions for the component.

getConditions(string extension) : array
static
since

4.0.0

Arguments

extension

stringFull extension string

Response

array

getModelName

Returns the model name, based on the context

getModelName(string context) : bool

Arguments

context

stringThe context of the workflow

Response

bool

getWorkflowContexts

Returns valid contexts.

getWorkflowContexts() : array
since

4.0.0

Response

array

getWorkflowTableBySection

Returns a table name for the state association

getWorkflowTableBySection(string section = null) : string
since

4.0.0

Arguments

section

stringAn optional section to differ different areas in the component

Response

string

isWorkflowActive

Check if the workflow is active

isWorkflowActive(string context) : bool

Arguments

context

stringThe context of the workflow

Response

bool

supportFunctionality

Check if the functionality is supported by the context

supportFunctionality(string functionality, string context) : bool
since

4.0.0

Arguments

functionality

stringThe functionality

context

stringThe context of the functionality

Response

bool