com.opensymphony.workflow.spi.prevayler
Class QueryLogic
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryLogic
public QueryLogic(WorkflowStore store)
query
public boolean query(Long entryId,
WorkflowExpressionQuery query)
throws StoreException
- Throws:
StoreException
query
public boolean query(Long entryId,
WorkflowQuery query)
throws StoreException
- Throws:
StoreException