Class SerializableType
java.lang.Object
org.flowable.variable.service.impl.types.ByteArrayType
org.flowable.variable.service.impl.types.SerializableType
- All Implemented Interfaces:
VariableType,MutableVariableType<Object,byte[]>
- Direct Known Subclasses:
LongStringType
- Author:
- Tom Baeyens, Marcus Klimstra (CGI)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectInputStreamprotected ObjectOutputStreamdeserialize(byte[] bytes, ValueFields valueFields) protected StringgetEngineType(String scopeType) getValue(ValueFields valueFields) protected VariableServiceConfigurationgetVariableServiceConfiguration(ValueFields valueFields) booleanisAbleToStore(Object value) byte[]serialize(Object value, ValueFields valueFields) voidsetValue(Object value, ValueFields valueFields) protected voidtraceValue(Object value, byte[] valueBytes, ValueFields valueFields) booleanupdateValueIfChanged(Object tracedObject, byte[] originalBytes, VariableInstanceEntity variableInstanceEntity) Methods inherited from class org.flowable.variable.service.impl.types.ByteArrayType
isCachableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.variable.api.types.VariableType
isReadOnly
-
Field Details
-
TYPE_NAME
- See Also:
-
trackDeserializedObjects
protected boolean trackDeserializedObjects
-
-
Constructor Details
-
SerializableType
public SerializableType() -
SerializableType
public SerializableType(boolean trackDeserializedObjects)
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceVariableType- Overrides:
getTypeNamein classByteArrayType
-
getValue
- Specified by:
getValuein interfaceVariableType- Overrides:
getValuein classByteArrayType
-
setValue
- Specified by:
setValuein interfaceVariableType- Overrides:
setValuein classByteArrayType
-
traceValue
-
updateValueIfChanged
public boolean updateValueIfChanged(Object tracedObject, byte[] originalBytes, VariableInstanceEntity variableInstanceEntity) - Specified by:
updateValueIfChangedin interfaceMutableVariableType<Object,byte[]>
-
serialize
-
deserialize
-
getVariableServiceConfiguration
-
getEngineType
-
isAbleToStore
- Specified by:
isAbleToStorein interfaceVariableType- Overrides:
isAbleToStorein classByteArrayType
-
createObjectInputStream
- Throws:
IOException
-
createObjectOutputStream
- Throws:
IOException
-