Package com.axelor.meta.db
Class MetaWorkflowTask
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe branch waiting on the task; null outside a split or subflow.Set when the node refuses an administrator's cancel.When claimedBy took the task.Who claimed a pooled task.Which decision requires a comment.The node's description when the task opened.getDueAt()The earliest boundary deadline on the task; null when it has none.Custom model name of the element; null for a real entity.Entity class of the subflow element; null outside one.Id of the subflow element; null outside one.The element's name when the task opened.Set when the node refuses an administrator's force-complete.getId()Custom model name; null for a real entity.When the lease was taken or renewed, in database time.Node holding the lease; null when unleased.Token of the current lease; closing the task by deadline requires it.getModel()getNode()The node's title when the task opened.The run waiting on the task.How the task was closed.The park the task holds.The record's name when the task opened.Set when the node refuses a rejection.getVisit()Which pass over the node opened the task, from 1.Id of the definition.inthashCode()voidsetAssignedGroup(Group assignedGroup) voidsetAssignedRole(Role assignedRole) voidsetAssignee(User assignee) voidsetBranch(MetaWorkflowBranch branch) voidsetCancelDenied(Boolean cancelDenied) voidsetClaimedAt(LocalDateTime claimedAt) voidsetClaimedBy(User claimedBy) voidsetComment(String comment) voidsetCommentMode(WorkflowCommentMode commentMode) voidsetCompletedAt(LocalDateTime completedAt) voidsetCompletedBy(User completedBy) voidsetDescription(String description) voidsetDueAt(LocalDateTime dueAt) voidsetElementJsonModel(String elementJsonModel) voidsetElementModel(String elementModel) voidsetElementRecordId(Long elementRecordId) voidsetElementRecordName(String elementRecordName) voidsetForceCompleteDenied(Boolean forceCompleteDenied) voidvoidsetJsonModel(String jsonModel) voidsetLeasedAt(LocalDateTime leasedAt) voidsetLeaseOwner(String leaseOwner) voidsetLeaseToken(String leaseToken) voidvoidvoidsetNodeTitle(String nodeTitle) voidsetOriginRun(MetaWorkflowRun originRun) voidsetOutcome(WorkflowTaskOutcome outcome) voidsetParkKey(String parkKey) voidsetRecordId(Long recordId) voidsetRecordName(String recordName) voidsetRejectDenied(Boolean rejectDenied) voidsetStatus(WorkflowTaskStatus status) voidvoidsetWorkflow(String workflow) voidsetWorkflowName(String workflowName) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
MetaWorkflowTask
public MetaWorkflowTask()
-
-
Method Details
-
getId
-
setId
-
getWorkflow
Id of the definition.- Returns:
- the property value
-
setWorkflow
-
getWorkflowName
-
setWorkflowName
-
getModel
-
setModel
-
getJsonModel
Custom model name; null for a real entity.- Returns:
- the property value
-
setJsonModel
-
getRecordId
-
setRecordId
-
getRecordName
The record's name when the task opened.- Returns:
- the property value
-
setRecordName
-
getElementModel
Entity class of the subflow element; null outside one.- Returns:
- the property value
-
setElementModel
-
getElementJsonModel
Custom model name of the element; null for a real entity.- Returns:
- the property value
-
setElementJsonModel
-
getElementRecordId
Id of the subflow element; null outside one.- Returns:
- the property value
-
setElementRecordId
-
getElementRecordName
The element's name when the task opened.- Returns:
- the property value
-
setElementRecordName
-
getNode
-
setNode
-
getNodeTitle
The node's title when the task opened.- Returns:
- the property value
-
setNodeTitle
-
getDescription
The node's description when the task opened.- Returns:
- the property value
-
setDescription
-
getOriginRun
The run waiting on the task.- Returns:
- the property value
-
setOriginRun
-
getBranch
The branch waiting on the task; null outside a split or subflow.- Returns:
- the property value
-
setBranch
-
getAssignee
-
setAssignee
-
getAssignedRole
-
setAssignedRole
-
getAssignedGroup
-
setAssignedGroup
-
getDueAt
The earliest boundary deadline on the task; null when it has none.- Returns:
- the property value
-
setDueAt
-
getStatus
-
setStatus
-
getCommentMode
Which decision requires a comment.- Returns:
- the property value
-
setCommentMode
-
getRejectDenied
Set when the node refuses a rejection.- Returns:
- the property value
-
setRejectDenied
-
getForceCompleteDenied
Set when the node refuses an administrator's force-complete.- Returns:
- the property value
-
setForceCompleteDenied
-
getCancelDenied
Set when the node refuses an administrator's cancel.- Returns:
- the property value
-
setCancelDenied
-
getComment
-
setComment
-
getCompletedBy
-
setCompletedBy
-
getCompletedAt
-
setCompletedAt
-
getOutcome
How the task was closed.- Returns:
- the property value
-
setOutcome
-
getParkKey
The park the task holds.- Returns:
- the property value
-
setParkKey
-
getVisit
Which pass over the node opened the task, from 1.- Returns:
- the property value
-
setVisit
-
getClaimedBy
Who claimed a pooled task.- Returns:
- the property value
-
setClaimedBy
-
getClaimedAt
When claimedBy took the task.- Returns:
- the property value
-
setClaimedAt
-
getLeaseOwner
Node holding the lease; null when unleased.- Returns:
- the property value
-
setLeaseOwner
-
getLeaseToken
Token of the current lease; closing the task by deadline requires it.- Returns:
- the property value
-
setLeaseToken
-
getLeasedAt
When the lease was taken or renewed, in database time.- Returns:
- the property value
-
setLeasedAt
-
equals
-
hashCode
public int hashCode() -
toString
-