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

com.kaltura.client.services.ESearchService 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.ESearchCategoryParams;
import com.kaltura.client.types.ESearchCategoryResponse;
import com.kaltura.client.types.ESearchEntryParams;
import com.kaltura.client.types.ESearchEntryResponse;
import com.kaltura.client.types.ESearchGroupParams;
import com.kaltura.client.types.ESearchGroupResponse;
import com.kaltura.client.types.ESearchUserParams;
import com.kaltura.client.types.ESearchUserResponse;
import com.kaltura.client.types.Pager;
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.
 */

public class ESearchService {
	
	public static class SearchCategoryESearchBuilder extends RequestBuilder {
		
		public SearchCategoryESearchBuilder(ESearchCategoryParams searchParams, Pager pager) {
			super(ESearchCategoryResponse.class, "elasticsearch_esearch", "searchCategory");
			params.add("searchParams", searchParams);
			params.add("pager", pager);
		}
	}

	public static SearchCategoryESearchBuilder searchCategory(ESearchCategoryParams searchParams)  {
		return searchCategory(searchParams, null);
	}

    public static SearchCategoryESearchBuilder searchCategory(ESearchCategoryParams searchParams, Pager pager)  {
		return new SearchCategoryESearchBuilder(searchParams, pager);
	}
	
	public static class SearchEntryESearchBuilder extends RequestBuilder {
		
		public SearchEntryESearchBuilder(ESearchEntryParams searchParams, Pager pager) {
			super(ESearchEntryResponse.class, "elasticsearch_esearch", "searchEntry");
			params.add("searchParams", searchParams);
			params.add("pager", pager);
		}
	}

	public static SearchEntryESearchBuilder searchEntry(ESearchEntryParams searchParams)  {
		return searchEntry(searchParams, null);
	}

    public static SearchEntryESearchBuilder searchEntry(ESearchEntryParams searchParams, Pager pager)  {
		return new SearchEntryESearchBuilder(searchParams, pager);
	}
	
	public static class SearchGroupESearchBuilder extends RequestBuilder {
		
		public SearchGroupESearchBuilder(ESearchGroupParams searchParams, Pager pager) {
			super(ESearchGroupResponse.class, "elasticsearch_esearch", "searchGroup");
			params.add("searchParams", searchParams);
			params.add("pager", pager);
		}
	}

	public static SearchGroupESearchBuilder searchGroup(ESearchGroupParams searchParams)  {
		return searchGroup(searchParams, null);
	}

    public static SearchGroupESearchBuilder searchGroup(ESearchGroupParams searchParams, Pager pager)  {
		return new SearchGroupESearchBuilder(searchParams, pager);
	}
	
	public static class SearchUserESearchBuilder extends RequestBuilder {
		
		public SearchUserESearchBuilder(ESearchUserParams searchParams, Pager pager) {
			super(ESearchUserResponse.class, "elasticsearch_esearch", "searchUser");
			params.add("searchParams", searchParams);
			params.add("pager", pager);
		}
	}

	public static SearchUserESearchBuilder searchUser(ESearchUserParams searchParams)  {
		return searchUser(searchParams, null);
	}

    public static SearchUserESearchBuilder searchUser(ESearchUserParams searchParams, Pager pager)  {
		return new SearchUserESearchBuilder(searchParams, pager);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy