Module: Hyrax::WorkBehavior
- Extended by:
- ActiveSupport::Concern
- Includes:
- GlobalID::Identification, Hydra::AccessControls::Embargoable, Hydra::WithDepositor, Hydra::Works::WorkBehavior, HasRepresentative, HumanReadableType, InAdminSet, Naming, NestedWorks, Noid, Permissions, ProxyDeposit, RequiredMetadata, Serializers, Suppressible, WithEvents, WithFileSets, Hyrax::Works::Featured, Hyrax::Works::Metadata, Hyrax::Works::Trophies, Solrizer::Common
- Included in:
- BatchUploadItem
- Defined in:
- app/models/concerns/hyrax/work_behavior.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#etag ⇒ Object
TODO: Move this into ActiveFedora.
Methods included from WithEvents
#event_class, #event_store, #events, #log_event, #stream
Methods included from Hyrax::Works::Featured
#check_featureability, #cleanup_featured_works, #featured?
Methods included from Hyrax::Works::Trophies
Methods included from ProxyDeposit
#create_transfer_request, #request_transfer_to
Methods included from Suppressible
#suppressed?, #to_sipity_entity
Methods included from NestedWorks
Methods included from InAdminSet
Methods included from WithFileSets
#cleanup_file_sets, #copy_visibility_to_files, #file_set_ids
Methods included from Serializers
Methods included from Permissions::Readable
#private?, #public?, #registered?
Methods included from Permissions::Writable
Methods included from Noid
Methods included from HumanReadableType
#human_readable_type, #to_solr
Instance Method Details
#etag ⇒ Object
TODO: Move this into ActiveFedora
33 34 35 36 |
# File 'app/models/concerns/hyrax/work_behavior.rb', line 33 def etag raise "Unable to produce an etag for a unsaved object" unless persisted? ldp_source.head.etag end |