T - public class DefaultYaasConfigurationService extends java.lang.Object implements YaasConfigurationService
YaasConfigurationService| Constructor and Description |
|---|
DefaultYaasConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildClientCredentialConfig(YaasClientCredentialModel clientCredential,
java.util.Map<java.lang.String,java.lang.String> config) |
protected void |
buildServiceConfig(java.lang.String serviceId,
java.util.Map<java.lang.String,java.lang.String> config) |
java.util.Map<java.lang.String,java.lang.String> |
buildYaasConfig(YaasClientCredentialModel clientCredential,
java.lang.Class serviceType)
Method to build YaaS configuration for the given client credential and client proxy type
|
BaseSiteServiceMappingModel |
getBaseSiteServiceMappingForId(java.lang.String id,
YaasServiceModel serviceModel)
Method to get persisted BaseSiteServiceMappingModel for the given unique id
|
protected FlexibleSearchService |
getFlexibleSearchService() |
YaasClientCredentialModel |
getYaasClientCredentialForId(java.lang.String id)
Method to get persisted YaasClientCredentialModel for the given unique id
|
java.util.List<YaasClientCredentialModel> |
getYaasClientCredentials()
Method to get all persisted YaasClientCredentialModel
|
YaasServiceModel |
getYaasServiceForId(java.lang.String id)
Method to get persisted YaasServiceModel for the given unique id
|
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
public java.util.Map<java.lang.String,java.lang.String> buildYaasConfig(YaasClientCredentialModel clientCredential, java.lang.Class serviceType)
YaasConfigurationServicebuildYaasConfig in interface YaasConfigurationServiceclientCredential - YaaS Client credential informationserviceType - YaaS client type (like Product)protected void buildClientCredentialConfig(YaasClientCredentialModel clientCredential, java.util.Map<java.lang.String,java.lang.String> config)
protected void buildServiceConfig(java.lang.String serviceId,
java.util.Map<java.lang.String,java.lang.String> config)
serviceId - config - protected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public YaasServiceModel getYaasServiceForId(java.lang.String id)
YaasConfigurationServicegetYaasServiceForId in interface YaasConfigurationServiceid - YaaS Service primary key Idpublic YaasClientCredentialModel getYaasClientCredentialForId(java.lang.String id)
YaasConfigurationServicegetYaasClientCredentialForId in interface YaasConfigurationServiceid - YaaS Client credential primary key Idpublic BaseSiteServiceMappingModel getBaseSiteServiceMappingForId(java.lang.String id, YaasServiceModel serviceModel)
YaasConfigurationServicegetBaseSiteServiceMappingForId in interface YaasConfigurationServiceid - BaseSiteServiceMapping primary key IdserviceModel - YaaS Service Entitypublic java.util.List<YaasClientCredentialModel> getYaasClientCredentials()
YaasConfigurationServicegetYaasClientCredentials in interface YaasConfigurationServiceCopyright © 2018 SAP SE. All Rights Reserved.