Class: Bplmodels::OAICollection
- Inherits:
-
Collection
- Object
- ActiveFedora::Base
- RelationBase
- Collection
- Bplmodels::OAICollection
- Defined in:
- app/models/bplmodels/oai_collection.rb
Class Method Summary collapse
-
.mint(args) ⇒ Object
Expects the following args: parent_pid => id of the parent object local_id => local ID of the object local_id_type => type of that local ID label => label of the collection.
Instance Method Summary collapse
Methods inherited from Collection
#add_oai_relationships, #insert_member, #to_solr
Methods inherited from RelationBase
#apply_default_permissions, #assert_content_model, #convert_to, #to_solr
Class Method Details
.mint(args) ⇒ Object
Expects the following args: parent_pid => id of the parent object local_id => local ID of the object local_id_type => type of that local ID label => label of the collection
13 14 15 16 17 |
# File 'app/models/bplmodels/oai_collection.rb', line 13 def self.mint(args) args[:namespace_id] = ARK_CONFIG_GLOBAL['namespace_oai_pid'] super(args) end |
Instance Method Details
#fedora_name ⇒ Object
3 4 5 |
# File 'app/models/bplmodels/oai_collection.rb', line 3 def fedora_name 'oai_collection' end |