Class WorkflowInstance

  • All Implemented Interfaces:
    java.io.Serializable

    @AlfrescoPublicApi
    public class WorkflowInstance
    extends java.lang.Object
    implements java.io.Serializable
    Workflow Instance Data Object Represents an "in-flight" workflow.
    Author:
    davidc
    See Also:
    Serialized Form
    • Field Detail

      • id

        @Deprecated
        public java.lang.String id
        Deprecated.
        Workflow Instance unique id
      • description

        @Deprecated
        public java.lang.String description
        Deprecated.
        Workflow Instance description
      • active

        @Deprecated
        public boolean active
        Deprecated.
        Is this Workflow instance still "in-flight" or has it completed?
      • initiator

        @Deprecated
        public org.alfresco.service.cmr.repository.NodeRef initiator
        Deprecated.
        Initiator (cm:person) - null if System initiated
      • priority

        public java.lang.Integer priority
        Workflow priority
      • startDate

        @Deprecated
        public java.util.Date startDate
        Deprecated.
        Workflow Start Date
      • dueDate

        public java.util.Date dueDate
        Workflow Due Date
      • endDate

        @Deprecated
        public java.util.Date endDate
        Deprecated.
        Workflow End Date
      • workflowPackage

        @Deprecated
        public org.alfresco.service.cmr.repository.NodeRef workflowPackage
        Deprecated.
        Workflow Package
      • context

        @Deprecated
        public org.alfresco.service.cmr.repository.NodeRef context
        Deprecated.
        Workflow Context
      • definition

        @Deprecated
        public WorkflowDefinition definition
        Deprecated.
        Workflow Definition
    • Constructor Detail

      • WorkflowInstance

        public WorkflowInstance​(java.lang.String id,
                                WorkflowDefinition definition,
                                java.lang.String description,
                                org.alfresco.service.cmr.repository.NodeRef initiator,
                                org.alfresco.service.cmr.repository.NodeRef workflowPackage,
                                org.alfresco.service.cmr.repository.NodeRef context,
                                boolean active,
                                java.util.Date startDate,
                                java.util.Date endDate)
    • Method Detail

      • getSerialversionuid

        public static long getSerialversionuid()
        Returns:
        the serialversionuid
      • getId

        public java.lang.String getId()
        Returns:
        the id
      • getDescription

        public java.lang.String getDescription()
        Returns:
        the description
      • isActive

        public boolean isActive()
        Returns:
        the active
      • getInitiator

        public org.alfresco.service.cmr.repository.NodeRef getInitiator()
        Returns:
        the initiator
      • getPriority

        public java.lang.Integer getPriority()
        Returns:
        the priority, null if there is no priority set
      • getStartDate

        public java.util.Date getStartDate()
        Returns:
        the startDate
      • getDueDate

        public java.util.Date getDueDate()
        Returns:
        the dueDate
      • getEndDate

        public java.util.Date getEndDate()
        Returns:
        the endDate
      • getWorkflowPackage

        public org.alfresco.service.cmr.repository.NodeRef getWorkflowPackage()
        Returns:
        the workflowPackage
      • getContext

        public org.alfresco.service.cmr.repository.NodeRef getContext()
        Returns:
        the context
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object