/**
  * @param $websiteId
  * @param $mediaId
  * @param $name
  * @param $filePath
  * @param $size
  * @param $lastUpdate
  *
  * @return MediaData
  */
 protected function createMediaDataObject($websiteId, $mediaId, $name, $filePath, $size, $lastUpdate)
 {
     $mediaData = new MediaData();
     $mediaData->setWebsiteid($websiteId);
     $mediaData->setId($mediaId);
     $mediaData->setName($name);
     $mediaData->setFile($filePath);
     $mediaData->setSize($size);
     $mediaData->setLastUpdate($lastUpdate);
     return $mediaData;
 }