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 String
JNDI_NAME
static String
JNDI_REMOTE_NAME
static int
MAX_INFLUENCERS_RESULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DefaultSearchResponse
findInfluencers(DefaultSearchRequest search)
Retorna lista de influenciadores para um assunto(#tag)DefaultSearchResponse
findInfluencers(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 tipoDefaultSearchResponse
search(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.SDKException
NamingException
-
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.SDKException
NamingException
-
-