com.opensymphony.workflow.spi.jdbc
Class MySQLWorkflowStore

java.lang.Object
  extended by com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
      extended by com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
All Implemented Interfaces:
WorkflowStore

public class MySQLWorkflowStore
extends JDBCWorkflowStore

Author:
Christopher Farnham Created on Feb 27, 2004

Field Summary
protected  String entrySequenceIncrement
           
protected  String entrySequenceRetrieve
           
protected  String stepSequenceIncrement
           
protected  String stepSequenceRetrieve
           
 
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
 
Constructor Summary
MySQLWorkflowStore()
           
 
Method Summary
protected  long getNextEntrySequence(Connection c)
           
protected  long getNextStepSequence(Connection c)
           
 void init(Map props)
          Called once when the store is first created.
 
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
 

Field Detail

entrySequenceIncrement

protected String entrySequenceIncrement

entrySequenceRetrieve

protected String entrySequenceRetrieve

stepSequenceIncrement

protected String stepSequenceIncrement

stepSequenceRetrieve

protected String stepSequenceRetrieve
Constructor Detail

MySQLWorkflowStore

public MySQLWorkflowStore()
Method Detail

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

OpenSymphony Workflow Project Page