Interface WritableDatabaseService.SearchResultPropertiesAdjuster
-
- Enclosing class:
- WritableDatabaseService
public static interface WritableDatabaseService.SearchResultPropertiesAdjuster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
adjustProperties(AnnotatedPluginDocument document, java.util.Map<java.lang.String,java.lang.Object> searchResultProperties)
Adjust the contents of searchResultProperties based on the given document.void
adjustPropertyFields(java.util.List<DocumentField> searchResultPropertyFields)
Adjust the contents of searchResultPropertyFields.
-
-
-
Method Detail
-
adjustProperties
void adjustProperties(AnnotatedPluginDocument document, java.util.Map<java.lang.String,java.lang.Object> searchResultProperties)
Adjust the contents of searchResultProperties based on the given document. For example, smart folders add a relevance property.- Parameters:
document
- the document the properties apply tosearchResultProperties
- the properties to be adjusted
-
adjustPropertyFields
void adjustPropertyFields(java.util.List<DocumentField> searchResultPropertyFields)
Adjust the contents of searchResultPropertyFields. For example, smart folders add a relevance field.- Parameters:
searchResultPropertyFields
- the list of fields to be adjusted.
-
-