org.dspace.ctask.general
Class ProfileFormats
java.lang.Object
org.dspace.curate.AbstractCurationTask
org.dspace.ctask.general.ProfileFormats
- All Implemented Interfaces:
- CurationTask
@Distributive
public class ProfileFormats
- extends AbstractCurationTask
ProfileFormats is a task that creates a distribution table of Bitstream
formats for it's passed object. Primarily a curation task demonstrator.
- Author:
- richardrodgers
| Methods inherited from class org.dspace.curate.AbstractCurationTask |
dereference, distribute, init, perform, performObject, report, setResult, taskBooleanProperty, taskIntProperty, taskLongProperty, taskProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileFormats
public ProfileFormats()
perform
public int perform(DSpaceObject dso)
throws IOException
- Perform the curation task upon passed DSO
- Specified by:
perform in interface CurationTask- Specified by:
perform in class AbstractCurationTask
- Parameters:
dso - the DSpace object
- Returns:
- status code
- Throws:
IOException
performItem
protected void performItem(Item item)
throws SQLException,
IOException
- Description copied from class:
AbstractCurationTask
- Performs task upon a single DSpace Item. Used in conjunction with the
distribute 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.
- Overrides:
performItem in class AbstractCurationTask
- Parameters:
item - the DSpace Item
- Throws:
SQLException
IOException
Copyright © 2012 DuraSpace. All Rights Reserved.