@Distributive public abstract class AbstractTranslator extends AbstractCurationTask
curator, taskId| Constructor and Description |
|---|
AbstractTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Curator curator,
java.lang.String taskId)
Initialize task - parameters inform the task of it's invoking curator.
|
protected void |
initApi() |
int |
perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
protected java.lang.String |
translateText(java.lang.String from,
java.lang.String to,
java.lang.String text) |
dereference, distribute, perform, performItem, performObject, report, setResult, taskBooleanProperty, taskIntProperty, taskLongProperty, taskPropertypublic void init(Curator curator, java.lang.String taskId) throws java.io.IOException
CurationTaskinit in interface CurationTaskinit in class AbstractCurationTaskcurator - the Curator controlling this tasktaskId - identifier task should use in invoking servicesjava.io.IOExceptionpublic int perform(DSpaceObject dso) throws java.io.IOException
CurationTaskperform in interface CurationTaskperform in class AbstractCurationTaskdso - the DSpace objectjava.io.IOExceptionprotected void initApi()
protected java.lang.String translateText(java.lang.String from,
java.lang.String to,
java.lang.String text)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 DuraSpace. All Rights Reserved.