| Package | Description |
|---|---|
| org.dspace.curate | |
| org.dspace.workflow |
DSpace's workflow system
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
WorkflowCurator.curate(Curator curator,
Context c,
WorkflowItem wfi) |
static boolean |
WorkflowCurator.doCuration(Context c,
WorkflowItem wfi)
Determines and executes curation on a Workflow item.
|
static boolean |
WorkflowCurator.needsCuration(WorkflowItem wfi) |
| Modifier and Type | Method and Description |
|---|---|
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 |
WorkflowItem.findByItem(Context context,
Item i)
Check to see if a particular item is currently under Workflow.
|
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
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<WorkflowItem> |
WorkflowManager.getOwnedTasks(Context c,
EPerson e)
getOwnedTasks() returns a List of WorkflowItems containing the tasks
claimed and owned by an EPerson.
|
static java.util.List<WorkflowItem> |
WorkflowManager.getPooledTasks(Context c,
EPerson e)
getPooledTasks() returns a List of WorkflowItems an EPerson could claim
(as a reviewer, etc.) for display on a user's MyDSpace page.
|
| Modifier and Type | Method and Description |
|---|---|
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)
advance() 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 boolean |
WorkflowManager.advance(Context c,
WorkflowItem wi,
EPerson e,
boolean curate,
boolean record)
advance() 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 java.lang.String |
WorkflowManager.getItemTitle(WorkflowItem wi)
get the title of the item in this workflow
|
static java.lang.String |
WorkflowManager.getSubmitterName(WorkflowItem wi)
get the name of the eperson who started this workflow
|
static void |
WorkflowManager.notifyOfCuration(Context c,
WorkflowItem wi,
EPerson[] epa,
java.lang.String taskName,
java.lang.String action,
java.lang.String message) |
static WorkspaceItem |
WorkflowManager.reject(Context c,
WorkflowItem wi,
EPerson e,
java.lang.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
|
Copyright © 2013 DuraSpace. All Rights Reserved.