\FileWorkflowApplicable
Synopsis
class FileWorkflowApplicable
extends WorkflowApplicable
{
- // Inherited members from WorkflowApplicable
- public boolean $isPublishJobRunning;
- public WorkflowService $workflowService;
- protected WorkflowInstance $currentInstance;
- // methods
- public void updateSummaryFields()
- public void updateCMSFields()
- public void onAfterWrite()
- // Inherited methods from WorkflowApplicable
- public void setIsPublishJobRunning()
- public boolean getIsPublishJobRunning()
- public boolean isPublishJobRunning()
- public void updateSettingsFields()
- public void updateCMSFields()
- public void updateFields()
- public void updateCMSActions()
- protected void createActionMenu()
- public string AbsoluteEditLink()
- public string LinkToPendingItems()
- public void onAfterWrite()
- public void WorkflowInstances()
- public WorkflowInstance getWorkflowInstance()
- public DataObjectSet getWorkflowHistory()
- public WorkflowActionInstance RecentWorkflowComment()
- public void canPublish()
- public void canEdit()
- public void canEditWorkflow()
Hierarchy
Extends
Members
protected
- $currentInstance
—
WorkflowInstance
A cache var for the current workflow instance
public
- $isPublishJobRunning
—
boolean
Used to flag to this extension if there's a WorkflowPublishTargetJob running. - $workflowService — WorkflowService
Methods
public
Inherited from WorkflowApplicable
protected
public
- AbsoluteEditLink() — Included in CMS-generated email templates for a NotifyUsersWorkflowAction.
- LinkToPendingItems() — Included in CMS-generated email templates for a NotifyUsersWorkflowAction.
- RecentWorkflowComment() — Check all recent WorkflowActionIntances and return the most recent one with a Comment
- WorkflowInstances()
- canEdit() — Can only edit content that's NOT in another person's content changeset
- canEditWorkflow() — Can a user edit the current workflow attached to this item?
- canPublish() — Content can never be directly publishable if there's a workflow applied.
- getIsPublishJobRunning()
- getWorkflowHistory() — Gets the history of a workflow instance
- getWorkflowInstance() — Gets the current instance of workflow
- isPublishJobRunning()
- onAfterWrite() — After a workflow item is written, we notify the workflow so that it can take action if needbe
- setIsPublishJobRunning()
- updateCMSActions()
- updateCMSFields()
- updateFields()
- updateSettingsFields()