org.infoglue.cms.util.workflow
Class InfoGlueMySQLJDBCWorkflowStore

java.lang.Object
  extended by com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
      extended by org.infoglue.cms.util.workflow.InfoGlueJDBCWorkflowStore
          extended by org.infoglue.cms.util.workflow.InfoGlueMySQLJDBCWorkflowStore
All Implemented Interfaces:
com.opensymphony.workflow.spi.WorkflowStore

public class InfoGlueMySQLJDBCWorkflowStore
extends InfoGlueJDBCWorkflowStore

JDBC implementation just overiding the init-method of the default JDBCWorkflowStore as it demanded DataStores.

Author:
Mattias Bogeblad

Field Summary
 
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
InfoGlueMySQLJDBCWorkflowStore()
           
 
Method Summary
protected  long getNextStepSequence(java.sql.Connection c)
           
 void init(java.util.Map props)
           
 
Methods inherited from class org.infoglue.cms.util.workflow.InfoGlueJDBCWorkflowStore
createCurrentStep, createEntry, findCurrentSteps, findEntry, findHistorySteps, getConnection, markFinished, moveToHistory, query, setEntryState
 
Methods inherited from class com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
addPreviousSteps, checkIfORExists, cleanup, createCurrentStep, getNextEntrySequence, getPropertySet, query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoGlueMySQLJDBCWorkflowStore

public InfoGlueMySQLJDBCWorkflowStore()
Method Detail

init

public void init(java.util.Map props)
          throws com.opensymphony.workflow.StoreException
Specified by:
init in interface com.opensymphony.workflow.spi.WorkflowStore
Overrides:
init in class InfoGlueJDBCWorkflowStore
Throws:
com.opensymphony.workflow.StoreException

getNextStepSequence

protected long getNextStepSequence(java.sql.Connection c)
                            throws java.sql.SQLException
Overrides:
getNextStepSequence in class com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
Throws:
java.sql.SQLException


Copyright © 2005 InfoGlue.org All Rights Reserved.