Module: Hyrax::Transactions

Defined in:
lib/hyrax/transactions.rb,
lib/hyrax/transactions/container.rb,
lib/hyrax/transactions/steps/save.rb,
lib/hyrax/transactions/transaction.rb,
lib/hyrax/transactions/work_create.rb,
lib/hyrax/transactions/work_update.rb,
lib/hyrax/transactions/work_destroy.rb,
lib/hyrax/transactions/steps/validate.rb,
lib/hyrax/transactions/file_set_update.rb,
lib/hyrax/transactions/admin_set_create.rb,
lib/hyrax/transactions/admin_set_update.rb,
lib/hyrax/transactions/apply_change_set.rb,
lib/hyrax/transactions/file_set_destroy.rb,
lib/hyrax/transactions/admin_set_destroy.rb,
lib/hyrax/transactions/collection_create.rb,
lib/hyrax/transactions/collection_update.rb,
lib/hyrax/transactions/collection_destroy.rb,
lib/hyrax/transactions/steps/add_file_sets.rb,
lib/hyrax/transactions/steps/add_to_parent.rb,
lib/hyrax/transactions/file_metadata_destroy.rb,
lib/hyrax/transactions/steps/delete_resource.rb,
lib/hyrax/transactions/steps/change_depositor.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_user_as_creator.rb,
lib/hyrax/transactions/steps/update_work_members.rb,
lib/hyrax/transactions/steps/delete_all_file_sets.rb,
lib/hyrax/transactions/steps/file_metadata_delete.rb,
lib/hyrax/transactions/steps/save_collection_logo.rb,
lib/hyrax/transactions/steps/delete_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/remove_from_membership.rb,
lib/hyrax/transactions/steps/save_collection_banner.rb,
lib/hyrax/transactions/steps/set_collection_type_gid.rb,
lib/hyrax/transactions/steps/delete_all_file_metadata.rb,
lib/hyrax/transactions/steps/apply_permission_template.rb,
lib/hyrax/transactions/steps/check_for_empty_admin_set.rb,
lib/hyrax/transactions/steps/remove_file_set_from_work.rb,
lib/hyrax/transactions/steps/check_for_default_admin_set.rb,
lib/hyrax/transactions/steps/set_uploaded_date_unless_present.rb,
lib/hyrax/transactions/steps/apply_collection_type_permissions.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: AdminSetCreate, AdminSetDestroy, AdminSetUpdate, ApplyChangeSet, CollectionCreate, CollectionDestroy, CollectionUpdate, Container, FileMetadataDestroy, FileSetDestroy, FileSetUpdate, Transaction, WorkCreate, WorkDestroy, WorkUpdate