org.dspace.curate
Class ProfileFormats

java.lang.Object
  extended by org.dspace.curate.AbstractCurationTask
      extended by org.dspace.curate.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

Field Summary
 
Fields inherited from class org.dspace.curate.AbstractCurationTask
curator, taskId
 
Constructor Summary
ProfileFormats()
           
 
Method Summary
 int perform(DSpaceObject dso)
          Perform the curation task upon passed DSO
protected  void performItem(Item item)
          Performs task upon an Item.
 
Methods inherited from class org.dspace.curate.AbstractCurationTask
dereference, distribute, init, perform, report, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileFormats

public ProfileFormats()
Method Detail

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 an Item. Must be overridden if distribute method is used.

Overrides:
performItem in class AbstractCurationTask
Throws:
SQLException
IOException


Copyright © 2010 DuraSpace. All Rights Reserved.