@Override
  public void checkQueryOk() {
    super.checkQueryOk();

    if (latest && ((id != null) || (version != null) || (deploymentId != null))) {
      throw new ProcessEngineException(
          "Calling latest() can only be used in combination with key(String) and keyLike(String) or name(String) and nameLike(String)");
    }
  }
Exemplo n.º 2
0
 public FieldQuery(AbstractQuery<? extends F, ?> query) {
   super(query.get());
 }
Exemplo n.º 3
0
 @Override
 public void prepare() {
   super.prepare();
   assertNotNull(method, sqlFilePath, parameterName, elements, sqls);
 }