You are here

function KalturaBatchService::updateExclusivePreConvertJob in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 4871

Class

KalturaBatchService

Code

function updateExclusivePreConvertJob($id, $processorLocation, $pocessorName, KalturaBatchJob $preConvertJob, $entryStatus = null) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "id", $id);
  $this->client
    ->addParam($kparams, "processorLocation", $processorLocation);
  $this->client
    ->addParam($kparams, "pocessorName", $pocessorName);
  $this->client
    ->addParam($kparams, "preConvertJob", $preConvertJob
    ->toParams());
  $this->client
    ->addParam($kparams, "entryStatus", $entryStatus);
  $this->client
    ->queueServiceActionCall("batch", "updateExclusivePreConvertJob", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaBatchJob");
  return $resultObject;
}