Class JdbcWorkflowStore

java.lang.Object
com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore
org.ametys.plugins.workflow.store.JdbcWorkflowStore
All Implemented Interfaces:
com.opensymphony.workflow.spi.WorkflowStore, AmetysWorkflowStore, Disposable, Initializable, Component, Configurable, Serviceable

public class JdbcWorkflowStore extends com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore implements AmetysWorkflowStore, Component, Serviceable, Configurable, Initializable, Disposable
Ametys JDBC workflow store
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Configured data source type
    protected String
    Configured datasource id
    protected String
    from com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
    protected String
    from com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
    protected Logger
    Logger
    The manager for SQL data source
    protected String
    from com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
    protected String
    from com.opensymphony.workflow.spi.jdbc.MySQLWorkflowStore
    static final String
    Avalon role.

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    cleanup(Connection connection, Statement statement, ResultSet result)
     
    void
    clearHistory(long idWorkflow)
    Removes all history steps of an instance from the database.
    All future calls to the history will return an empty List of Step.
    void
    configure(Configuration configuration)
     
    void
    deleteInstance(long idWorkflow)
    Deletes a workflow instance from the database.
    All future calls from the workflow to this instance will failed.
    void
     
    Database type getter
    protected long
     
    protected long
     
    com.opensymphony.module.propertyset.PropertySet
    getPropertySet(long id)
     
    void
    init(Map props)
     
    void
     
    query(com.opensymphony.workflow.query.WorkflowExpressionQuery e)
     
    void
     
    boolean
    Returns true if the history steps have to be removed when the workflow reaches its final step

    Methods inherited from class com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore

    addPreviousSteps, checkIfORExists, createCurrentStep, createCurrentStep, createEntry, findCurrentSteps, findEntry, findHistorySteps, getConnection, markFinished, moveToHistory, query, setEntryState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.opensymphony.workflow.spi.WorkflowStore

    createCurrentStep, createEntry, findCurrentSteps, findEntry, findHistorySteps, markFinished, moveToHistory, query, setEntryState