org.dspace.app.itemupdate
Class OriginalWithDerivativesBitstreamFilter

java.lang.Object
  extended by org.dspace.app.itemupdate.BitstreamFilter
      extended by org.dspace.app.itemupdate.OriginalWithDerivativesBitstreamFilter

public class OriginalWithDerivativesBitstreamFilter
extends BitstreamFilter

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.BitstreamFilter
props
 
Constructor Summary
OriginalWithDerivativesBitstreamFilter()
           
 
Method Summary
 boolean accept(Bitstream bitstream)
          Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
 
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

OriginalWithDerivativesBitstreamFilter

public OriginalWithDerivativesBitstreamFilter()
Method Detail

accept

public boolean accept(Bitstream bitstream)
               throws BitstreamFilterException
Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)

Specified by:
accept in class BitstreamFilter
Parameters:
bitstream -
Returns:
whether the bitstream matches the criteria
Throws:
BitstreamFilterException


Copyright © 2010 DuraSpace. All Rights Reserved.