class DBitstream
This class wraps an org.dspace.content.Bitstream object
Public Class Methods
all()
click to toggle source
return array of all org.dspace.content.Bitstream objects
# File lib/dspace/dbitstream.rb, line 9 def self.all() java_import org.dspace.content.Bitstream; return Bitstream.findAll(DSpace.context) end
find(id)
click to toggle source
returns nil or the org.dspace.content.Bitstream object with the given id
id must be an integer
# File lib/dspace/dbitstream.rb, line 18 def self.find(id) java_import org.dspace.content.Bitstream; return Bitstream.find(DSpace.context, id) end