|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.workflow.WorkflowTypeManager
The WorkflowTypeManager class provides a representation of a WorkflowTypeManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple WorkflowType objects.
| Constructor Summary | |
WorkflowTypeManager()
|
|
| Method Summary | |
static WorkflowType |
loadById(blackboard.persist.Id id)
Returns a WorkflowType identified by the given Id using the default connection. |
static WorkflowType |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Returns a WorkflowType identified by the given Id using the supplied connection. |
static WorkflowType |
loadByWorkflowType(java.lang.String type)
Returns a WorkflowType identified by the given type using the default connection. |
static WorkflowType |
loadByWorkflowType(java.lang.String type,
java.sql.Connection con)
Returns a WorkflowType identified by the given type using the supplied connection. |
static WorkflowStatus |
loadStatusById(blackboard.persist.Id id)
Returns a WorkflowStatus identified by the given id. |
static WorkflowStatus |
loadStatusById(blackboard.persist.Id id,
java.sql.Connection con)
Returns a WorkflowStatus identified by the given id using the supplied connection. |
static java.util.List |
loadStatusByWorkflowType(java.lang.String type)
Returns a List of WorkflowStatus objects. |
static java.util.List |
loadStatusByWorkflowType(java.lang.String type,
java.sql.Connection con)
Returns a List of WorkflowStatus objects using the supplied connection. |
static java.util.List |
loadWorkflowStatus()
Returns a List of WorkflowStatus objects using the default connection. |
static java.util.List |
loadWorkflowStatus(java.sql.Connection con)
Returns a List of WorkflowStatus objects using the supplied connection. |
static java.util.List |
loadWorkflowTypes()
Returns a List of WorkflowFileType objects using the default connection. |
static java.util.List |
loadWorkflowTypes(java.sql.Connection con)
Returns a List of WorkflowFileType objects 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 WorkflowTypeManager()
| Method Detail |
public static WorkflowType loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowType identified by the given Id using the supplied connection.
id - the Id of the WorkflowType to be loaded using the supplied connection.con - a Connection to be used.
WorkflowType object that is identified by the given workflowType Id. Returns null (instead of KeyNotFoundException) if the WorkflowType is not found.
blackboard.persist.PersistenceException
public static WorkflowType loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
WorkflowType identified by the given Id using the default connection.
id - the Id of the WorkflowType to be loaded.
WorkflowType object that is identified by the given workflowType Id. Returns null (instead of KeyNotFoundException) if the WorkflowType is not found.
blackboard.persist.PersistenceException
public static WorkflowType loadByWorkflowType(java.lang.String type,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowType identified by the given type using the supplied connection.
type - the type of the WorkflowType to be loaded using the supplied connection.con - a Connection to be used.
WorkflowType object that is identified by the given workflowType type. Returns null (instead of KeyNotFoundException) if the WorkflowType is not found.
blackboard.persist.PersistenceException
public static WorkflowType loadByWorkflowType(java.lang.String type)
throws blackboard.persist.PersistenceException
WorkflowType identified by the given type using the default connection.
type - the type of the WorkflowType to be loaded using the default connection.
WorkflowType object that is identified by the given workflowType type. Returns null (instead of KeyNotFoundException) if the WorkflowType is not found.
blackboard.persist.PersistenceException
public static java.util.List loadWorkflowTypes(java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of WorkflowFileType objects using the supplied connection.
con - a Connection to be used.
List of WorkflowFileType objects.
blackboard.persist.PersistenceException
public static java.util.List loadWorkflowTypes()
throws blackboard.persist.PersistenceException
List of WorkflowFileType objects using the default connection.
List of WorkflowFileType objects.
blackboard.persist.PersistenceException
public static WorkflowStatus loadStatusById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowStatus identified by the given id using the supplied connection.
con - a Connection to be used.
WorkflowStatus object that is identified by the given id. Returns null (instead of KeyNotFoundException) if the WorkflowStatus is not found.
blackboard.persist.PersistenceException
public static WorkflowStatus loadStatusById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
WorkflowStatus identified by the given id.
WorkflowStatus object that is identified by the given id. Returns null (instead of KeyNotFoundException) if the WorkflowStatus is not found.
blackboard.persist.PersistenceException
public static java.util.List loadStatusByWorkflowType(java.lang.String type,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of WorkflowStatus objects using the supplied connection.
type - the id of the WorkflowStatus to be loaded .con - a Connection to be used.
List of WorkflowStatus objects.
blackboard.persist.PersistenceException
public static java.util.List loadStatusByWorkflowType(java.lang.String type)
throws blackboard.persist.PersistenceException
List of WorkflowStatus objects.
type - the id of the WorkflowStatus to be loaded .
List of WorkflowStatus objects.
blackboard.persist.PersistenceException
public static java.util.List loadWorkflowStatus(java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of WorkflowStatus objects using the supplied connection.
con - a Connection to be used.
List of WorkflowStatus objects.
blackboard.persist.PersistenceException
public static java.util.List loadWorkflowStatus()
throws blackboard.persist.PersistenceException
List of WorkflowStatus objects using the default connection.
List of WorkflowStatus objects.
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||