Package com.axelor.meta.db
Class MetaWorkflowCapture
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowCapture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow many dispatches have claimed it.Who made the change; the dispatched run runs as them.Names of the changed fields, as JSON; empty on create.Set once an email, agent or script may have acted outside the transaction.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; completing the dispatch requires it.getModel()getOld()The record's values before the change, as JSON; null on create.The deployed definitions' stamp at capture time.getSelf()The record's values after the change, as JSON.create or update.inthashCode()voidsetAttempts(Integer attempts) voidsetCapturedAt(LocalDateTime capturedAt) voidsetChangedBy(User changedBy) voidsetChangedFields(String changedFields) voidsetEffectStarted(Boolean effectStarted) voidsetErrorMessage(String errorMessage) voidvoidsetJsonModel(String jsonModel) voidsetLastAttemptAt(LocalDateTime lastAttemptAt) voidsetLeasedAt(LocalDateTime leasedAt) voidsetLeaseOwner(String leaseOwner) voidsetLeaseToken(String leaseToken) voidvoidvoidsetReconciledAt(LocalDateTime reconciledAt) voidsetReconciledBy(User reconciledBy) voidsetReconciliationReason(String reconciliationReason) voidsetRecordId(Long recordId) voidsetRegistryStamp(String registryStamp) voidvoidsetStatus(WorkflowCaptureStatus status) voidsetTriggerType(WorkflowTrigger triggerType) 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
-
MetaWorkflowCapture
public MetaWorkflowCapture()
-
-
Method Details
-
getId
-
setId
-
getTriggerType
create or update.- Returns:
- the property value
-
setTriggerType
-
getModel
-
setModel
-
getJsonModel
Custom model name; null for a real entity.- Returns:
- the property value
-
setJsonModel
-
getRecordId
-
setRecordId
-
getChangedFields
Names of the changed fields, as JSON; empty on create.- Returns:
- the property value
-
setChangedFields
-
getSelf
The record's values after the change, as JSON.- Returns:
- the property value
-
setSelf
-
getOld
The record's values before the change, as JSON; null on create.- Returns:
- the property value
-
setOld
-
getCapturedAt
-
setCapturedAt
-
getChangedBy
Who made the change; the dispatched run runs as them.- Returns:
- the property value
-
setChangedBy
-
getRegistryStamp
The deployed definitions' stamp at capture time.- Returns:
- the property value
-
setRegistryStamp
-
getStatus
-
setStatus
-
getAttempts
How many dispatches have claimed it.- Returns:
- the property value
-
setAttempts
-
getLeaseOwner
Node holding the lease; null when unleased.- Returns:
- the property value
-
setLeaseOwner
-
getLeaseToken
Token of the current lease; completing the dispatch requires it.- Returns:
- the property value
-
setLeaseToken
-
getLeasedAt
When the lease was taken or renewed, in database time.- Returns:
- the property value
-
setLeasedAt
-
getEffectStarted
Set once an email, agent or script may have acted outside the transaction.- Returns:
- the property value
-
setEffectStarted
-
getReconciliationReason
-
setReconciliationReason
-
getReconciledBy
-
setReconciledBy
-
getReconciledAt
-
setReconciledAt
-
getLastAttemptAt
-
setLastAttemptAt
-
getErrorMessage
-
setErrorMessage
-
equals
-
hashCode
public int hashCode() -
toString
-