Class SyntheticWorkItem

  • All Implemented Interfaces:
    com.adobe.granite.workflow.exec.InboxItem, com.adobe.granite.workflow.exec.WorkItem, com.adobe.granite.workflow.HasMetaData

    public class SyntheticWorkItem
    extends Object
    implements com.adobe.granite.workflow.exec.WorkItem
    • Constructor Detail

      • SyntheticWorkItem

        public SyntheticWorkItem​(com.adobe.granite.workflow.exec.WorkflowData workflowData)
    • Method Detail

      • getId

        public final String getId()
        Specified by:
        getId in interface com.adobe.granite.workflow.exec.InboxItem
        Specified by:
        getId in interface com.adobe.granite.workflow.exec.WorkItem
      • getTimeStarted

        public final Date getTimeStarted()
        Specified by:
        getTimeStarted in interface com.adobe.granite.workflow.exec.InboxItem
        Specified by:
        getTimeStarted in interface com.adobe.granite.workflow.exec.WorkItem
      • getTimeEnded

        public final Date getTimeEnded()
        Specified by:
        getTimeEnded in interface com.adobe.granite.workflow.exec.InboxItem
        Specified by:
        getTimeEnded in interface com.adobe.granite.workflow.exec.WorkItem
      • getDueTime

        public Date getDueTime()
        Specified by:
        getDueTime in interface com.adobe.granite.workflow.exec.InboxItem
      • getProgressBeginTime

        public Date getProgressBeginTime()
        Specified by:
        getProgressBeginTime in interface com.adobe.granite.workflow.exec.InboxItem
      • setTimeEnded

        public final void setTimeEnded​(Date timeEnded)
      • getWorkflowData

        public final com.adobe.granite.workflow.exec.WorkflowData getWorkflowData()
        Specified by:
        getWorkflowData in interface com.adobe.granite.workflow.exec.WorkItem
      • getCurrentAssignee

        public final String getCurrentAssignee()
        Specified by:
        getCurrentAssignee in interface com.adobe.granite.workflow.exec.InboxItem
        Specified by:
        getCurrentAssignee in interface com.adobe.granite.workflow.exec.WorkItem
      • setDueTime

        public void setDueTime​(Date date)
        Specified by:
        setDueTime in interface com.adobe.granite.workflow.exec.WorkItem
      • setProgressBeginTime

        public void setProgressBeginTime​(Date date)
        Specified by:
        setProgressBeginTime in interface com.adobe.granite.workflow.exec.WorkItem
      • setPriority

        public void setPriority​(com.adobe.granite.workflow.exec.InboxItem.Priority priority)
        Specified by:
        setPriority in interface com.adobe.granite.workflow.exec.WorkItem
      • getMetaDataMap

        public final com.adobe.granite.workflow.metadata.MetaDataMap getMetaDataMap()
        This metadata map is local to this Workflow Item. This Map will change with each WorkflowProcess step.
        Specified by:
        getMetaDataMap in interface com.adobe.granite.workflow.HasMetaData
        Returns:
        the WorkItem's MetaDataMap
      • getWorkflow

        public final com.adobe.granite.workflow.exec.Workflow getWorkflow()
        Specified by:
        getWorkflow in interface com.adobe.granite.workflow.exec.WorkItem
      • getStatus

        public com.adobe.granite.workflow.exec.Status getStatus()
        Specified by:
        getStatus in interface com.adobe.granite.workflow.exec.InboxItem
      • getNode

        public final com.adobe.granite.workflow.model.WorkflowNode getNode()
        Specified by:
        getNode in interface com.adobe.granite.workflow.exec.WorkItem
      • getItemType

        public String getItemType()
        Specified by:
        getItemType in interface com.adobe.granite.workflow.exec.InboxItem
      • getItemSubType

        public String getItemSubType()
        Specified by:
        getItemSubType in interface com.adobe.granite.workflow.exec.InboxItem
      • getContentPath

        public String getContentPath()
        Specified by:
        getContentPath in interface com.adobe.granite.workflow.exec.InboxItem
      • getPriority

        public com.adobe.granite.workflow.exec.InboxItem.Priority getPriority()
        Specified by:
        getPriority in interface com.adobe.granite.workflow.exec.InboxItem