|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WorkflowItem | |
|---|---|
| org.dspace.workflow | DSpace's workflow system |
| Uses of WorkflowItem in org.dspace.workflow |
|---|
| Methods in org.dspace.workflow that return WorkflowItem | |
|---|---|
static WorkflowItem |
WorkflowItem.find(Context context,
int id)
Get a workflow item from the database. |
static WorkflowItem[] |
WorkflowItem.findAll(Context c)
return all workflowitems |
static WorkflowItem[] |
WorkflowItem.findByCollection(Context context,
Collection c)
Get all workflow items for a particular collection. |
static WorkflowItem[] |
WorkflowItem.findByEPerson(Context context,
EPerson ep)
Get all workflow items that were original submissions by a particular e-person. |
static WorkflowItem |
WorkflowManager.start(Context c,
WorkspaceItem wsi)
startWorkflow() begins a workflow - in a single transaction do away with the PersonalWorkspace entry and turn it into a WorkflowItem. |
static WorkflowItem |
WorkflowManager.startWithoutNotify(Context c,
WorkspaceItem wsi)
startWithoutNotify() starts the workflow normally, but disables notifications (useful for large imports,) for the first workflow step - subsequent notifications happen normally |
| Methods in org.dspace.workflow with parameters of type WorkflowItem | |
|---|---|
static void |
WorkflowManager.abort(Context c,
WorkflowItem wi,
EPerson e)
abort() aborts a workflow, completely deleting it (administrator do this) (it will basically do a reject from any state - the item ends up back in the user's PersonalWorkspace |
static void |
WorkflowManager.advance(Context c,
WorkflowItem wi,
EPerson e)
approveAction() sends an item forward in the workflow (reviewers, approvers, and editors all do an 'approve' to move the item forward) if the item arrives at the submit state, then remove the WorkflowItem and call the archive() method to put it in the archive, and email notify the submitter of a successful submission |
static void |
WorkflowManager.claim(Context c,
WorkflowItem wi,
EPerson e)
claim() claims a workflow task for an EPerson |
static String |
WorkflowManager.getItemTitle(WorkflowItem wi)
get the title of the item in this workflow |
static String |
WorkflowManager.getSubmitterName(WorkflowItem wi)
get the name of the eperson who started this workflow |
static WorkspaceItem |
WorkflowManager.reject(Context c,
WorkflowItem wi,
EPerson e,
String rejection_message)
rejects an item - rejection means undoing a submit - WorkspaceItem is created, and the WorkflowItem is removed, user is emailed rejection_message. |
static void |
WorkflowManager.unclaim(Context c,
WorkflowItem wi,
EPerson e)
unclaim() returns an owned task/item to the pool |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||