Sha256: 040af77b6fbdcc2df298222e0266cec408e70fc4ab0f8fab48e70af6ebddc491
Contents?: true
Size: 676 Bytes
Versions: 48
Compression:
Stored size: 676 Bytes
Contents
# This stands in for an object to be created from the BatchUploadForm. # It should never actually be persisted in the repository. # The properties on this form should be copied to a real work type. class BatchUploadItem < ActiveFedora::Base include Hyrax::WorkBehavior # This must come after the WorkBehavior because it finalizes the metadata # schema (by adding accepts_nested_attributes) include ::Hyrax::BasicMetadata attr_accessor :payload_concern # a Class name: what is this a batch of? # This mocks out the behavior of Hydra::PCDM::PcdmBehavior def in_collection_ids [] end def create_or_update raise "This is a read only record" end end
Version data entries
48 entries across 48 versions & 1 rubygems