Examples of end()


Examples of org.jbpm.taskinstance.CustomTaskInstance.end()

  public void completeTask(long taskInstanceId) {
    s = jbpmContext.getSession();
    CustomTaskInstance taskInstance = (CustomTaskInstance) s.load(
        CustomTaskInstance.class, new Long(taskInstanceId));

    taskInstance.end();

  }


  private static final String findPooledTaskInstancesByCustomId = "select distinct ti "
View Full Code Here

Examples of org.jbpm.taskmgmt.exe.TaskInstance.end()

            }
            final TaskInstance taskInstance = (TaskInstance) taskInstanceValue;
            if (transitionExpression != null) {
                final Object transitionValue = transitionExpression.getValue(elContext);
                if (transitionValue == null) {
                    taskInstance.end();
                } else if (transitionValue instanceof Transition) {
                    taskInstance.end((Transition)transitionValue);
                } else {
                    final String transitionName = transitionValue.toString();
                    taskInstance.end(transitionName);
View Full Code Here

Examples of org.jitterbit.ui.undo.KongaCompoundEdit.end()

    }

    public final void stopCompoundEdit() {
        if (isChangeUndoable() && compoundEdits != null && !compoundEdits.isEmpty()) {
            KongaCompoundEdit edit = compoundEdits.pop();
            edit.end();
            if (!edit.isEmpty()) {
                handleEdit(edit);
            }
        }
    }
View Full Code Here

Examples of org.jquantlib.math.matrixutilities.Array.end()

        if (a.size() != aA.size()) {
            fail("'subAssign' failed");
        }

        final int begin = a.begin();
        final int end = a.end();
        for (int i=begin; i<end; i++) {
            if (a.get(i) != 5) {
                fail("'subAssign' failed");
            }
        }
View Full Code Here

Examples of org.jregex.MatchResult.end()

                            index = ix;
                        }
                    }
                    MatchResult mr = getMatchResult(on);
                    if(index < mr.groupCount() && mr.isCaptured(index)) {
                        return context.runtime.newNumber(mr.end(index));
                    } else {
                        return context.runtime.newNumber(-1);
                    }
                }
            }));
View Full Code Here

Examples of org.jrest4guice.transaction.IbatisTransaction.end()

 
  public void closeSqlMapClient(){
    IbatisTransaction ibatisTransaction = this.getIbatisTransaction();
    if(ibatisTransaction != null){
      try {
        ibatisTransaction.end();
      } catch (Exception e) {
      }
      this.transaction.remove();
    }
  }
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.end()

        SkinnyMethodAdapter method = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC, "<init>", sig(void.class), null, null));
        method.start();
        method.aload(0);
        method.invokespecial(p(Object.class), "<init>", sig(void.class));
        method.voidreturn();
        method.end();
       
        method = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC, "throwException", sig(void.class, Throwable.class), null, null));
        method.start();
        method.aload(1);
        method.athrow();
View Full Code Here

Examples of org.locationtech.udig.project.render.ILabelPainter.end()

                if(paintLabels){
                    RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
                    g.setRenderingHints(hints);
                    Dimension displaySize = getContext().getMapDisplay().getDisplaySize();
                    try {
                        cache.end(g, new Rectangle(displaySize));
                    }
                    catch( Throwable t ){
                        ProjectPlugin.trace( CompositeRenderContextImpl.class,"painting labels failed", t );
                    }
                }
View Full Code Here

Examples of org.modeshape.jcr.query.QueryBuilder.ConstraintBuilder.end()

            }
        }
        if (steps.isEmpty() || !path.isEmpty()) {
            translateSource(tableName, path, where);
        }
        where.end();

        // Process the order-by clause ...
        OrderBy orderBy = pathExpression.getOrderBy();
        if (orderBy != null) {
            OrderByBuilder orderByBuilder = builder.orderBy();
View Full Code Here

Examples of org.modeshape.jcr.query.QueryBuilder.OrderByBuilder.end()

                    builder.select(tableName + "." + attribute.toString());
                    builder.join("nt:base as " + alias).onChildNode(tableName, alias);
                    operandBuilder.propertyValue(alias, attribute.toString());
                }
            }
            orderByBuilder.end();
        }
        // Try building this query, because we need to check the # of columns selected and the # of sources ...
        Query query = (Query)builder.query();
        if (query.columns().isEmpty() && query.source() instanceof AllNodes) {
            // This is basically 'SELECT * FROM __ALLNODES__", which means that no type was explicitly specified and
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.