/** * Display externally stored data * * @param string $hostedDataId * * @return Response\Action\Display|Response\Error * @throws \Exception */ public function displayHostedData($hostedDataId) { $service = $this->getService(); $storageItem = new Model\DataStorageItem($hostedDataId); $displayAction = new Request\Action\DisplayHostedData($service, $storageItem); return $displayAction->display(); }