org.dspace.app.itemupdate
Class OriginalBitstreamFilter

java.lang.Object
  extended by org.dspace.app.itemupdate.BitstreamFilter
      extended by org.dspace.app.itemupdate.BitstreamFilterByBundleName
          extended by org.dspace.app.itemupdate.OriginalBitstreamFilter

public class OriginalBitstreamFilter
extends BitstreamFilterByBundleName

Filter all bitstreams in the ORIGINAL bundle Also delete all derivative bitstreams, i.e. all bitstreams in the TEXT and THUMBNAIL bundles


Field Summary
 
Fields inherited from class org.dspace.app.itemupdate.BitstreamFilterByBundleName
bundleName
 
Fields inherited from class org.dspace.app.itemupdate.BitstreamFilter
props
 
Constructor Summary
OriginalBitstreamFilter()
           
 
Method Summary
 boolean accept(Bitstream bitstream)
          Tests bitstreams for containment in an ORIGINAL bundle
 
Methods inherited from class org.dspace.app.itemupdate.BitstreamFilter
initProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginalBitstreamFilter

public OriginalBitstreamFilter()
Method Detail

accept

public boolean accept(Bitstream bitstream)
               throws BitstreamFilterException
Tests bitstreams for containment in an ORIGINAL bundle

Overrides:
accept in class BitstreamFilterByBundleName
Returns:
whether the bitstream matches the criteria
Throws:
BitstreamFilterException


Copyright © 2010 DuraSpace. All Rights Reserved.