Module: Hyrax::Transactions

Defined in:
lib/hyrax/transactions.rb,
lib/hyrax/transactions/container.rb,
lib/hyrax/transactions/steps/save.rb,
lib/hyrax/transactions/create_work.rb,
lib/hyrax/transactions/transaction.rb,
lib/hyrax/transactions/update_work.rb,
lib/hyrax/transactions/work_create.rb,
lib/hyrax/transactions/destroy_work.rb,
lib/hyrax/transactions/work_destroy.rb,
lib/hyrax/transactions/steps/validate.rb,
lib/hyrax/transactions/steps/save_work.rb,
lib/hyrax/transactions/apply_change_set.rb,
lib/hyrax/transactions/steps/destroy_work.rb,
lib/hyrax/transactions/steps/add_file_sets.rb,
lib/hyrax/transactions/steps/delete_resource.rb,
lib/hyrax/transactions/steps/apply_visibility.rb,
lib/hyrax/transactions/steps/ensure_admin_set.rb,
lib/hyrax/transactions/steps/set_modified_date.rb,
lib/hyrax/transactions/steps/add_to_collections.rb,
lib/hyrax/transactions/steps/save_access_control.rb,
lib/hyrax/transactions/steps/set_default_admin_set.rb,
lib/hyrax/transactions/steps/set_user_as_depositor.rb,
lib/hyrax/transactions/steps/apply_permission_template.rb,
lib/hyrax/transactions/steps/ensure_permission_template.rb,
lib/hyrax/transactions/steps/set_uploaded_date_unless_present.rb,
lib/hyrax/transactions/steps/apply_collection_permission_template.rb

Overview

This is a parent module for DRY Transaction classes handling Hyrax processes. Especially: transactions and steps for creating, updating, and destroying PCDM Objects are located here.

Examples:

Hyrax::Transaction::Container['transaction_name'].call(:input)

See Also:

Since:

  • 2.4.0

Defined Under Namespace

Modules: Steps Classes: ApplyChangeSet, Container, CreateWork, DestroyWork, Transaction, UpdateWork, WorkCreate, WorkDestroy