|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.workflow.WorkflowManager
The WorkflowManager class provides a representation of a WorkflowManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple Workflow objects.
| Constructor Summary | |
WorkflowManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Deletes the Workflow identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the Workflow identified by the Id using supplied connection. |
static Workflow |
loadById(blackboard.persist.Id id)
Returns a Workflow identified by the given Id using the default connection. |
static Workflow |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Returns a Workflow identified by the given Id using the supplied connection. |
static java.util.List |
loadByOwnerId(blackboard.persist.Id id)
Returns a List of Workflow objects identified by the given owner Id using the default connection. |
static java.util.List |
loadByOwnerId(blackboard.persist.Id id,
java.sql.Connection con)
Returns a List of Workflow objects identified by the given owner Id using the supplied connection. |
static void |
save(Workflow workflow)
Inserts or updates the Workflow using the default connection. |
static void |
save(Workflow workflow,
java.sql.Connection con)
Inserts or updates the Workflow using the supplied connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkflowManager()
| Method Detail |
public static void save(Workflow workflow,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Workflow using the supplied connection.
workflow - a Workflow to be saved.con - a Connection used to save this Workflow.
blackboard.persist.PersistenceException
public static void save(Workflow workflow)
throws blackboard.persist.PersistenceException
Workflow using the default connection.
workflow - a Workflow to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
Workflow identified by the Id using default connection.
id - the Id of the Workflow to be deleted using default connection.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Workflow identified by the Id using supplied connection.
id - the Id of the Workflow to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static Workflow loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
Workflow identified by the given Id using the supplied connection.
id - the Id of the Workflow to be loaded using the supplied connection.con - a Connection to be used.
Workflow that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the Workflow is not found.
blackboard.persist.PersistenceException
public static Workflow loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
Workflow identified by the given Id using the default connection.
id - the Id of the Workflow to be loaded using the default connection.
Workflow that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the Workflow is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByOwnerId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of Workflow objects identified by the given owner Id using the supplied connection.
id - the owner Id of the Workflow to be loaded using the supplied connection.con - a Connection to be used.
List of Workflow objects that is identified by the given Id.
blackboard.persist.PersistenceException
public static java.util.List loadByOwnerId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of Workflow objects identified by the given owner Id using the default connection.
id - the owner Id of the Workflow to be loaded using the default connection.
List of Workflow objects that is identified by the given Id.
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||