| @@ 52-61 (lines=10) @@ | ||
| 49 | /** |
|
| 50 | * {@inheritdoc} |
|
| 51 | */ |
|
| 52 | public function copy($contentId, $versionNo = null, $newOwnerId = null) |
|
| 53 | { |
|
| 54 | $this->logger->logCall(__METHOD__, [ |
|
| 55 | 'content' => $contentId, |
|
| 56 | 'version' => $versionNo, |
|
| 57 | 'newOwner' => $newOwnerId, |
|
| 58 | ]); |
|
| 59 | ||
| 60 | return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId); |
|
| 61 | } |
|
| 62 | ||
| 63 | /** |
|
| 64 | * {@inheritdoc} |
|
| @@ 288-300 (lines=13) @@ | ||
| 285 | /** |
|
| 286 | * {@inheritdoc} |
|
| 287 | */ |
|
| 288 | public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null) |
|
| 289 | { |
|
| 290 | $this->logger->logCall( |
|
| 291 | __METHOD__, |
|
| 292 | [ |
|
| 293 | 'content' => $sourceContentId, |
|
| 294 | 'version' => $sourceContentVersionNo, |
|
| 295 | 'type' => $type, |
|
| 296 | ] |
|
| 297 | ); |
|
| 298 | ||
| 299 | return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type); |
|
| 300 | } |
|
| 301 | ||
| 302 | /** |
|
| 303 | * {@inheritdoc} |
|