Class: Bplmodels::SoundRecording
- Inherits:
-
ComplexObjectBase
- Object
- ActiveFedora::Base
- ObjectBase
- ComplexObjectBase
- Bplmodels::SoundRecording
- Defined in:
- app/models/bplmodels/sound_recording.rb
Instance Method Summary collapse
- #fedora_name ⇒ Object
-
#to_solr(doc = {}) ⇒ Object
has_file_datastream :name => ‘productionMaster’, :type => ActiveFedora::Datastream.
Methods inherited from ComplexObjectBase
Methods inherited from ObjectBase
#add_new_volume, #add_oai_relationships, #apply_default_permissions, #assert_content_model, #cache_invalidate, #calculate_volume_match_md5s, #convert_to, #delete, #deleteAllFiles, #derivative_service, #generate_thumbnail_url, #generate_uri, #insert_abbyy, #insert_djvu_xml, #insert_ia_meta, #insert_marc, #insert_marc_xml, #insert_new_audio_file, #insert_new_document_file, #insert_new_ereader_file, #insert_new_file, #insert_new_image_file, #insert_plain_text, #insert_scan_data, mint, #oai_thumbnail_service, #remove_oai_relationships, #simple_insert_file
Instance Method Details
#fedora_name ⇒ Object
11 12 13 |
# File 'app/models/bplmodels/sound_recording.rb', line 11 def fedora_name 'sound_recording' end |
#to_solr(doc = {}) ⇒ Object
has_file_datastream :name => ‘productionMaster’, :type => ActiveFedora::Datastream
5 6 7 8 9 |
# File 'app/models/bplmodels/sound_recording.rb', line 5 def to_solr(doc = {} ) doc = super(doc) doc['active_fedora_model_ssi'] = self.class.name doc end |