accesscodes.workflow - AC Workflow Components

Workflows for access codes/pins.

class waeup.kofa.accesscodes.workflow.AccessCodeWorkflowInfo(context)[source]

Bases: waeup.kofa.workflow.KofaWorkflowInfo, grokcore.component.components.Adapter

__doc__ = None
__init__(context)[source]
__module__ = 'waeup.kofa.accesscodes.workflow'
class waeup.kofa.accesscodes.workflow.AccessCodeWorkflowState(context)[source]

Bases: hurry.workflow.workflow.WorkflowState, grokcore.component.components.Adapter

__doc__ = None
__module__ = 'waeup.kofa.accesscodes.workflow'
state_id = 'wf.accesscode.id'
state_key = 'wf.accesscode.state'
waeup.kofa.accesscodes.workflow.disable_unused_action(wf, context)[source]

Side actions taken when an unused access code is invalidated.

waeup.kofa.accesscodes.workflow.disable_used_action(wf, context)[source]

Side actions taken when a used access code is disabled.

waeup.kofa.accesscodes.workflow.handle_accesscode_transition_event(obj, event)[source]
waeup.kofa.accesscodes.workflow.invalidate_action(wf, context)[source]

Side actions taken when an access code is invalidated.

waeup.kofa.accesscodes.workflow.reenable_action(wf, context)[source]

Side actions taken when an access code is reenabled.