Package com.opensymphony.workflow.query

Examples of com.opensymphony.workflow.query.Expression


  public String getCurrentState() {
    return ((Step) this.template.getCurrentSteps().get(0)).getStatus();
  }

  public List getUnderwayWorkflows() {
    Expression queryRight = new FieldExpression(FieldExpression.STATE,
            FieldExpression.ENTRY,
            FieldExpression.EQUALS,
            new Integer(WorkflowEntry.ACTIVATED));

    Expression queryLeft = new FieldExpression(FieldExpression.NAME,
            FieldExpression.ENTRY,
            FieldExpression.EQUALS,
            this.template.getWorkflowName());

    WorkflowExpressionQuery query = new WorkflowExpressionQuery(
View Full Code Here


          Iterator ownersIterator = owners.iterator();
          int i = 0;
          while(ownersIterator.hasNext())
          {
            Owner owner = (Owner)ownersIterator.next();
            Expression expression = new FieldExpression(FieldExpression.OWNER, FieldExpression.CURRENT_STEPS, FieldExpression.EQUALS, owner.getIdentifier());
            expressions[i] = expression;
            i++;
          }       
         
          final Set workflowVOs = new HashSet();
View Full Code Here

TOP

Related Classes of com.opensymphony.workflow.query.Expression

Copyright © 2018 www.massapicom. 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.