public class BackofficeDataQualityCalculationServiceProxy extends java.lang.Object implements DataQualityCalculationServiceProxy
com.hybris.cockpitng.dataquality.DataQualityCalculationService for retrieving Object's data
coverage.| Constructor and Description |
|---|
BackofficeDataQualityCalculationServiceProxy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.Double> |
calculate(java.lang.Object object,
java.lang.String domainId)
Calculates the coverage of the given
object |
java.util.Optional<java.lang.Double> |
calculate(java.lang.Object object,
java.lang.String templateCode,
java.lang.String domainId)
Calculates the coverage of the given
object |
void |
setBackofficeDataQualityCalculationService(BackofficeDataQualityCalculationService backofficeDataQualityCalculationService) |
public BackofficeDataQualityCalculationServiceProxy()
public java.util.Optional<java.lang.Double> calculate(java.lang.Object object,
java.lang.String domainId)
DataQualityCalculationServiceProxyobject.
The domainId can be used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)
@param object the object to calculate the coverage for
@param domainId the domain Id if applicablecalculate in interface DataQualityCalculationServiceProxyOptional<DataQuality> object with cumulated coverage information or
Optional.empty() value if no strategy was registered for given object and domain IDpublic java.util.Optional<java.lang.Double> calculate(java.lang.Object object,
java.lang.String templateCode,
java.lang.String domainId)
object.
The domainId can be used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)
@param object the object to calculate the coverage for
@param templateCode the object template to be used for finding the proper calculation strategy
@param domainId the domain Id if applicablecalculate in interface DataQualityCalculationServiceProxyOptional<DataQuality> object with cumulated coverage information or
Optional.empty() if no strategy was registered for given object and domain IDpublic void setBackofficeDataQualityCalculationService(BackofficeDataQualityCalculationService backofficeDataQualityCalculationService)
Copyright © 2018 SAP SE. All Rights Reserved.