Class TenantVariableEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.platform.engine.impl.persistence.entity.AbstractPlatformEngineEntity
com.flowable.platform.engine.impl.persistence.entity.TenantVariableEntityImpl
- All Implemented Interfaces:
TenantVariable
,TenantVariableEntity
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
,org.flowable.variable.api.types.ValueFields
public class TenantVariableEntityImpl
extends AbstractPlatformEngineEntity
implements TenantVariableEntity, org.flowable.variable.api.types.ValueFields
- Author:
- Christopher Welsch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
protected Object
protected Date
protected String
protected boolean
protected Double
protected boolean
protected Date
protected String
protected Long
protected String
protected String
protected String
protected org.flowable.variable.api.types.VariableType
protected String
protected boolean
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
encryptJsonNode
(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor) protected void
void
org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
byte[]
getBytes()
getId()
unique identifiergetName()
variable namethe tenant identifier of this tenant variableorg.flowable.variable.api.types.VariableType
getType()
getValue()
boolean
void
setBytes
(byte[] bytes) void
setCachedValue
(Object cachedValue) void
void
setCreatedBy
(String createdBy) void
setDoubleValue
(Double doubleValue) void
void
setLastModified
(Date lastModified) void
setLastModifiedBy
(String lastModifiedBy) void
setLongValue
(Long longValue) void
void
setTenantId
(String tenantId) void
setTextValue
(String textValue) void
setTextValue2
(String textValue2) void
setType
(org.flowable.variable.api.types.VariableType type) void
setTypeName
(String typeName) void
void
Methods inherited from class com.flowable.platform.engine.impl.persistence.entity.AbstractPlatformEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
PROTECTED_VARIABLE_STRING_TYPE_NAMES
-
name
-
type
protected org.flowable.variable.api.types.VariableType type -
typeName
-
tenantId
-
longValue
-
doubleValue
-
textValue
-
byteArrayRef
protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef -
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted -
created
-
createdBy
-
lastModified
-
lastModifiedBy
-
variableProtected
protected boolean variableProtected
-
-
Constructor Details
-
TenantVariableEntityImpl
public TenantVariableEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdate
in interfaceTenantVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceorg.flowable.variable.api.types.ValueFields
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytes
in interfaceTenantVariableEntity
- Specified by:
setBytes
in interfaceorg.flowable.variable.api.types.ValueFields
-
getByteArrayRef
public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef getByteArrayRef()- Specified by:
getByteArrayRef
in interfaceTenantVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValue
in interfaceTenantVariable
-
setValue
- Specified by:
setValue
in interfaceTenantVariableEntity
-
isVariableProtected
public boolean isVariableProtected()- Specified by:
isVariableProtected
in interfaceTenantVariable
-
setId
- Specified by:
setId
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
- Specified by:
setId
in interfaceTenantVariableEntity
- Overrides:
setId
in classorg.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
setName
- Specified by:
setName
in interfaceTenantVariableEntity
-
getName
Description copied from interface:TenantVariable
variable name- Specified by:
getName
in interfaceTenantVariable
- Specified by:
getName
in interfaceorg.flowable.variable.api.types.ValueFields
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
- Specified by:
getExecutionId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
- Specified by:
getScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
- Specified by:
getScopeType
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
- Specified by:
getTaskId
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTenantId
Description copied from interface:TenantVariable
the tenant identifier of this tenant variable- Specified by:
getTenantId
in interfaceTenantVariable
-
setTenantId
- Specified by:
setTenantId
in interfaceTenantVariableEntity
-
getTypeName
-
setTypeName
- Specified by:
setTypeName
in interfaceTenantVariableEntity
-
variableProtected
public void variableProtected()- Specified by:
variableProtected
in interfaceTenantVariableEntity
-
getType
public org.flowable.variable.api.types.VariableType getType()- Specified by:
getType
in interfaceTenantVariableEntity
-
setType
public void setType(org.flowable.variable.api.types.VariableType type) - Specified by:
setType
in interfaceTenantVariableEntity
-
getLongValue
- Specified by:
getLongValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
setLongValue
- Specified by:
setLongValue
in interfaceTenantVariableEntity
- Specified by:
setLongValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
- Specified by:
getDoubleValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getId
Description copied from interface:TenantVariable
unique identifier- Specified by:
getId
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
- Specified by:
getId
in interfaceTenantVariable
- Overrides:
getId
in classorg.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
setDoubleValue
- Specified by:
setDoubleValue
in interfaceTenantVariableEntity
- Specified by:
setDoubleValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
- Specified by:
getTextValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
setTextValue
- Specified by:
setTextValue
in interfaceTenantVariableEntity
- Specified by:
setTextValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
- Specified by:
getTextValue2
in interfaceorg.flowable.variable.api.types.ValueFields
-
setTextValue2
- Specified by:
setTextValue2
in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceTenantVariableEntity
- Specified by:
getCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceTenantVariableEntity
- Specified by:
setCachedValue
in interfaceorg.flowable.variable.api.types.ValueFields
-
getLastModified
- Specified by:
getLastModified
in interfaceTenantVariable
-
setLastModified
- Specified by:
setLastModified
in interfaceTenantVariableEntity
-
getLastModifiedBy
- Specified by:
getLastModifiedBy
in interfaceTenantVariable
-
setLastModifiedBy
- Specified by:
setLastModifiedBy
in interfaceTenantVariableEntity
-
getCreated
- Specified by:
getCreated
in interfaceTenantVariable
-
setCreate
- Specified by:
setCreate
in interfaceTenantVariableEntity
-
getCreatedBy
- Specified by:
getCreatedBy
in interfaceTenantVariable
-
setCreatedBy
- Specified by:
setCreatedBy
in interfaceTenantVariableEntity
-
encryptJsonNode
protected void encryptJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor)
-