Sha256: ec0f165b2037ca3d582d80f374fb992bef5d78bdb8ac4764a45586d65ea89983

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 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

    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

7 entries across 7 versions & 1 rubygems

Version Path
curation_concerns-models-0.10.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.9.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.8.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.7.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.6.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.5.0 app/models/concerns/curation_concerns/file_set_behavior.rb
curation_concerns-models-0.4.0 app/models/concerns/curation_concerns/file_set_behavior.rb