diff --git a/lib/Alchemy/Phrasea/Model/Serializer/ESRecordSerializer.php b/lib/Alchemy/Phrasea/Model/Serializer/ESRecordSerializer.php index 2384591497..e3a991c436 100644 --- a/lib/Alchemy/Phrasea/Model/Serializer/ESRecordSerializer.php +++ b/lib/Alchemy/Phrasea/Model/Serializer/ESRecordSerializer.php @@ -1,9 +1,8 @@ $record->get_sbas_id(), - 'record_id' => $record->get_record_id(), - 'collection_id' => $record->get_collection()->get_coll_id(), - 'base_id' => $record->get_base_id(), - 'mime_type' => $record->get_mime(), + 'databox_id' => $record->getDataboxId(), + 'record_id' => $record->getRecordId(), + 'collection_id' => $record->getCollectionId(), + 'base_id' => $record->getBaseId(), + 'mime_type' => $record->getMimeType(), 'title' => $record->get_title(), 'original_name' => $record->get_original_name(), - 'updated_on' => $record->get_modification_date()->format(DATE_ATOM), - 'created_on' => $record->get_creation_date()->format(DATE_ATOM), - 'sha256' => $record->get_sha256(), + 'updated_on' => $record->getUpdated()->format(DATE_ATOM), + 'created_on' => $record->getCreated()->format(DATE_ATOM), + 'sha256' => $record->getSha256(), 'technical_informations' => $technicalInformation, - 'phrasea_type' => $record->get_type(), + 'phrasea_type' => $record->getType(), 'type' => $record->isStory() ? 'story' : 'record', 'uuid' => $record->getUuid(), 'caption' => $caption,