You are here

class KalturaUiConfService in Kaltura 6.2

Hierarchy

Expanded class hierarchy of KalturaUiConfService

File

kaltura_client/KalturaClient.php, line 4119

View source
class KalturaUiConfService extends KalturaServiceBase {
  function __construct(KalturaClient $client) {
    parent::__construct($client);
  }
  function add(KalturaUiConf $uiConf) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "uiConf", $uiConf
      ->toParams());
    $this->client
      ->queueServiceActionCall("uiconf", "add", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaUiConf");
    return $resultObject;
  }
  function update($id, KalturaUiConf $uiConf) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "id", $id);
    $this->client
      ->addParam($kparams, "uiConf", $uiConf
      ->toParams());
    $this->client
      ->queueServiceActionCall("uiconf", "update", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaUiConf");
    return $resultObject;
  }
  function get($id) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "id", $id);
    $this->client
      ->queueServiceActionCall("uiconf", "get", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaUiConf");
    return $resultObject;
  }
  function delete($id) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "id", $id);
    $this->client
      ->queueServiceActionCall("uiconf", "delete", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "null");
    return $resultObject;
  }
  function cloneAction($id) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "id", $id);
    $this->client
      ->queueServiceActionCall("uiconf", "clone", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaUiConf");
    return $resultObject;
  }
  function listAction(KalturaUiConfFilter $filter = null, KalturaFilterPager $pager = null) {
    $kparams = array();
    if ($filter !== null) {
      $this->client
        ->addParam($kparams, "filter", $filter
        ->toParams());
    }
    if ($pager !== null) {
      $this->client
        ->addParam($kparams, "pager", $pager
        ->toParams());
    }
    $this->client
      ->queueServiceActionCall("uiconf", "list", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaUiConfListResponse");
    return $resultObject;
  }

}

Members