com.silverpeas.workflow.engine.jdo
Class WorkflowJDOManager
java.lang.Object
com.silverpeas.workflow.engine.jdo.WorkflowJDOManager
public class WorkflowJDOManager
- extends Object
This class offers services about database persistence. It uses Castor library to read/write
process instance information in database
Method Summary |
static void |
closeDatabase(org.exolab.castor.jdo.Database db)
|
static org.exolab.castor.jdo.Database |
getDatabase()
Get a connection to database |
static org.exolab.castor.jdo.Database |
getDatabase(boolean fast)
Get a connection to database |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowJDOManager
public WorkflowJDOManager()
getDatabase
public static org.exolab.castor.jdo.Database getDatabase()
throws WorkflowException
- Get a connection to database
- Returns:
- Database object
- Throws:
WorkflowException
getDatabase
public static org.exolab.castor.jdo.Database getDatabase(boolean fast)
throws WorkflowException
- Get a connection to database
- Returns:
- Database object
- Throws:
WorkflowException
closeDatabase
public static void closeDatabase(org.exolab.castor.jdo.Database db)
Copyright © 2016 Silverpeas. All Rights Reserved.