All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kaltura.client.services.UiConfService Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

There is a newer version: 19.3.0
Show newest version
// ===================================================================================================
//                           _  __     _ _
//                          | |/ /__ _| | |_ _  _ _ _ __ _
//                          | ' .
//
// @ignore
// ===================================================================================================
package com.kaltura.client.services;

import com.kaltura.client.types.FilterPager;
import com.kaltura.client.types.UiConf;
import com.kaltura.client.types.UiConfFilter;
import com.kaltura.client.types.UiConfTypeInfo;
import com.kaltura.client.utils.request.ArrayRequestBuilder;
import com.kaltura.client.utils.request.ListResponseRequestBuilder;
import com.kaltura.client.utils.request.NullRequestBuilder;
import com.kaltura.client.utils.request.RequestBuilder;

/**
 * This class was generated using generate.php
 * against an XML schema provided by Kaltura.
 * 
 * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
 */

/**
 * UiConf service lets you create and manage your UIConfs for the various flash
  components  This service is used by the KMC-ApplicationStudio
 * 
 * @param uiConf Mandatory input parameter of type KalturaUiConf
 * @param id 
 * @param id 
 * @param id 
 * @param filter 
 * @param pager 
 * @param filter 
 * @param pager 
 * @param id 
 * @param uiConf 
 */
public class UiConfService {
	
	public static class AddUiConfBuilder extends RequestBuilder {
		
		public AddUiConfBuilder(UiConf uiConf) {
			super(UiConf.class, "uiconf", "add");
			params.add("uiConf", uiConf);
		}
	}

	/**
	 * UIConf Add action allows you to add a UIConf to Kaltura DB
	 * 
	 * @param uiConf Mandatory input parameter of type KalturaUiConf
	 */
    public static AddUiConfBuilder add(UiConf uiConf)  {
		return new AddUiConfBuilder(uiConf);
	}
	
	public static class CloneUiConfBuilder extends RequestBuilder {
		
		public CloneUiConfBuilder(int id) {
			super(UiConf.class, "uiconf", "clone");
			params.add("id", id);
		}
		
		public void id(String multirequestToken) {
			params.add("id", multirequestToken);
		}
	}

	/**
	 * Clone an existing UIConf
	 * 
	 * @param id 
	 */
    public static CloneUiConfBuilder clone(int id)  {
		return new CloneUiConfBuilder(id);
	}
	
	public static class DeleteUiConfBuilder extends NullRequestBuilder {
		
		public DeleteUiConfBuilder(int id) {
			super("uiconf", "delete");
			params.add("id", id);
		}
		
		public void id(String multirequestToken) {
			params.add("id", multirequestToken);
		}
	}

	/**
	 * Delete an existing UIConf
	 * 
	 * @param id 
	 */
    public static DeleteUiConfBuilder delete(int id)  {
		return new DeleteUiConfBuilder(id);
	}
	
	public static class GetUiConfBuilder extends RequestBuilder {
		
		public GetUiConfBuilder(int id) {
			super(UiConf.class, "uiconf", "get");
			params.add("id", id);
		}
		
		public void id(String multirequestToken) {
			params.add("id", multirequestToken);
		}
	}

	/**
	 * Retrieve a UIConf by id
	 * 
	 * @param id 
	 */
    public static GetUiConfBuilder get(int id)  {
		return new GetUiConfBuilder(id);
	}
	
	public static class GetAvailableTypesUiConfBuilder extends ArrayRequestBuilder {
		
		public GetAvailableTypesUiConfBuilder() {
			super(UiConfTypeInfo.class, "uiconf", "getAvailableTypes");
		}
	}

	/**
	 * Retrieve a list of all available versions by object type
	 */
    public static GetAvailableTypesUiConfBuilder getAvailableTypes()  {
		return new GetAvailableTypesUiConfBuilder();
	}
	
	public static class ListUiConfBuilder extends ListResponseRequestBuilder {
		
		public ListUiConfBuilder(UiConfFilter filter, FilterPager pager) {
			super(UiConf.class, "uiconf", "list");
			params.add("filter", filter);
			params.add("pager", pager);
		}
	}

	public static ListUiConfBuilder list()  {
		return list(null);
	}

	public static ListUiConfBuilder list(UiConfFilter filter)  {
		return list(filter, null);
	}

	/**
	 * Retrieve a list of available UIConfs
	 * 
	 * @param filter 
	 * @param pager 
	 */
    public static ListUiConfBuilder list(UiConfFilter filter, FilterPager pager)  {
		return new ListUiConfBuilder(filter, pager);
	}
	
	public static class ListTemplatesUiConfBuilder extends ListResponseRequestBuilder {
		
		public ListTemplatesUiConfBuilder(UiConfFilter filter, FilterPager pager) {
			super(UiConf.class, "uiconf", "listTemplates");
			params.add("filter", filter);
			params.add("pager", pager);
		}
	}

	public static ListTemplatesUiConfBuilder listTemplates()  {
		return listTemplates(null);
	}

	public static ListTemplatesUiConfBuilder listTemplates(UiConfFilter filter)  {
		return listTemplates(filter, null);
	}

	/**
	 * retrieve a list of available template UIConfs
	 * 
	 * @param filter 
	 * @param pager 
	 */
    public static ListTemplatesUiConfBuilder listTemplates(UiConfFilter filter, FilterPager pager)  {
		return new ListTemplatesUiConfBuilder(filter, pager);
	}
	
	public static class UpdateUiConfBuilder extends RequestBuilder {
		
		public UpdateUiConfBuilder(int id, UiConf uiConf) {
			super(UiConf.class, "uiconf", "update");
			params.add("id", id);
			params.add("uiConf", uiConf);
		}
		
		public void id(String multirequestToken) {
			params.add("id", multirequestToken);
		}
	}

	/**
	 * Update an existing UIConf
	 * 
	 * @param id 
	 * @param uiConf 
	 */
    public static UpdateUiConfBuilder update(int id, UiConf uiConf)  {
		return new UpdateUiConfBuilder(id, uiConf);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy