Sha256: 0ad212cf3b71d8549480a53b6bdcca9e0d498a8250dfaf145de5006dd33b67f2

Contents?: true

Size: 557 Bytes

Versions: 20

Compression:

Stored size: 557 Bytes

Contents

require "active-fedora"
require "active_fedora_finders"
class Concept < GenericAggregator
  include ::ActiveFedora::FinderMethods::RepositoryMethods
  include ::ActiveFedora::DatastreamCollections
  include ::Hydra::ModelMethods
  include Cul::Scv::Hydra::Models::Common

  has_and_belongs_to_many :containers, :property=>:cul_member_of, :class_name=>'ActiveFedora::Base'

  def route_as
    "concept"
  end

  def index_type_label
    "CONCEPT"
  end

  def to_solr(solr_doc = Hash.new, opts={})
    solr_doc = super(solr_doc, opts)
    solr_doc
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cul_scv_hydra-0.22.6 app/models/concept.rb
cul_scv_hydra-0.22.5 app/models/concept.rb
cul_scv_hydra-0.22.4 app/models/concept.rb
cul_scv_hydra-0.22.3 app/models/concept.rb
cul_scv_hydra-0.22.2 app/models/concept.rb
cul_scv_hydra-0.22.1 app/models/concept.rb
cul_scv_hydra-0.22.0 app/models/concept.rb
cul_scv_hydra-0.21.8 app/models/concept.rb
cul_scv_hydra-0.21.7 app/models/concept.rb
cul_scv_hydra-0.21.6 app/models/concept.rb
cul_scv_hydra-0.21.5 app/models/concept.rb
cul_scv_hydra-0.21.4 app/models/concept.rb
cul_scv_hydra-0.21.3 app/models/concept.rb
cul_scv_hydra-0.21.2 app/models/concept.rb
cul_scv_hydra-0.21.0 app/models/concept.rb
cul_scv_hydra-0.20.1 app/models/concept.rb
cul_scv_hydra-0.20.0 app/models/concept.rb
cul_scv_hydra-0.19.5 app/models/concept.rb
cul_scv_hydra-0.19.4 app/models/concept.rb
cul_scv_hydra-0.19.3 app/models/concept.rb