+ +
+

pyams_workflow.interfaces package

+
+

Module contents

+
+
+exception pyams_workflow.interfaces.AmbiguousTransitionError(source, destination)
+

Bases: pyams_workflow.interfaces.InvalidTransitionError

+

Exception raised when required transition is ambiguous

+
+ +
+
+exception pyams_workflow.interfaces.ConditionFailedError
+

Bases: Exception

+

Exception raised when transition condition failed

+
+ +
+
+exception pyams_workflow.interfaces.InvalidTransitionError(source)
+

Bases: Exception

+

Base transition error

+
+ +
+
+exception pyams_workflow.interfaces.NoTransitionAvailableError(source, destination)
+

Bases: pyams_workflow.interfaces.InvalidTransitionError

+

Exception raised when there is not available transition

+
+ +
+
+class pyams_workflow.interfaces.ObjectClonedEvent(object, source)
+

Bases: zope.lifecycleevent.ObjectCreatedEvent

+

Object cloned event

+
+ +
+
+exception pyams_workflow.interfaces.VersionError
+

Bases: Exception

+

Versions management error

+
+ +
+
+class pyams_workflow.interfaces.WorkflowTransitionEvent(object, workflow, principal, source, destination, transition, comment)
+

Bases: zope.interface.interfaces.ObjectEvent

+

Workflow transition event

+
+ +
+
+class pyams_workflow.interfaces.WorkflowVersionTransitionEvent(object, workflow, principal, old_object, source, destination, transition, comment)
+

Bases: pyams_workflow.interfaces.WorkflowTransitionEvent

+

Workflow version transition event

+
+ +
+
+ + +