Symbiote\AdvancedWorkflow\DataObjects\WorkflowActionInstance
A workflow action attached to a {@link WorkflowInstance} that has been run, and is either currently running, or has finished.
Each step of the workflow has one of these created for it - it refers back
to the original action definition, but is unique for each step of the
workflow to ensure re-entrant behaviour.
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class WorkflowActionInstance
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static string $table_name = 'WorkflowActionInstance';
- // methods
- public void fieldLabels()
- public void updateWorkflowFields()
- public void updateFrontendWorkflowFields()
- public DataObject getFrontEndDataObject()
- public void updateFrontEndWorkflowActions()
- public void getRequiredFields()
- public void setFrontendFormRequirements()
- public void doFrontEndAction()
- public string getTitle()
- public ArrayList getValidTransitions()
- public void actionStart()
- public void actionComplete()
- public bool canEditTarget()
- public bool canViewTarget()
- public bool canPublishTarget()
- public void canView()
- public void canEdit()
- public void canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_one
- $summary_fields
- $table_name
Methods
public
- actionComplete() — Called when this action has been completed within the workflow
- actionStart() — Called when this instance is started within the workflow
- canDelete()
- canEdit()
- canEditTarget() — Can documents in the current workflow state be edited?
- canPublishTarget() — Does this action restrict the publishing of a document?
- canView()
- canViewTarget() — Does this action restrict viewing of the document?
- doFrontEndAction()
- fieldLabels()
- getFrontEndDataObject() — Gets Front-End DataObject
- getRequiredFields()
- getTitle() — Gets the title of this active action instance
- getValidTransitions() — Returns all the valid transitions that lead out from this action.
- setFrontendFormRequirements()
- updateFrontEndWorkflowActions()
- updateFrontendWorkflowFields()
- updateWorkflowFields() — Gets fields for when this is part of an active workflow