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