/**
  * Manage how a document collection has to be saved
  *
  * @param int    $parentId   Parent id owning documents being saved
  * @param string $parentType Parent Type owning documents being saved
  *
  * @return Response
  */
 public function saveDocumentAjaxAction($parentId, $parentType)
 {
     $config = FileConfiguration::getDocumentConfig();
     return $this->saveFileAjaxAction($parentId, $parentType, $config['objectType'], $config['validMimeTypes'], $config['extBlackList']);
 }