Package com.hybris.backoffice.proxy
Interface DataQualityCalculationServiceProxy
-
- All Known Implementing Classes:
BackofficeDataQualityCalculationServiceProxy
public interface DataQualityCalculationServiceProxyService proxiesDataQualityCalculationServicefor retrieving Object's data coverage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Double>calculate(java.lang.Object object, java.lang.String domainId)Calculates the coverage of the givenobject.java.util.Optional<java.lang.Double>calculate(java.lang.Object object, java.lang.String templateCode, java.lang.String domainId)Calculates the coverage of the givenobject.
-
-
-
Method Detail
-
calculate
java.util.Optional<java.lang.Double> calculate(java.lang.Object object, java.lang.String domainId)Calculates the coverage of the givenobject. ThedomainIdcan 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 applicable- Returns:
- the
Optional<DataQuality>object with cumulated coverage information orOptional.empty()value if no strategy was registered for given object and domain ID
-
calculate
java.util.Optional<java.lang.Double> calculate(java.lang.Object object, java.lang.String templateCode, java.lang.String domainId)Calculates the coverage of the givenobject. ThedomainIdcan 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 applicable- Returns:
- the
Optional<DataQuality>object with cumulated coverage information orOptional.empty()if no strategy was registered for given object and domain ID
-
-