public interface CoverageCalculationService
| Modifier and Type | Method and Description |
|---|---|
CoverageInfo |
calculate(ItemModel item,
java.lang.String domainId)
Calculates the coverage of the given
item |
CoverageInfo |
calculate(ItemModel item,
java.lang.String templateCode,
java.lang.String domainId)
Calculates the coverage of the given
item |
CoverageInfo calculate(ItemModel item, java.lang.String domainId)
item.
The domainId can by used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)item - the item to calculate the coverage fordomainId - the domain Id if applicableCoverageInfo object with cumulated coverage information or null if no strategy
was registered for given item and domain IDCoverageInfo calculate(ItemModel item, java.lang.String templateCode, java.lang.String domainId)
item.
The domainId can by used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)item - the item to calculate the coverage fortemplateCode - the item template to be used for finding the proper calculation strategydomainId - the domain Id if applicableCoverageInfo object with cumulated coverage information or null if no strategy
was registered for given item and domain IDCopyright © 2018 SAP SE. All Rights Reserved.