Class BackofficeDataQualityCalculationServiceProxy
java.lang.Object
com.hybris.backoffice.cockpitng.dataaccess.facades.object.dataquality.impl.BackofficeDataQualityCalculationServiceProxy
- All Implemented Interfaces:
DataQualityCalculationServiceProxy
public class BackofficeDataQualityCalculationServiceProxy
extends Object
implements DataQualityCalculationServiceProxy
Service proxies
DataQualityCalculationService for retrieving Object's data
coverage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalculates the coverage of the givenobject.Calculates the coverage of the givenobject.voidsetBackofficeDataQualityCalculationService(BackofficeDataQualityCalculationService backofficeDataQualityCalculationService)
-
Constructor Details
-
BackofficeDataQualityCalculationServiceProxy
public BackofficeDataQualityCalculationServiceProxy()
-
-
Method Details
-
calculate
Description copied from interface:DataQualityCalculationServiceProxyCalculates 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- Specified by:
calculatein interfaceDataQualityCalculationServiceProxy- Returns:
- the
Optional<DataQuality>object with cumulated coverage information orOptional.empty()value if no strategy was registered for given object and domain ID
-
calculate
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- Specified by:
calculatein interfaceDataQualityCalculationServiceProxy- Returns:
- the
Optional<DataQuality>object with cumulated coverage information orOptional.empty()if no strategy was registered for given object and domain ID
-
setBackofficeDataQualityCalculationService
public void setBackofficeDataQualityCalculationService(BackofficeDataQualityCalculationService backofficeDataQualityCalculationService)
-