Class ExternalWorkerJobEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
org.flowable.job.service.impl.persistence.entity.ExternalWorkerJobEntityImpl
- All Implemented Interfaces:
Serializable
,HasRevision
,Entity
,ExternalWorkerJob
,Job
,JobInfo
,AbstractJobEntity
,AbstractRuntimeJobEntity
,ExternalWorkerJobEntity
,JobInfoEntity
public class ExternalWorkerJobEntityImpl
extends AbstractJobEntityImpl
implements ExternalWorkerJobEntity
- Author:
- Filip Hrisafov
- See Also:
-
Field Summary
FieldsFields inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
category, correlationId, createTime, customValuesByteArrayRef, duedate, elementId, elementName, endDate, exceptionByteArrayRef, exceptionMessage, executionId, isExclusive, jobHandlerConfiguration, jobHandlerType, jobType, maxIterations, processDefinitionId, processInstanceId, repeat, retries, scopeDefinitionId, scopeId, scopeType, subScopeId, tenantId
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
Fields inherited from interface org.flowable.job.api.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a representation of the object, as would be stored in the database.void
setLockExpirationTime
(Date claimedUntil) void
setLockOwner
(String claimedBy) Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobEntityImpl
getCategory, getCorrelationId, getCreateTime, getCustomValues, getCustomValuesByteArrayRef, getDuedate, getElementId, getElementName, getEndDate, getEngineType, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getExecutionId, getJobHandlerConfiguration, getJobHandlerType, getJobType, getMaxIterations, getProcessDefinitionId, getProcessInstanceId, getRepeat, getRetries, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeId, getTenantId, isExclusive, setCategory, setCorrelationId, setCreateTime, setCustomValues, setCustomValuesByteArrayRef, setDuedate, setElementId, setElementName, setEndDate, setExceptionByteArrayRef, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecutionId, setJobHandlerConfiguration, setJobHandlerType, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setRetries, setScopeDefinitionId, setScopeId, setScopeType, setSubScopeId, setTenantId, toString
Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.AbstractJobEntity
getCreateTime, getCustomValues, getCustomValuesByteArrayRef, getExceptionByteArrayRef, getExceptionMessage, getExceptionStacktrace, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId, setCustomValues, setCustomValuesByteArrayRef, setExceptionByteArrayRef, setExceptionMessage, setExceptionStacktrace, setJobHandlerConfiguration, setJobHandlerType, setRetries, setTenantId
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.AbstractRuntimeJobEntity
getEndDate, getMaxIterations, getRepeat, setCategory, setCorrelationId, setCreateTime, setDuedate, setElementId, setElementName, setEndDate, setExclusive, setExecutionId, setJobType, setMaxIterations, setProcessDefinitionId, setProcessInstanceId, setRepeat, setScopeDefinitionId, setScopeId, setSubScopeId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface org.flowable.job.api.Job
getCategory, getCorrelationId, getCreateTime, getDuedate, getElementId, getElementName, getExecutionId, getJobType, getProcessDefinitionId, getProcessInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeId, isExclusive
Methods inherited from interface org.flowable.job.api.JobInfo
getCustomValues, getExceptionMessage, getId, getJobHandlerConfiguration, getJobHandlerType, getRetries, getTenantId
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntity
getScopeType, setScopeType
-
Field Details
-
lockOwner
-
lockExpirationTime
-
-
Constructor Details
-
ExternalWorkerJobEntityImpl
public ExternalWorkerJobEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceEntity
- Overrides:
getPersistentState
in classAbstractJobEntityImpl
-
getLockOwner
- Specified by:
getLockOwner
in interfaceExternalWorkerJob
- Specified by:
getLockOwner
in interfaceJobInfoEntity
-
setLockOwner
- Specified by:
setLockOwner
in interfaceJobInfoEntity
-
getLockExpirationTime
- Specified by:
getLockExpirationTime
in interfaceExternalWorkerJob
- Specified by:
getLockExpirationTime
in interfaceJobInfoEntity
-
setLockExpirationTime
- Specified by:
setLockExpirationTime
in interfaceJobInfoEntity
-