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.ByteArrayRefprotected Objectprotected Dateprotected Stringprotected booleanprotected Doubleprotected booleanprotected Dateprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected org.flowable.variable.api.types.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 voidvoidorg.flowable.common.engine.impl.persistence.entity.ByteArrayRefbyte[]getBytes()getId()unique identifiergetName()variable namethe tenant identifier of this tenant variableorg.flowable.variable.api.types.VariableTypegetType()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(org.flowable.variable.api.types.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
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:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceTenantVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceorg.flowable.variable.api.types.ValueFields
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceTenantVariableEntity- Specified by:
setBytesin interfaceorg.flowable.variable.api.types.ValueFields
-
getByteArrayRef
public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef 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 interfaceorg.flowable.common.engine.impl.persistence.entity.Entity- Specified by:
setIdin interfaceTenantVariableEntity- Overrides:
setIdin classorg.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
setName
- Specified by:
setNamein interfaceTenantVariableEntity
-
getName
Description copied from interface:TenantVariablevariable name- Specified by:
getNamein interfaceTenantVariable- Specified by:
getNamein interfaceorg.flowable.variable.api.types.ValueFields
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceorg.flowable.variable.api.types.ValueFields
-
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
public org.flowable.variable.api.types.VariableType getType()- Specified by:
getTypein interfaceTenantVariableEntity
-
setType
public void setType(org.flowable.variable.api.types.VariableType type) - Specified by:
setTypein interfaceTenantVariableEntity
-
getLongValue
- Specified by:
getLongValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setLongValue
- Specified by:
setLongValuein interfaceTenantVariableEntity- Specified by:
setLongValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getId
Description copied from interface:TenantVariableunique identifier- Specified by:
getIdin interfaceorg.flowable.common.engine.impl.persistence.entity.Entity- Specified by:
getIdin interfaceTenantVariable- Overrides:
getIdin classorg.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceTenantVariableEntity- Specified by:
setDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setTextValue
- Specified by:
setTextValuein interfaceTenantVariableEntity- Specified by:
setTextValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceorg.flowable.variable.api.types.ValueFields
-
setTextValue2
- Specified by:
setTextValue2in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceTenantVariableEntity- Specified by:
getCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceTenantVariableEntity- Specified by:
setCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
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)
-