Class: ActiveFedora::Datastream

Inherits:
File
  • Object
show all
Extended by:
Deprecation
Defined in:
lib/active_fedora/datastream.rb

Constant Summary

Constants included from AttributeMethods

AttributeMethods::AttrNames

Instance Attribute Summary

Attributes included from File::Attributes

#mime_type

Class Method Summary collapse

Methods inherited from File

#==, #attribute_will_change!, #changed?, #check_fixity, #content, #content=, #content_changed?, #datastream_will_change!, #described_by, #exists!, #freeze, #frozen?, #initialize, #inspect, #ldp_connection, #ldp_source, #metadata, #metadata?, #new_record?, #readonly?, #refresh, #reload, #remote_content, #serialize!, #to_solr, #uri=

Methods included from Querying

#default_sort_params, extended

Methods included from Identifiable

#id, #id=, #pid, #uri

Methods included from AttributeMethods

#[], #[]=, #attribute_names, #attributes

Methods included from Versionable

#create_version, #has_versions?, #model_type, #restore_version, #versions

Methods included from Persistence

#delete, #destroy, #destroyed?, #eradicate, #new_record?, #persisted?, #save, #save!, #update

Methods included from File::Streaming

#headers, #stream

Methods included from File::Attributes

#digest, #dirty_size, #empty?, #has_content?, #original_name, #original_name=, #persisted_size, #size

Constructor Details

This class inherits a constructor from ActiveFedora::File

Class Method Details

.inherited(child) ⇒ Object



5
6
7
# File 'lib/active_fedora/datastream.rb', line 5

def self.inherited(child)
  Deprecation.warn child, "ActiveFedora::Datastream is deprecated and will be removed in active-fedora 10.0. Use ActiveFedora::File instead"
end