Package com.fluig.sdk.service
Interface SearchService
-
- All Superinterfaces:
BaseAPIService
public interface SearchService extends BaseAPIService
Fornece acesso aos serviços de busca
-
-
Field Summary
Fields Modifier and Type Field Description static StringJNDI_NAMEstatic StringJNDI_REMOTE_NAMEstatic intMAX_INFLUENCERS_RESULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DefaultSearchResponsefindInfluencers(DefaultSearchRequest search)Retorna lista de influenciadores para um assunto(#tag)DefaultSearchResponsefindInfluencers(String search)List<Map<String,Object>>groupedSearch(DefaultSearchRequest request)Retorna uma lista de resultados agrupadasList<Map<String,Object>>groupedSearchByType(DefaultSearchRequest request)Retorna uma lista de resultados agrupadas por tipoDefaultSearchResponsesearch(DefaultSearchRequest request)Retorna a pesquisa padrão, com os tipos de documentos encontrados em forma de lista-
Methods inherited from interface com.fluig.sdk.service.BaseAPIService
expand, generateOrderParam
-
-
-
-
Field Detail
-
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
-
JNDI_REMOTE_NAME
static final String JNDI_REMOTE_NAME
- See Also:
- Constant Field Values
-
MAX_INFLUENCERS_RESULT
static final int MAX_INFLUENCERS_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
search
DefaultSearchResponse search(DefaultSearchRequest request) throws com.fluig.sdk.api.common.SDKException
Retorna a pesquisa padrão, com os tipos de documentos encontrados em forma de lista- Parameters:
request-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKException
-
findInfluencers
DefaultSearchResponse findInfluencers(DefaultSearchRequest search) throws com.fluig.sdk.api.common.SDKException
Retorna lista de influenciadores para um assunto(#tag)- Parameters:
String- search- Returns:
InfluencersSearch- Throws:
com.fluig.sdk.api.common.SDKException
-
findInfluencers
DefaultSearchResponse findInfluencers(String search) throws com.fluig.sdk.api.common.SDKException
- Throws:
com.fluig.sdk.api.common.SDKException
-
groupedSearch
List<Map<String,Object>> groupedSearch(DefaultSearchRequest request) throws com.fluig.sdk.api.common.SDKException, NamingException
Retorna uma lista de resultados agrupadas- Parameters:
request-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKExceptionNamingException
-
groupedSearchByType
List<Map<String,Object>> groupedSearchByType(DefaultSearchRequest request) throws com.fluig.sdk.api.common.SDKException, NamingException
Retorna uma lista de resultados agrupadas por tipo- Parameters:
request-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKExceptionNamingException
-
-