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 Details

    • PROTECTED_VARIABLE_STRING_TYPE_NAMES

      protected static final Set<String> PROTECTED_VARIABLE_STRING_TYPE_NAMES
    • name

      protected String name
    • type

      protected org.flowable.variable.api.types.VariableType type
    • typeName

      protected String typeName
    • tenantId

      protected String tenantId
    • longValue

      protected Long longValue
    • doubleValue

      protected Double doubleValue
    • textValue

      protected String textValue
    • byteArrayRef

      protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef
    • cachedValue

      protected Object cachedValue
    • forcedUpdate

      protected boolean forcedUpdate
    • deleted

      protected boolean deleted
    • created

      protected Date created
    • createdBy

      protected String createdBy
    • lastModified

      protected Date lastModified
    • lastModifiedBy

      protected String lastModifiedBy
    • variableProtected

      protected boolean variableProtected
  • Constructor Details

    • TenantVariableEntityImpl

      public TenantVariableEntityImpl()
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
    • forceUpdate

      public void forceUpdate()
      Specified by:
      forceUpdate in interface TenantVariableEntity
    • getBytes

      public byte[] getBytes()
      Specified by:
      getBytes in interface org.flowable.variable.api.types.ValueFields
    • setBytes

      public void setBytes(byte[] bytes)
      Specified by:
      setBytes in interface TenantVariableEntity
      Specified by:
      setBytes in interface org.flowable.variable.api.types.ValueFields
    • getByteArrayRef

      public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef getByteArrayRef()
      Specified by:
      getByteArrayRef in interface TenantVariableEntity
    • ensureByteArrayRefInitialized

      protected void ensureByteArrayRefInitialized()
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface TenantVariable
    • setValue

      public void setValue(Object value)
      Specified by:
      setValue in interface TenantVariableEntity
    • isVariableProtected

      public boolean isVariableProtected()
      Specified by:
      isVariableProtected in interface TenantVariable
    • setId

      public void setId(String id)
      Specified by:
      setId in interface org.flowable.common.engine.impl.persistence.entity.Entity
      Specified by:
      setId in interface TenantVariableEntity
      Overrides:
      setId in class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
    • setName

      public void setName(String name)
      Specified by:
      setName in interface TenantVariableEntity
    • getName

      public String getName()
      Description copied from interface: TenantVariable
      variable name
      Specified by:
      getName in interface TenantVariable
      Specified by:
      getName in interface org.flowable.variable.api.types.ValueFields
    • getProcessInstanceId

      public String getProcessInstanceId()
      Specified by:
      getProcessInstanceId in interface org.flowable.variable.api.types.ValueFields
    • getExecutionId

      public String getExecutionId()
      Specified by:
      getExecutionId in interface org.flowable.variable.api.types.ValueFields
    • getScopeId

      public String getScopeId()
      Specified by:
      getScopeId in interface org.flowable.variable.api.types.ValueFields
    • getSubScopeId

      public String getSubScopeId()
      Specified by:
      getSubScopeId in interface org.flowable.variable.api.types.ValueFields
    • getScopeType

      public String getScopeType()
      Specified by:
      getScopeType in interface org.flowable.variable.api.types.ValueFields
    • getTaskId

      public String getTaskId()
      Specified by:
      getTaskId in interface org.flowable.variable.api.types.ValueFields
    • getTenantId

      public String getTenantId()
      Description copied from interface: TenantVariable
      the tenant identifier of this tenant variable
      Specified by:
      getTenantId in interface TenantVariable
    • setTenantId

      public void setTenantId(String tenantId)
      Specified by:
      setTenantId in interface TenantVariableEntity
    • getTypeName

      public String getTypeName()
    • setTypeName

      public void setTypeName(String typeName)
      Specified by:
      setTypeName in interface TenantVariableEntity
    • variableProtected

      public void variableProtected()
      Specified by:
      variableProtected in interface TenantVariableEntity
    • getType

      public org.flowable.variable.api.types.VariableType getType()
      Specified by:
      getType in interface TenantVariableEntity
    • setType

      public void setType(org.flowable.variable.api.types.VariableType type)
      Specified by:
      setType in interface TenantVariableEntity
    • getLongValue

      public Long getLongValue()
      Specified by:
      getLongValue in interface org.flowable.variable.api.types.ValueFields
    • setLongValue

      public void setLongValue(Long longValue)
      Specified by:
      setLongValue in interface TenantVariableEntity
      Specified by:
      setLongValue in interface org.flowable.variable.api.types.ValueFields
    • getDoubleValue

      public Double getDoubleValue()
      Specified by:
      getDoubleValue in interface org.flowable.variable.api.types.ValueFields
    • getId

      public String getId()
      Description copied from interface: TenantVariable
      unique identifier
      Specified by:
      getId in interface org.flowable.common.engine.impl.persistence.entity.Entity
      Specified by:
      getId in interface TenantVariable
      Overrides:
      getId in class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
    • setDoubleValue

      public void setDoubleValue(Double doubleValue)
      Specified by:
      setDoubleValue in interface TenantVariableEntity
      Specified by:
      setDoubleValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue

      public String getTextValue()
      Specified by:
      getTextValue in interface org.flowable.variable.api.types.ValueFields
    • setTextValue

      public void setTextValue(String textValue)
      Specified by:
      setTextValue in interface TenantVariableEntity
      Specified by:
      setTextValue in interface org.flowable.variable.api.types.ValueFields
    • getTextValue2

      public String getTextValue2()
      Specified by:
      getTextValue2 in interface org.flowable.variable.api.types.ValueFields
    • setTextValue2

      public void setTextValue2(String textValue2)
      Specified by:
      setTextValue2 in interface org.flowable.variable.api.types.ValueFields
    • getCachedValue

      public Object getCachedValue()
      Specified by:
      getCachedValue in interface TenantVariableEntity
      Specified by:
      getCachedValue in interface org.flowable.variable.api.types.ValueFields
    • setCachedValue

      public void setCachedValue(Object cachedValue)
      Specified by:
      setCachedValue in interface TenantVariableEntity
      Specified by:
      setCachedValue in interface org.flowable.variable.api.types.ValueFields
    • getLastModified

      public Date getLastModified()
      Specified by:
      getLastModified in interface TenantVariable
    • setLastModified

      public void setLastModified(Date lastModified)
      Specified by:
      setLastModified in interface TenantVariableEntity
    • getLastModifiedBy

      public String getLastModifiedBy()
      Specified by:
      getLastModifiedBy in interface TenantVariable
    • setLastModifiedBy

      public void setLastModifiedBy(String lastModifiedBy)
      Specified by:
      setLastModifiedBy in interface TenantVariableEntity
    • getCreated

      public Date getCreated()
      Specified by:
      getCreated in interface TenantVariable
    • setCreate

      public void setCreate(Date created)
      Specified by:
      setCreate in interface TenantVariableEntity
    • getCreatedBy

      public String getCreatedBy()
      Specified by:
      getCreatedBy in interface TenantVariable
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Specified by:
      setCreatedBy in interface TenantVariableEntity
    • encryptJsonNode

      protected void encryptJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, ProtectedVariableValueEncryptor valueEncryptor)