Class ByteArrayRef
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
- All Implemented Interfaces:
Serializable
Encapsulates the logic for transparently working with ByteArrayEntity .
- Author:
- Marcus Klimstra (CGI)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()This makes a copy of thisByteArrayRef: a newByteArrayRefinstance will be created, however with the same id, name andByteArrayEntityinstances.voidprotected voidensureInitialized(String engineType) byte[]protected AbstractEngineConfigurationgetEngineConfiguration(String engineType) protected AbstractEngineConfigurationgetEngineConfiguration(String engineType, CommandContext commandContext) protected AbstractEngineConfigurationgetEngineConfigurationForAllType(CommandContext commandContext) protected AbstractEngineConfigurationgetFirstEngineConfigurationWithByteArrayEntityManager(CommandContext commandContext) getId()getName()booleanprotected voidvoidvoidSet the specifiedStringas the value of the byte array reference.toString()
-
Field Details
-
commandExecutor
-
deleted
protected boolean deleted
-
-
Constructor Details
-
ByteArrayRef
public ByteArrayRef() -
ByteArrayRef
-
-
Method Details
-
getId
-
getName
-
getBytes
-
asString
- Returns:
- the byte array as
StandardCharsets.UTF_8String
-
setValue
-
setValue
Set the specifiedStringas the value of the byte array reference. It uses theStandardCharsets.UTF_8charset to convert theStringto the byte array.- Parameters:
name- the name of the byte array referencevalue- the value of the byte array reference
-
setBytes
-
getEntity
-
delete
-
ensureInitialized
-
isDeleted
public boolean isDeleted() -
copy
This makes a copy of thisByteArrayRef: a newByteArrayRefinstance will be created, however with the same id, name andByteArrayEntityinstances. -
getEngineConfiguration
-
getEngineConfiguration
protected AbstractEngineConfiguration getEngineConfiguration(String engineType, CommandContext commandContext) -
getEngineConfigurationForAllType
protected AbstractEngineConfiguration getEngineConfigurationForAllType(CommandContext commandContext) -
getFirstEngineConfigurationWithByteArrayEntityManager
protected AbstractEngineConfiguration getFirstEngineConfigurationWithByteArrayEntityManager(CommandContext commandContext) -
toString
-