Lines Matching refs:metadata
35 * @var array - the validated metadata (that may be stored)
60 * @return $this - validate the transfer (ie the metadatas). The metadata that can be retrieved via {@link self::getValidatedMetadatas()}
70 throw new ExceptionRuntimeInternal("The original metadata should be defined");
101 $this->messages[] = Message::createWarningMessage("The metadata ($name) is a protected metadata and cannot be modified")
110 $this->messages[] = Message::createWarningMessage("The metadata ($originalMetaKey) is unknown and was not persisted")->setCanonical(Metadata::CANONICAL);
157 throw new ExceptionRuntimeInternal("The metadata to process were already set");
165 * Check/ validity and list of metadata building
169 foreach ($validatedMetadata as $metadata) {
174 if ($metadata->getPersistenceType() !== Metadata::PERSISTENT_METADATA) {
175 $messages[] = Message::createWarningMessage("The metadata ({$metadata->getName()}) is not persistent and cannot be modified")
176 ->setCanonical($metadata->getCanonical());
184 $metadata->sendToWriteStore();
186 $messages[] = Message::createErrorMessage("Error while replicating the meta ($metadata) from the store ($this->sourceStore) to the store ($this->targetStore). Message: " . $e->getMessage())
187 ->setCanonical($metadata->getCanonical());