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
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected Dateprotected Stringprotected booleanprotected Doubleprotected booleanprotected Dateprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected VariableTypeprotected Stringprotected booleanFields 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 voidencryptJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor) protected voidvoidbyte[]getBytes()getId()unique identifiergetName()variable namethe tenant identifier of this tenant variablegetType()getValue()booleanvoidsetBytes(byte[] bytes) voidsetCachedValue(Object cachedValue) voidvoidsetCreatedBy(String createdBy) voidsetDoubleValue(Double doubleValue) voidvoidsetLastModified(Date lastModified) voidsetLastModifiedBy(String lastModifiedBy) voidsetLongValue(Long longValue) voidvoidsetTenantId(String tenantId) voidsetTextValue(String textValue) voidsetTextValue2(String textValue2) voidsetType(VariableType type) voidsetTypeName(String typeName) voidvoidMethods inherited from class com.flowable.platform.engine.impl.persistence.entity.AbstractPlatformEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdatedMethods 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:
getPersistentStatein interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceTenantVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceValueFields
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceTenantVariableEntity- Specified by:
setBytesin interfaceValueFields
-
getByteArrayRef
- Specified by:
getByteArrayRefin interfaceTenantVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValuein interfaceTenantVariable
-
setValue
- Specified by:
setValuein interfaceTenantVariableEntity
-
isVariableProtected
public boolean isVariableProtected()- Specified by:
isVariableProtectedin interfaceTenantVariable
-
setId
- Specified by:
setIdin interfaceEntity- Specified by:
setIdin interfaceTenantVariableEntity- Overrides:
setIdin classAbstractEntity
-
setName
- Specified by:
setNamein interfaceTenantVariableEntity
-
getName
Description copied from interface:TenantVariablevariable name- Specified by:
getNamein interfaceTenantVariable- Specified by:
getNamein interfaceValueFields
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceValueFields
-
getTenantId
Description copied from interface:TenantVariablethe tenant identifier of this tenant variable- Specified by:
getTenantIdin interfaceTenantVariable
-
setTenantId
- Specified by:
setTenantIdin interfaceTenantVariableEntity
-
getTypeName
-
setTypeName
- Specified by:
setTypeNamein interfaceTenantVariableEntity
-
variableProtected
public void variableProtected()- Specified by:
variableProtectedin interfaceTenantVariableEntity
-
getType
- Specified by:
getTypein interfaceTenantVariableEntity
-
setType
- Specified by:
setTypein interfaceTenantVariableEntity
-
getLongValue
- Specified by:
getLongValuein interfaceValueFields
-
setLongValue
- Specified by:
setLongValuein interfaceTenantVariableEntity- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceValueFields
-
getId
Description copied from interface:TenantVariableunique identifier- Specified by:
getIdin interfaceEntity- Specified by:
getIdin interfaceTenantVariable- Overrides:
getIdin classAbstractEntity
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceTenantVariableEntity- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceValueFields
-
setTextValue
- Specified by:
setTextValuein interfaceTenantVariableEntity- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceValueFields
-
setTextValue2
- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceTenantVariableEntity- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceTenantVariableEntity- Specified by:
setCachedValuein interfaceValueFields
-
getLastModified
- Specified by:
getLastModifiedin interfaceTenantVariable
-
setLastModified
- Specified by:
setLastModifiedin interfaceTenantVariableEntity
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceTenantVariable
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceTenantVariableEntity
-
getCreated
- Specified by:
getCreatedin interfaceTenantVariable
-
setCreate
- Specified by:
setCreatein interfaceTenantVariableEntity
-
getCreatedBy
- Specified by:
getCreatedByin interfaceTenantVariable
-
setCreatedBy
- Specified by:
setCreatedByin interfaceTenantVariableEntity
-
encryptJsonNode
protected void encryptJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor)
-