Python API#
The pages below are generated from the source. They are the authoritative description of every public name this package offers.
collective.multiworkflow.api#
Workflow-aware equivalents of the plone.api workflow helpers.
Called without a workflow_id, each behaves exactly as its plone.api counterpart.
|
Get the object's current state, optionally in a specific workflow. |
|
Get the object's state in every workflow of its chain. |
|
Perform a workflow transition, optionally on a specific workflow. |
|
Get the transitions available to the current user, by workflow. |
Find permissions claimed by more than one workflow in the chain. |
|
|
Map every transition id in the object's chain to its owning workflow. |
collective.multiworkflow.declaration#
Registration of the workflows a behavior contributes. Most callers use the ZCML directive instead of these.
|
Build a subscription adapter factory contributing |
|
Collect the workflow ids every participating marker contributes. |
|
Name a workflow the way the user interface should show it. |
collective.multiworkflow.interfaces#
The interfaces the mechanism is built on.
|
Base marker for content participating in additional workflows. |
|
The workflow ids one marker contributes to an object's chain. |
|
The label a workflow is shown under, in place of its title. |
collective.multiworkflow.chain#
The adapter that appends contributed workflows to a type's configured chain.
|
Append contributed workflows to the chain configured for the type. |
collective.multiworkflow.utils.workflow#
The values the workflow_states catalog index holds, and the helpers that build and read them.
Name of the index, of the metadata column, and the |
|
Separates the workflow id from the state id within one indexed value. |
|
|
Build one indexed value out of a workflow id and a state id. |
|
Split one indexed value back into its workflow id and state id. |
Describe the object's state in every workflow of its chain. |
collective.multiworkflow.indexers.workflow_states#
The indexer that fills the workflow_states catalog index.
|
Index every workflow in the object's chain, in chain order. |
collective.multiworkflow.subscribers.reindex#
The event subscriber keeping the index fresh for workflows with a state variable of their own.
Keep the index fresh for workflows with a state variable of their own. |
collective.multiworkflow.querystring#
Rewriting of review_state queries onto the chain index.
Name the workflow a bare state id belongs to. |
|
Move a parsed |
collective.multiworkflow.vocabularies#
Every state of every workflow, keyed as the index holds them. |
collective.multiworkflow.restapi.serializer#
A patch to plone.restapi's content serializer, and the summary metadata, adding workflow_states to the payloads.
The patch is applied when the package's ZCML is loaded; nothing here is called directly.
Wrap |
|
Additional metadata to be exposed on listings. |
collective.multiworkflow.exportimport#
A patch to plone.exportimport, so that imported content has the role mappings and chain index entries of the state it was imported in.
Applied when the package's ZCML is loaded; nothing here is called directly.
Apply the permission map of the state each workflow was restored to. |
|
Reindex the catalog indexes named after the object's workflow variables. |
|
Wrap |