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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassName(SearchResult result)
Get the CSS class name for the supplied SearchResult.
-
-
-
Method Detail
-
getClassName
String getClassName(SearchResult result)
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
.
-
-