Sha256: 6da6ece11cfa3652116462c7a5123ec2530a1e2098ad1704c2ca080fa3d6f92e

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

module CurationConcerns
  module FileSetBehavior
    extend ActiveSupport::Concern
    include Hydra::Works::FileSetBehavior
    include Hydra::Works::VirusCheck
    include Hydra::Works::Characterization
    include Hydra::WithDepositor
    include CurationConcerns::Serializers
    include CurationConcerns::Noid
    include CurationConcerns::FileSet::Derivatives
    include CurationConcerns::Permissions
    include CurationConcerns::BasicMetadata
    include CurationConcerns::FileSet::FullTextIndexing
    include CurationConcerns::FileSet::Indexing
    include CurationConcerns::FileSet::BelongsToWorks
    include CurationConcerns::FileSet::Querying
    include CurationConcerns::HumanReadableType
    include CurationConcerns::RequiredMetadata
    include CurationConcerns::Naming
    include Hydra::AccessControls::Embargoable
    include GlobalID::Identification

    included do
      attr_accessor :file
      self.human_readable_type = 'File'
    end

    def representative_id
      to_param
    end

    def thumbnail_id
      to_param
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
curation_concerns-0.12.0.pre4 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-0.12.0.pre3 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-0.12.0.pre2 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.12.0.pre1 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.11.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.11.0.rc1 app/models/concerns/curation_concerns/file_set_behavior.rb