Sha256: dacafac333928c3936a19077b047708f869d0db949be178e7e4e1ef034c47fda
Contents?: true
Size: 1.63 KB
Versions: 16
Compression:
Stored size: 1.63 KB
Contents
# These events are triggered by actions within CurationConcerns Actors CurationConcerns.config.callback.set(:after_create_concern) do |curation_concern, user| ContentDepositEventJob.perform_later(curation_concern, user) end CurationConcerns.config.callback.set(:after_create_fileset) do |file_set, user| FileSetAttachedEventJob.perform_later(file_set, user) end CurationConcerns.config.callback.set(:after_revert_content) do |file_set, user, revision| ContentRestoredVersionEventJob.perform_later(file_set, user, revision) end CurationConcerns.config.callback.set(:after_update_content) do |file_set, user| ContentNewVersionEventJob.perform_later(file_set, user) end CurationConcerns.config.callback.set(:after_update_metadata) do |curation_concern, user| ContentUpdateEventJob.perform_later(curation_concern, user) end CurationConcerns.config.callback.set(:after_destroy) do |id, user| ContentDeleteEventJob.perform_later(id, user) end CurationConcerns.config.callback.set(:after_audit_failure) do |file_set, user, log_date| Sufia::AuditFailureService.new(file_set, user, log_date).call end CurationConcerns.config.callback.set(:after_batch_create_success) do |user| Sufia::BatchCreateSuccessService.new(user).call end CurationConcerns.config.callback.set(:after_batch_create_failure) do |user| Sufia::BatchCreateFailureService.new(user).call end CurationConcerns.config.callback.set(:after_import_url_success) do |file_set, user| Sufia::ImportUrlSuccessService.new(file_set, user).call end CurationConcerns.config.callback.set(:after_import_url_failure) do |file_set, user| Sufia::ImportUrlFailureService.new(file_set, user).call end
Version data entries
16 entries across 16 versions & 1 rubygems