congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
QueryVariableValue.getOperator
Code IndexAdd Tabnine to your IDE (free)

How to use
getOperator
method
in
org.camunda.bpm.engine.impl.QueryVariableValue

Best Java code snippets using org.camunda.bpm.engine.impl.QueryVariableValue.getOperator (Showing top 7 results out of 315)

origin: camunda/camunda-bpm-platform

public String getOperatorName() {
 return getOperator().toString();
}
origin: camunda/camunda-bpm-platform

public String getOperatorName() {
 return getOperator().toString();
}
origin: camunda/camunda-bpm-platform

protected TypedValueSerializer determineSerializer(VariableSerializers serializers, TypedValue value) {
 TypedValueSerializer serializer = serializers.findSerializerForValue(value);
 if(serializer.getType() == ValueType.BYTES){
  throw new ProcessEngineException("Variables of type ByteArray cannot be used to query");
 }
 else if(serializer.getType() == ValueType.FILE){
  throw new ProcessEngineException("Variables of type File cannot be used to query");
 }
 else if(serializer instanceof JPAVariableSerializer) {
  if(wrappedQueryValue.getOperator() != QueryOperator.EQUALS) {
   throw new ProcessEngineException("JPA entity variables can only be used in 'variableValueEquals'");
  }
 }
 else {
  if(!serializer.getType().isPrimitiveValueType()) {
   throw new ProcessEngineException("Object values cannot be used to query");
  }
 }
 return serializer;
}
origin: camunda/camunda-bpm-platform

protected TypedValueSerializer determineSerializer(VariableSerializers serializers, TypedValue value) {
 TypedValueSerializer serializer = serializers.findSerializerForValue(value);
 if(serializer.getType() == ValueType.BYTES){
  throw new ProcessEngineException("Variables of type ByteArray cannot be used to query");
 }
 else if(serializer.getType() == ValueType.FILE){
  throw new ProcessEngineException("Variables of type File cannot be used to query");
 }
 else if(serializer instanceof JPAVariableSerializer) {
  if(wrappedQueryValue.getOperator() != QueryOperator.EQUALS) {
   throw new ProcessEngineException("JPA entity variables can only be used in 'variableValueEquals'");
  }
 }
 else {
  if(!serializer.getType().isPrimitiveValueType()) {
   throw new ProcessEngineException("Object values cannot be used to query");
  }
 }
 return serializer;
}
origin: org.camunda.bpm/camunda-engine

public String getOperatorName() {
 return getOperator().toString();
}
origin: OrienteerBAP/Orienteer

while(it.hasNext()) {
  ExecutionEntity entity = it.next();
  QueryOperator operator = queryValue.getOperator();
  Object value = entity.getVariable(queryValue.getName());
  Object refValue = queryValue.getValue();
origin: org.camunda.bpm/camunda-engine

protected TypedValueSerializer determineSerializer(VariableSerializers serializers, TypedValue value) {
 TypedValueSerializer serializer = serializers.findSerializerForValue(value);
 if(serializer.getType() == ValueType.BYTES){
  throw new ProcessEngineException("Variables of type ByteArray cannot be used to query");
 }
 else if(serializer.getType() == ValueType.FILE){
  throw new ProcessEngineException("Variables of type File cannot be used to query");
 }
 else if(serializer instanceof JPAVariableSerializer) {
  if(wrappedQueryValue.getOperator() != QueryOperator.EQUALS) {
   throw new ProcessEngineException("JPA entity variables can only be used in 'variableValueEquals'");
  }
 }
 else {
  if(!serializer.getType().isPrimitiveValueType()) {
   throw new ProcessEngineException("Object values cannot be used to query");
  }
 }
 return serializer;
}
org.camunda.bpm.engine.implQueryVariableValuegetOperator

Popular methods of QueryVariableValue

  • <init>
  • getName
  • initialize
  • getTypedValue
  • getValue

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now