com.opensymphony.workflow.spi.jdbc
Class MySQLWorkflowStore
java.lang.Object
com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
- All Implemented Interfaces:
- WorkflowStore
public class MySQLWorkflowStore
- extends JDBCWorkflowStore
- Author:
- Christopher Farnham
Created on Feb 27, 2004
| Fields inherited from class com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore |
closeConnWhenDone, currentPrevTable, currentTable, ds, entryId, entryName, entrySequence, entryState, entryTable, historyPrevTable, historyTable, stepActionId, stepCaller, stepDueDate, stepEntryId, stepFinishDate, stepId, stepOwner, stepPreviousId, stepSequence, stepStartDate, stepStatus, stepStepId |
| Methods inherited from class com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore |
addPreviousSteps, checkIfORExists, cleanup, createCurrentStep, createCurrentStep, createEntry, findCurrentSteps, findEntry, findHistorySteps, getConnection, getPropertySet, markFinished, moveToHistory, query, query, setEntryState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entrySequenceIncrement
protected String entrySequenceIncrement
entrySequenceRetrieve
protected String entrySequenceRetrieve
stepSequenceIncrement
protected String stepSequenceIncrement
stepSequenceRetrieve
protected String stepSequenceRetrieve
MySQLWorkflowStore
public MySQLWorkflowStore()
init
public void init(Map props)
throws StoreException
- Description copied from interface:
WorkflowStore
- Called once when the store is first created.
- Specified by:
init in interface WorkflowStore- Overrides:
init in class JDBCWorkflowStore
- Parameters:
props - properties set in osworkflow.xml
- Throws:
StoreException
getNextEntrySequence
protected long getNextEntrySequence(Connection c)
throws SQLException
- Overrides:
getNextEntrySequence in class JDBCWorkflowStore
- Throws:
SQLException
getNextStepSequence
protected long getNextStepSequence(Connection c)
throws SQLException
- Overrides:
getNextStepSequence in class JDBCWorkflowStore
- Throws:
SQLException