Interface DocumentSearchCriteriaTranslator
- All Known Implementing Classes:
DocumentSearchCriteriaTranslatorImpl
public interface DocumentSearchCriteriaTranslator
Handles translating between parameters submitted to the document search and
DocumentSearchCriteria.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionTranslates the givenDocumentSearchCriteriainto a map of fields values.translateFieldsToCriteria(Map<String, String> fieldValues) Translates the given map of fields values into aDocumentSearchCriteria.
-
Method Details
-
translateFieldsToCriteria
Translates the given map of fields values into aDocumentSearchCriteria. The given map of field values is keyed based on the name of the field being submitted and the value represents that field value, which may contain wildcards and other logical operators supported by the KNS lookup framework.- Parameters:
fieldValues- the map of field names and values from which to populate the criteria- Returns:
- populated document search criteria which contains the various criteria components populated based on the interpretation of the given field values
-
translateCriteriaToFields
Translates the givenDocumentSearchCriteriainto a map of fields values. Reverse oftranslateFieldsToCriteria(java.util.Map)- Parameters:
criteria- document search criteria- Returns:
- Map populated with the various criteria components
-