lib/ddr/models.rb in ddr-models-1.12.3 vs lib/ddr/models.rb in ddr-models-1.13.0
- old
+ new
@@ -11,10 +11,11 @@
require 'hydra/validations'
require 'ddr/actions'
require 'ddr/auth'
require 'ddr/datastreams'
+require 'ddr/derivatives'
require 'ddr/events'
require 'ddr/index_fields'
require 'ddr/managers'
require 'ddr/metadata'
require 'ddr/notifications'
@@ -29,25 +30,30 @@
autoload :AccessControllable
autoload :Describable
autoload :EventLoggable
autoload :Error
autoload :ChecksumInvalid, 'ddr/models/error'
+ autoload :DerivativeGenerationFailure, 'ddr/models/error'
autoload :FixityCheckable
autoload :Governable
autoload :HasAdminMetadata
autoload :HasAttachments
autoload :HasChildren
autoload :HasContent
+ autoload :HasMultiresImage
autoload :HasProperties
autoload :HasStructMetadata
autoload :HasThumbnail
autoload :Indexing
autoload :FileManagement
autoload :Licensable
autoload :SolrDocument
- # Base directory of external file store
+ # Base directory of default external file store
mattr_accessor :external_file_store
+
+ # Base directory of external file store for multires image derivatives
+ mattr_accessor :multires_image_external_file_store
# Regexp for building external file subpath from hex digest
mattr_accessor :external_file_subpath_regexp
# Whether permanent IDs should be automatically assigned on create