Class: Ddr::Batch::BatchObjectDatastream

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/ddr/batch/batch_object_datastream.rb

Constant Summary collapse

DATASTREAMS =
[ Ddr::Models::File::CONTENT,
Ddr::Models::Metadata::DESC_METADATA,
Ddr::Models::File::STRUCT_METADATA ]
OPERATION_ADD =

add this datastream to the object – considered an error if datastream already exists

"ADD"
OPERATION_ADDUPDATE =

add this datastream to or update this datastream in the object

"ADDUPDATE"
OPERATION_UPDATE =

update this datastream in the object – considered an error if datastream does not already exist

"UPDATE"
OPERATION_DELETE =

delete this datastream from the object – considered an error if datastream does not exist

"DELETE"
PAYLOAD_TYPE_BYTES =
"BYTES"
PAYLOAD_TYPE_FILENAME =
"FILENAME"
PAYLOAD_TYPES =
[ PAYLOAD_TYPE_BYTES, PAYLOAD_TYPE_FILENAME ]