Class WorkflowData

java.lang.Object
mc.core.model.system.WfDataBase
mc.core.model.system.WorkflowData
All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity

@Entity public class WorkflowData extends WfDataBase
Container for the storable data of a Workflow instance, including start and end time, state, parameters, state and times of actions and the report.
A WorkflowData is always associated with just the WorkflowType of which it represents an instance. WorkflowData is created upon starting a workflow, i.e. upon putting it in the queue and changed during processing of the Workflow. After running the WorkflowData persists until it is deleted manually or after a certain hold-back time by a maintenance job.
See Also:
  • Constructor Details

    • WorkflowData

      public WorkflowData()
      default constructor
    • WorkflowData

      public WorkflowData(Principal owner, WorkflowType workflowType)
      constructor with mandatory properties
  • Method Details

    • getWfActions

      public List<WfActionData> getWfActions()
    • setWfActions

      public void setWfActions(List<WfActionData> wfActions)
    • getWorkflowType

      public WorkflowType getWorkflowType()
    • setWorkflowType

      public void setWorkflowType(WorkflowType workflowType)
    • setAborted

      public void setAborted(boolean abortActionData)
      set wfdata to aborted state and set end date. if abortActionData = true, also sets wfdatas to aborted.
    • setExclusiveGroup

      public void setExclusiveGroup(String exclusiveGroup)