Interface WorkflowPersistencePlugin

    • Method Detail

      • onWorkflowsLoaded

        void onWorkflowsLoaded​(java.sql.Connection con,
                               java.lang.Iterable<? extends PersistentWorkflow<?>> workflows)
                        throws java.sql.SQLException
        Implementations have to call PersistentWorkflow.onLoad(PersistenceContext) for every workflow passed.
        Parameters:
        con - The database connection the load operation is bound to.
        workflows - The workflows that are being loaded
        Throws:
        java.sql.SQLException - Implementations may pass SQL Exception to be handled by the database dialect
      • onWorkflowsSaved

        void onWorkflowsSaved​(java.sql.Connection con,
                              java.lang.Iterable<? extends PersistentWorkflow<?>> workflows)
                       throws java.sql.SQLException
        Implementations have to call PersistentWorkflow.onLoad(PersistenceContext) for every workflow passed.
        Parameters:
        con - The database connection the load operation is bound to.
        workflows - The workflows that are being loaded
        Throws:
        java.sql.SQLException - Implementations may pass SQL Exception to be handled by the database dialect
      • onWorkflowsDeleted

        void onWorkflowsDeleted​(java.sql.Connection con,
                                java.lang.Iterable<? extends PersistentWorkflow<?>> workflows)
                         throws java.sql.SQLException
        Implementations have to call PersistentWorkflow.onDelete(PersistenceContext) for every workflow passed.
        Parameters:
        con - The database connection the load operation is bound to.
        workflows - list of workflows specified by any Iterable.
        Throws:
        java.sql.SQLException - Implementations may pass SQL Exception to be handled by the database dialect