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
,HasRevision
,Entity
,ValueFields
public class TenantVariableEntityImpl
extends AbstractPlatformEngineEntity
implements TenantVariableEntity, ValueFields
- Author:
- Christopher Welsch
-
Field Summary
Modifier and TypeFieldDescriptionprotected 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 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
encryptJsonNode
(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor) protected void
void
byte[]
getBytes()
getId()
unique identifiergetName()
variable namethe tenant identifier of this tenant variablegetType()
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
(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
-
typeName
-
tenantId
-
longValue
-
doubleValue
-
textValue
-
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 interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdate
in interfaceTenantVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceValueFields
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytes
in interfaceTenantVariableEntity
- Specified by:
setBytes
in interfaceValueFields
-
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 interfaceEntity
- Specified by:
setId
in interfaceTenantVariableEntity
- Overrides:
setId
in classAbstractEntity
-
setName
- Specified by:
setName
in interfaceTenantVariableEntity
-
getName
Description copied from interface:TenantVariable
variable name- Specified by:
getName
in interfaceTenantVariable
- Specified by:
getName
in interfaceValueFields
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionId
in interfaceValueFields
-
getScopeId
- Specified by:
getScopeId
in interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceValueFields
-
getScopeType
- Specified by:
getScopeType
in interfaceValueFields
-
getTaskId
- Specified by:
getTaskId
in interfaceValueFields
-
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
- Specified by:
getType
in interfaceTenantVariableEntity
-
setType
- Specified by:
setType
in interfaceTenantVariableEntity
-
getLongValue
- Specified by:
getLongValue
in interfaceValueFields
-
setLongValue
- Specified by:
setLongValue
in interfaceTenantVariableEntity
- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValue
in interfaceValueFields
-
getId
Description copied from interface:TenantVariable
unique identifier- Specified by:
getId
in interfaceEntity
- Specified by:
getId
in interfaceTenantVariable
- Overrides:
getId
in classAbstractEntity
-
setDoubleValue
- Specified by:
setDoubleValue
in interfaceTenantVariableEntity
- Specified by:
setDoubleValue
in interfaceValueFields
-
getTextValue
- Specified by:
getTextValue
in interfaceValueFields
-
setTextValue
- Specified by:
setTextValue
in interfaceTenantVariableEntity
- Specified by:
setTextValue
in interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2
in interfaceValueFields
-
setTextValue2
- Specified by:
setTextValue2
in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceTenantVariableEntity
- Specified by:
getCachedValue
in interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceTenantVariableEntity
- Specified by:
setCachedValue
in interfaceValueFields
-
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)
-