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 inherited from File

#mime_type

Class Method Summary collapse

Methods inherited from File

#attribute_will_change!, #changed?, #check_fixity, #content_changed?, #datastream_will_change!, #described_by, #digest, #dirty_size, #empty?, #exists!, #freeze, #frozen?, #has_content?, #initialize, #inspect, #ldp_connection, #ldp_source, #metadata, #metadata?, #new_record?, #original_name, #original_name=, #persisted_size, #reload, #remote_content, #reset, #serialize!, #size, #to_solr, #uri, #uri=

Methods included from Versionable

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

Methods included from File::Streaming

#authorization_key, #headers, #stream

Methods included from File::Persistence

#content, #content=, #retrieve_content, #save

Methods included from AttributeMethods

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

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