Codota Logo
ValueFields.setByteArrayValue
Code IndexAdd Codota to your IDE (free)

How to use
setByteArrayValue
method
in
org.camunda.bpm.engine.impl.variable.serializer.ValueFields

Best Java code snippets using org.camunda.bpm.engine.impl.variable.serializer.ValueFields.setByteArrayValue (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: camunda/camunda-bpm-platform

protected void writeToValueFields(SpinValue value, ValueFields valueFields, byte[] serializedValue) {
 valueFields.setByteArrayValue(serializedValue);
}
origin: camunda/camunda-bpm-platform

public void writeValue(BytesValue variableValue, ValueFields valueFields) {
 valueFields.setByteArrayValue(variableValue.getValue());
}
origin: camunda/camunda-bpm-platform

public void writeValue(BytesValue variableValue, ValueFields valueFields) {
 valueFields.setByteArrayValue(variableValue.getValue());
}
origin: camunda/camunda-bpm-platform

protected void writeToValueFields(ObjectValue value, ValueFields valueFields, byte[] serializedValue) {
 String objectTypeName = getObjectTypeName(value, valueFields);
 valueFields.setByteArrayValue(serializedValue);
 valueFields.setTextValue2(objectTypeName);
}
origin: camunda/camunda-bpm-platform

protected void writeToValueFields(ObjectValue value, ValueFields valueFields, byte[] serializedValue) {
 String objectTypeName = getObjectTypeName(value, valueFields);
 valueFields.setByteArrayValue(serializedValue);
 valueFields.setTextValue2(objectTypeName);
}
origin: org.camunda.bpm/camunda-engine-plugin-spin

protected void writeToValueFields(SpinValue value, ValueFields valueFields, byte[] serializedValue) {
 valueFields.setByteArrayValue(serializedValue);
}
origin: camunda/camunda-bpm-platform

@Override
public void writeValue(FileValue value, ValueFields valueFields) {
 byte[] data = ((FileValueImpl) value).getByteArray();
 valueFields.setByteArrayValue(data);
 valueFields.setTextValue(value.getFilename());
 if (value.getMimeType() == null && value.getEncoding() != null) {
  valueFields.setTextValue2(MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 } else if (value.getMimeType() != null && value.getEncoding() == null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR);
 } else if (value.getMimeType() != null && value.getEncoding() != null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 }
}
origin: camunda/camunda-bpm-platform

@Override
public void writeValue(FileValue value, ValueFields valueFields) {
 byte[] data = ((FileValueImpl) value).getByteArray();
 valueFields.setByteArrayValue(data);
 valueFields.setTextValue(value.getFilename());
 if (value.getMimeType() == null && value.getEncoding() != null) {
  valueFields.setTextValue2(MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 } else if (value.getMimeType() != null && value.getEncoding() == null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR);
 } else if (value.getMimeType() != null && value.getEncoding() != null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 }
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(BytesValue variableValue, ValueFields valueFields) {
 valueFields.setByteArrayValue(variableValue.getValue());
}
origin: org.camunda.bpm/camunda-engine

protected void writeToValueFields(ObjectValue value, ValueFields valueFields, byte[] serializedValue) {
 String objectTypeName = getObjectTypeName(value, valueFields);
 valueFields.setByteArrayValue(serializedValue);
 valueFields.setTextValue2(objectTypeName);
}
origin: org.camunda.bpm/camunda-engine

@Override
public void writeValue(FileValue value, ValueFields valueFields) {
 byte[] data = ((FileValueImpl) value).getByteArray();
 valueFields.setByteArrayValue(data);
 valueFields.setTextValue(value.getFilename());
 if (value.getMimeType() == null && value.getEncoding() != null) {
  valueFields.setTextValue2(MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 } else if (value.getMimeType() != null && value.getEncoding() == null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR);
 } else if (value.getMimeType() != null && value.getEncoding() != null) {
  valueFields.setTextValue2(value.getMimeType() + MIMETYPE_ENCODING_SEPARATOR + value.getEncoding());
 }
}
org.camunda.bpm.engine.impl.variable.serializerValueFieldssetByteArrayValue

Popular methods of ValueFields

  • getByteArrayValue
  • getTextValue
  • getTextValue2
  • getDoubleValue
  • getLongValue
  • getName
  • setDoubleValue
  • setLongValue
  • setTextValue
  • setTextValue2

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now