Class: Bplmodels::SoundRecording

Inherits:
ComplexObjectBase show all
Defined in:
app/models/bplmodels/sound_recording.rb

Instance Method Summary collapse

Methods inherited from ComplexObjectBase

#temp_filename

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_nameObject



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