Interface DisplayMapper
- All Known Implementing Classes:
ContentTypesDisplayMapper
public interface DisplayMapper
An interface to expose the ContentTypesDisplayMapper bean to plugins.
- Since:
- 6.2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetClassName
(SearchResult result) Get the CSS class name for the supplied SearchResult.
-
Method Details
-
getClassName
Get the CSS class name for the supplied SearchResult. If the class cannot be determined from the result then the default class will be returned.- Parameters:
result
- the SearchResult that a CSS class is required for.- Returns:
- the CSS class name for the given
SearchResult
.
-