Class MetaWorkflowTask


@Entity public class MetaWorkflowTask extends AuditableModel
  • Constructor Details

    • MetaWorkflowTask

      public MetaWorkflowTask()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

      public void setId(Long id)
      Specified by:
      setId in class Model
    • getWorkflow

      public String getWorkflow()
      Id of the definition.
      Returns:
      the property value
    • setWorkflow

      public void setWorkflow(String workflow)
    • getWorkflowName

      public String getWorkflowName()
    • setWorkflowName

      public void setWorkflowName(String workflowName)
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getJsonModel

      public String getJsonModel()
      Custom model name; null for a real entity.
      Returns:
      the property value
    • setJsonModel

      public void setJsonModel(String jsonModel)
    • getRecordId

      public Long getRecordId()
    • setRecordId

      public void setRecordId(Long recordId)
    • getRecordName

      public String getRecordName()
      The record's name when the task opened.
      Returns:
      the property value
    • setRecordName

      public void setRecordName(String recordName)
    • getElementModel

      public String getElementModel()
      Entity class of the subflow element; null outside one.
      Returns:
      the property value
    • setElementModel

      public void setElementModel(String elementModel)
    • getElementJsonModel

      public String getElementJsonModel()
      Custom model name of the element; null for a real entity.
      Returns:
      the property value
    • setElementJsonModel

      public void setElementJsonModel(String elementJsonModel)
    • getElementRecordId

      public Long getElementRecordId()
      Id of the subflow element; null outside one.
      Returns:
      the property value
    • setElementRecordId

      public void setElementRecordId(Long elementRecordId)
    • getElementRecordName

      public String getElementRecordName()
      The element's name when the task opened.
      Returns:
      the property value
    • setElementRecordName

      public void setElementRecordName(String elementRecordName)
    • getNode

      public String getNode()
    • setNode

      public void setNode(String node)
    • getNodeTitle

      public String getNodeTitle()
      The node's title when the task opened.
      Returns:
      the property value
    • setNodeTitle

      public void setNodeTitle(String nodeTitle)
    • getDescription

      public String getDescription()
      The node's description when the task opened.
      Returns:
      the property value
    • setDescription

      public void setDescription(String description)
    • getOriginRun

      public MetaWorkflowRun getOriginRun()
      The run waiting on the task.
      Returns:
      the property value
    • setOriginRun

      public void setOriginRun(MetaWorkflowRun originRun)
    • getBranch

      public MetaWorkflowBranch getBranch()
      The branch waiting on the task; null outside a split or subflow.
      Returns:
      the property value
    • setBranch

      public void setBranch(MetaWorkflowBranch branch)
    • getAssignee

      public User getAssignee()
    • setAssignee

      public void setAssignee(User assignee)
    • getAssignedRole

      public Role getAssignedRole()
    • setAssignedRole

      public void setAssignedRole(Role assignedRole)
    • getAssignedGroup

      public Group getAssignedGroup()
    • setAssignedGroup

      public void setAssignedGroup(Group assignedGroup)
    • getDueAt

      public LocalDateTime getDueAt()
      The earliest boundary deadline on the task; null when it has none.
      Returns:
      the property value
    • setDueAt

      public void setDueAt(LocalDateTime dueAt)
    • getStatus

      public WorkflowTaskStatus getStatus()
    • setStatus

      public void setStatus(WorkflowTaskStatus status)
    • getCommentMode

      public WorkflowCommentMode getCommentMode()
      Which decision requires a comment.
      Returns:
      the property value
    • setCommentMode

      public void setCommentMode(WorkflowCommentMode commentMode)
    • getRejectDenied

      public Boolean getRejectDenied()
      Set when the node refuses a rejection.
      Returns:
      the property value
    • setRejectDenied

      public void setRejectDenied(Boolean rejectDenied)
    • getForceCompleteDenied

      public Boolean getForceCompleteDenied()
      Set when the node refuses an administrator's force-complete.
      Returns:
      the property value
    • setForceCompleteDenied

      public void setForceCompleteDenied(Boolean forceCompleteDenied)
    • getCancelDenied

      public Boolean getCancelDenied()
      Set when the node refuses an administrator's cancel.
      Returns:
      the property value
    • setCancelDenied

      public void setCancelDenied(Boolean cancelDenied)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getCompletedBy

      public User getCompletedBy()
    • setCompletedBy

      public void setCompletedBy(User completedBy)
    • getCompletedAt

      public LocalDateTime getCompletedAt()
    • setCompletedAt

      public void setCompletedAt(LocalDateTime completedAt)
    • getOutcome

      public WorkflowTaskOutcome getOutcome()
      How the task was closed.
      Returns:
      the property value
    • setOutcome

      public void setOutcome(WorkflowTaskOutcome outcome)
    • getParkKey

      public String getParkKey()
      The park the task holds.
      Returns:
      the property value
    • setParkKey

      public void setParkKey(String parkKey)
    • getVisit

      public Integer getVisit()
      Which pass over the node opened the task, from 1.
      Returns:
      the property value
    • setVisit

      public void setVisit(Integer visit)
    • getClaimedBy

      public User getClaimedBy()
      Who claimed a pooled task.
      Returns:
      the property value
    • setClaimedBy

      public void setClaimedBy(User claimedBy)
    • getClaimedAt

      public LocalDateTime getClaimedAt()
      When claimedBy took the task.
      Returns:
      the property value
    • setClaimedAt

      public void setClaimedAt(LocalDateTime claimedAt)
    • getLeaseOwner

      public String getLeaseOwner()
      Node holding the lease; null when unleased.
      Returns:
      the property value
    • setLeaseOwner

      public void setLeaseOwner(String leaseOwner)
    • getLeaseToken

      public String getLeaseToken()
      Token of the current lease; closing the task by deadline requires it.
      Returns:
      the property value
    • setLeaseToken

      public void setLeaseToken(String leaseToken)
    • getLeasedAt

      public LocalDateTime getLeasedAt()
      When the lease was taken or renewed, in database time.
      Returns:
      the property value
    • setLeasedAt

      public void setLeasedAt(LocalDateTime leasedAt)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object