org.dspace.curate
Class WorkflowCurator
java.lang.Object
org.dspace.curate.WorkflowCurator
public class WorkflowCurator
- extends Object
WorkflowCurator manages interactions between curation and workflow.
Specifically, it is invoked in WorkflowManager to allow the
performance of curation tasks during workflow.
- Author:
- richardrodgers
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowCurator
public WorkflowCurator()
needsCuration
public static boolean needsCuration(WorkflowItem wfi)
doCuration
public static boolean doCuration(Context c,
WorkflowItem wfi)
throws AuthorizeException,
IOException,
SQLException
- Determines and executes curation on a Workflow item.
- Parameters:
c - the contextwfi - the workflow item
- Returns:
- true if curation was completed or not required,
false if tasks were queued for later completion,
or item was rejected
- Throws:
AuthorizeException
IOException
SQLException
curate
public static boolean curate(Curator curator,
Context c,
String wfId)
throws AuthorizeException,
IOException,
SQLException
- Determines and executes curation of a Workflow item.
- Parameters:
c - the user contextwfId - the workflow id
- Throws:
AuthorizeException
IOException
SQLException
curate
public static boolean curate(Curator curator,
Context c,
WorkflowItem wfi)
throws AuthorizeException,
IOException,
SQLException
- Throws:
AuthorizeException
IOException
SQLException
Copyright © 2010 DuraSpace. All Rights Reserved.