/**
  * Convert ids when necessary
  * Service ids could be received while we want to perform actions on hosts
  *
  * @param array $objectIds
  * @param int $source
  */
 protected function getHostIds($objectIds, $source)
 {
     /* we come from service console, need conversion */
     if ($source == 1) {
         return ServicedetailRepository::getHostIdFromServiceId($objectIds);
     }
     return $objectIds;
 }