@Deprecated public abstract class AbstractSolrRestService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
ONLY_MASTER
Deprecated.
|
| Constructor and Description |
|---|
AbstractSolrRestService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createManagedResource(String endpointUrl,
String resourceClass)
Deprecated.
Creates managedResource in given endpoint
|
protected Collection<EndpointURL> |
getAllServerUrls(FacetSearchConfig facetSearchConfig)
Deprecated.
|
ConfigurationService |
getConfigurationService()
Deprecated.
|
protected String |
getCoreName(IndexedType indexedType,
boolean isMaster)
Deprecated.
Returns all core names from given configuration as collection of strings
|
FacetSearchConfigDao |
getFacetSearchConfigDao()
Deprecated.
|
protected Collection<String> |
getLanguages(FacetSearchConfig configuration)
Deprecated.
Returns all languages from configuration as collection of strings
|
RestTemplate |
getRestTemplate()
Deprecated.
|
SolrCoreNameResolver |
getSolrCoreNameResolver()
Deprecated.
|
protected Collection<EndpointURL> |
getSolrEndpointUrls(FacetSearchConfig facetSearchConfig,
boolean onlyMaster)
Deprecated.
Returns solr server urls form configuration.
|
SolrService |
getSolrService()
Deprecated.
|
TenantService |
getTenantService()
Deprecated.
|
void |
setConfigurationService(ConfigurationService configurationService)
Deprecated.
|
void |
setFacetSearchConfigDao(FacetSearchConfigDao facetSearchConfigDao)
Deprecated.
|
void |
setRestTemplate(RestTemplate restTemplate)
Deprecated.
|
void |
setSolrCoreNameResolver(SolrCoreNameResolver solrCoreNameResolver)
Deprecated.
|
void |
setSolrService(SolrService solrService)
Deprecated.
|
void |
setTenantService(TenantService tenantService)
Deprecated.
|
protected static final boolean ONLY_MASTER
protected void createManagedResource(String endpointUrl, String resourceClass) throws RestClientException
endpointUrl - - endpoint where managed resource should be createdresourceClass - parameter defining class for managed resourceRestClientException - if resource exists or during communication errorprotected Collection<String> getLanguages(FacetSearchConfig configuration) throws SolrServiceException
SolrServiceException - if no language was found in configurationprotected String getCoreName(IndexedType indexedType, boolean isMaster) throws FacetConfigServiceException, SolrServiceException
SolrServiceException - if no core names were found in configurationFacetConfigServiceExceptionprotected Collection<EndpointURL> getSolrEndpointUrls(FacetSearchConfig facetSearchConfig, boolean onlyMaster) throws SolrServiceException
onlyMaster - if set to true only master server url will be returnedSolrServiceException - if no endpoints were found in configurationprotected Collection<EndpointURL> getAllServerUrls(FacetSearchConfig facetSearchConfig) throws SolrServiceException
SolrServiceExceptionpublic void setSolrService(SolrService solrService)
solrService - the solrService to setpublic SolrService getSolrService()
public void setRestTemplate(RestTemplate restTemplate)
restTemplate - the restTemplate to setpublic RestTemplate getRestTemplate()
public void setSolrCoreNameResolver(SolrCoreNameResolver solrCoreNameResolver)
solrCoreNameResolver - the solrCoreNameResolver to setpublic SolrCoreNameResolver getSolrCoreNameResolver()
public ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
configurationService - the configurationService to setpublic FacetSearchConfigDao getFacetSearchConfigDao()
public void setFacetSearchConfigDao(FacetSearchConfigDao facetSearchConfigDao)
public TenantService getTenantService()
public void setTenantService(TenantService tenantService)
Copyright © 2017 SAP SE. All Rights Reserved.