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

com.kaltura.client.services.CaptionAssetItemService 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.BaseEntry;
import com.kaltura.client.types.BaseEntryFilter;
import com.kaltura.client.types.CaptionAssetItem;
import com.kaltura.client.types.CaptionAssetItemFilter;
import com.kaltura.client.types.FilterPager;
import com.kaltura.client.utils.request.ListResponseRequestBuilder;

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

/**
 * Search caption asset items
 * 
 * @param captionAssetId 
 * @param captionAssetItemFilter 
 * @param captionAssetItemPager 
 * @param captionAssetId 
 * @param entryFilter 
 * @param captionAssetItemFilter 
 * @param captionAssetItemPager 
 * @param entryFilter 
 * @param captionAssetItemFilter 
 * @param captionAssetItemPager 
 */
public class CaptionAssetItemService {
	
	public static class ListCaptionAssetItemBuilder extends ListResponseRequestBuilder {
		
		public ListCaptionAssetItemBuilder(String captionAssetId, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager) {
			super(CaptionAssetItem.class, "captionsearch_captionassetitem", "list");
			params.add("captionAssetId", captionAssetId);
			params.add("captionAssetItemFilter", captionAssetItemFilter);
			params.add("captionAssetItemPager", captionAssetItemPager);
		}
		
		public void captionAssetId(String multirequestToken) {
			params.add("captionAssetId", multirequestToken);
		}
	}

	public static ListCaptionAssetItemBuilder list(String captionAssetId)  {
		return list(captionAssetId, null);
	}

	public static ListCaptionAssetItemBuilder list(String captionAssetId, CaptionAssetItemFilter captionAssetItemFilter)  {
		return list(captionAssetId, captionAssetItemFilter, null);
	}

	/**
	 * List caption asset items by filter and pager
	 * 
	 * @param captionAssetId 
	 * @param captionAssetItemFilter 
	 * @param captionAssetItemPager 
	 */
    public static ListCaptionAssetItemBuilder list(String captionAssetId, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager)  {
		return new ListCaptionAssetItemBuilder(captionAssetId, captionAssetItemFilter, captionAssetItemPager);
	}
	
	public static class SearchCaptionAssetItemBuilder extends ListResponseRequestBuilder {
		
		public SearchCaptionAssetItemBuilder(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager) {
			super(CaptionAssetItem.class, "captionsearch_captionassetitem", "search");
			params.add("entryFilter", entryFilter);
			params.add("captionAssetItemFilter", captionAssetItemFilter);
			params.add("captionAssetItemPager", captionAssetItemPager);
		}
	}

	public static SearchCaptionAssetItemBuilder search()  {
		return search(null);
	}

	public static SearchCaptionAssetItemBuilder search(BaseEntryFilter entryFilter)  {
		return search(entryFilter, null);
	}

	public static SearchCaptionAssetItemBuilder search(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter)  {
		return search(entryFilter, captionAssetItemFilter, null);
	}

	/**
	 * Search caption asset items by filter, pager and free text
	 * 
	 * @param entryFilter 
	 * @param captionAssetItemFilter 
	 * @param captionAssetItemPager 
	 */
    public static SearchCaptionAssetItemBuilder search(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager)  {
		return new SearchCaptionAssetItemBuilder(entryFilter, captionAssetItemFilter, captionAssetItemPager);
	}
	
	public static class SearchEntriesCaptionAssetItemBuilder extends ListResponseRequestBuilder {
		
		public SearchEntriesCaptionAssetItemBuilder(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager) {
			super(BaseEntry.class, "captionsearch_captionassetitem", "searchEntries");
			params.add("entryFilter", entryFilter);
			params.add("captionAssetItemFilter", captionAssetItemFilter);
			params.add("captionAssetItemPager", captionAssetItemPager);
		}
	}

	public static SearchEntriesCaptionAssetItemBuilder searchEntries()  {
		return searchEntries(null);
	}

	public static SearchEntriesCaptionAssetItemBuilder searchEntries(BaseEntryFilter entryFilter)  {
		return searchEntries(entryFilter, null);
	}

	public static SearchEntriesCaptionAssetItemBuilder searchEntries(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter)  {
		return searchEntries(entryFilter, captionAssetItemFilter, null);
	}

	/**
	 * Search caption asset items by filter, pager and free text
	 * 
	 * @param entryFilter 
	 * @param captionAssetItemFilter 
	 * @param captionAssetItemPager 
	 */
    public static SearchEntriesCaptionAssetItemBuilder searchEntries(BaseEntryFilter entryFilter, CaptionAssetItemFilter captionAssetItemFilter, FilterPager captionAssetItemPager)  {
		return new SearchEntriesCaptionAssetItemBuilder(entryFilter, captionAssetItemFilter, captionAssetItemPager);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy