|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.cms.workflow.WorkflowFileManager
The WorkflowFileManager class provides a representation of a WorkflowFileManager
within the Blackboard application. This object provides load, save and delete methods
for managing a single or multiple WorkflowFile objects.
| Constructor Summary | |
WorkflowFileManager()
|
|
| Method Summary | |
static void |
deleteById(blackboard.persist.Id id)
Deletes the WorkflowFile identified by the Id using default connection. |
static void |
deleteById(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the WorkflowFile identified by the Id using supplied connection. |
static void |
deleteByWorkflowId(blackboard.persist.Id id)
Deletes the WorkflowFile identified by the workflow Id using default connection. |
static void |
deleteByWorkflowId(blackboard.persist.Id id,
java.sql.Connection con)
Deletes the WorkflowFile identified by the workflow Id using supplied connection. |
static WorkflowFile |
loadById(blackboard.persist.Id id)
Returns a WorkflowFile identified by the given Id using the default connection. |
static WorkflowFile |
loadById(blackboard.persist.Id id,
java.sql.Connection con)
Returns a WorkflowFile identified by the given Id using the supplied connection. |
static java.util.List |
loadByWorkflowId(blackboard.persist.Id id)
Returns a List of WorkflowFile objects identified by the given workflow Id using the default connection. |
static java.util.List |
loadByWorkflowId(blackboard.persist.Id id,
java.sql.Connection con)
Returns a List of WorkflowFile objects identified by the given workflow Id using the supplied connection. |
static void |
save(WorkflowFile workflowFile)
Inserts or updates the WorkflowFile using the default connection. |
static void |
save(WorkflowFile workflowFile,
java.sql.Connection con)
Inserts or updates the WorkflowFile 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 WorkflowFileManager()
| Method Detail |
public static void save(WorkflowFile workflowFile,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowFile using the supplied connection.
workflowFile - a WorkflowFile to be saved.con - a Connection used to save this WorkflowComment.
blackboard.persist.PersistenceException
public static void save(WorkflowFile workflowFile)
throws blackboard.persist.PersistenceException
WorkflowFile using the default connection.
workflowFile - a WorkflowFile to be saved.
blackboard.persist.PersistenceException
public static void deleteById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
WorkflowFile identified by the Id using default connection.
id - the Id of the WorkflowFile 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
WorkflowFile identified by the Id using supplied connection.
id - the Id of the WorkflowFile to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static void deleteByWorkflowId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
WorkflowFile identified by the workflow Id using default connection.
id - the workflow Id of the WorkflowFile to be deleted using default connection.
blackboard.persist.PersistenceException
public static void deleteByWorkflowId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowFile identified by the workflow Id using supplied connection.
id - the workflow Id of the WorkflowFile to be deleted using supplied connection.con - a Connection to be used.
blackboard.persist.PersistenceException
public static WorkflowFile loadById(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
WorkflowFile identified by the given Id using the supplied connection.
id - the Id of the WorkflowComment to be loaded using the supplied connection.con - a Connection to be used.
WorkflowFile that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the WorkflowFile is not found.
blackboard.persist.PersistenceException
public static WorkflowFile loadById(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
WorkflowFile identified by the given Id using the default connection.
id - the Id of the WorkflowComment to be loaded using the default connection.
WorkflowFile that is identified by the given Id. Returns null (instead of KeyNotFoundException) if the WorkflowFile is not found.
blackboard.persist.PersistenceException
public static java.util.List loadByWorkflowId(blackboard.persist.Id id,
java.sql.Connection con)
throws blackboard.persist.PersistenceException
List of WorkflowFile objects identified by the given workflow Id using the supplied connection.
id - the workflow Id of the WorkflowFile to be loaded using the supplied connection.con - a Connection to be used.
List of WorkflowFile objects that is identified by the given workflow Id.
blackboard.persist.PersistenceException
public static java.util.List loadByWorkflowId(blackboard.persist.Id id)
throws blackboard.persist.PersistenceException
List of WorkflowFile objects identified by the given workflow Id using the default connection.
id - the workflow Id of the WorkflowFile to be loaded using the default connection.
List of WorkflowFile objects that is identified by the given workflow Id.
blackboard.persist.PersistenceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||