@Distributive public class ProfileFormats extends AbstractCurationTask
| Modifier and Type | Field and Description |
|---|---|
protected BitstreamFormatService |
bitstreamFormatService |
protected Map<String,Integer> |
fmtTable |
communityService, configurationService, curator, handleService, itemService, taskId| Constructor and Description |
|---|
ProfileFormats() |
| Modifier and Type | Method and Description |
|---|---|
int |
perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
protected void |
performItem(Item item)
Performs task upon a single DSpace Item.
|
dereference, distribute, init, perform, performObject, report, setResult, taskArrayProperty, taskBooleanProperty, taskIntProperty, taskLongProperty, taskPropertyprotected BitstreamFormatService bitstreamFormatService
public int perform(DSpaceObject dso) throws IOException
perform in interface CurationTaskperform in class AbstractCurationTaskdso - the DSpace objectIOException - if IO errorprotected void performItem(Item item) throws SQLException, IOException
AbstractCurationTaskdistribute method to run a single task across multiple Items.
You should override this method if you want to use
distribute to run your task across multiple DSpace Items.
Either this method or performObject should be overridden if
distribute method is used.
performItem in class AbstractCurationTaskitem - the DSpace ItemSQLException - if database errorIOException - if IO errorCopyright © 2016 DuraSpace. All rights reserved.