public interface DocumentSearchCustomizationMediator
DocumentSearchCustomizationHandlerService
endpoints in order to invoke document search customizations which might be hosted from various applications.Modifier and Type | Method and Description |
---|---|
DocumentSearchCriteria |
customizeClearCriteria(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
Optionally performs a custom clearing of the given document search criteria if the given document type
implements a customized clear algorithm.
|
DocumentSearchCriteria |
customizeCriteria(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
Optionally performs customization of the given document search criteria in the cases where the document type
implements criteria customization.
|
DocumentSearchResultValues |
customizeResults(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria,
DocumentSearchResults results)
Optionally performs customization on the given set of document search results.
|
DocumentSearchResultSetConfiguration |
customizeResultSetConfiguration(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
Optionally provides configuration information that allows for document search result set customization to occur.
|
DocumentSearchCriteriaConfiguration |
getDocumentSearchCriteriaConfiguration(DocumentType documentType)
Retrieves the document search criteria configuration for the given document type.
|
List<RemotableAttributeError> |
validateLookupFieldParameters(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
Performs optional validation of document search criteria prior to execution of the search.
|
DocumentSearchCriteriaConfiguration getDocumentSearchCriteriaConfiguration(DocumentType documentType)
documentType
- the document type for which to find document search criteria configuration, must not be nullList<RemotableAttributeError> validateLookupFieldParameters(DocumentType documentType, DocumentSearchCriteria documentSearchCriteria)
documentType
- the document type against which the lookup is being performeddocumentSearchCriteria
- the criteria representing the submission of the document searchDocumentSearchCriteria customizeCriteria(DocumentType documentType, DocumentSearchCriteria documentSearchCriteria)
documentType
- the document type against which to perform the criteria customization, should never be nulldocumentSearchCriteria
- the criteria to use as the starting point for customizationDocumentSearchCriteria customizeClearCriteria(DocumentType documentType, DocumentSearchCriteria documentSearchCriteria)
documentType
- the document type against which to check for a custom implementation of criteria clearingdocumentSearchCriteria
- the current criteria of the document search prior to being clearedDocumentSearchResultValues customizeResults(DocumentType documentType, DocumentSearchCriteria documentSearchCriteria, DocumentSearchResults results)
DocumentSearchResultValue
objects, each of which are mapped to a
specific document id from the results and include additional key-value pairs for customized or synthesized
values for that document. This method can return a null value if no customization was performed.documentType
- the document type to use when determining what customization logic (if any) should be invokeddocumentSearchCriteria
- the criteria of the document search which produced the supplied resultsresults
- the results of the document search which are being considered for customizationDocumentSearchResultSetConfiguration customizeResultSetConfiguration(DocumentType documentType, DocumentSearchCriteria documentSearchCriteria)
DocumentSearchResultSetConfiguration
can be used by the calling code to determine how best
to render the lookup results.documentType
- the document type for which to customize result set configurationdocumentSearchCriteria
- the criteria that was used to perform the lookupCopyright © 2005–2016 The Kuali Foundation. All rights reserved.