com.opensymphony.workflow.spi.prevayler
Class QueryLogic

java.lang.Object
  extended by com.opensymphony.workflow.spi.prevayler.QueryLogic

public class QueryLogic
extends Object

This is basically the query logic cut and pasted from MemoryWorkflowStore. I've separated it into a separate class which relies on WorkflowStore for its query base, that way any future or other WorkflowStore can rely on this logic. I thought about refactoring MemoryWorkflowStore to use this class, but as its such a well used class I didn't want to do it before some more eyes looked at things here.

Author:
Christopher Farnham

Constructor Summary
QueryLogic(WorkflowStore store)
           
 
Method Summary
 boolean query(Long entryId, WorkflowExpressionQuery query)
           
 boolean query(Long entryId, WorkflowQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryLogic

public QueryLogic(WorkflowStore store)
Method Detail

query

public boolean query(Long entryId,
                     WorkflowExpressionQuery query)
              throws StoreException
Throws:
StoreException

query

public boolean query(Long entryId,
                     WorkflowQuery query)
              throws StoreException
Throws:
StoreException

OpenSymphony Workflow Project Page