Class: Hyrax::Transactions::CreateWork Deprecated
- Defined in:
Development on Dry::Transaction has been discontinued, we're removing existing transactions and replacing them with Dry::Monad-based valkyrie versions.
add collection membership handling (@see CollectionsMembershipActor)
set depositor (@see BaseActor)
initialize workflow after save (@see BaseActor)
add to parent works post-save (see: 'AddToWorkActor`)
attach files (see: 'CreateWithFilesActor`, `CreateWithRemoteFilesActor`
validate PermissionTemplate against visibility, lease, and embargo (see: `InterpretVisibilityActor`)
add locking/transactionality. Just do better than the Actor Stack
add support for proxy deposit (see: TransferRequestActor)
This is an experimental replacement for the actor stack's `#create` stack. In time, we hope this will have feature parity with that stack, along with improved architecture, error handling, readability, and customizability. While this develops, please provide feedback.
A transaction for creating a Work ready for use in Hyrax. Handles ensuring admin sets and permission templates are present, and setting system managed dates prior to save.