|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.docsearch.DocumentSearchCustomizationMediatorImpl
public class DocumentSearchCustomizationMediatorImpl
Reference implementation of DocumentSearchCustomizationMediator.
| Constructor Summary | |
|---|---|
DocumentSearchCustomizationMediatorImpl()
|
|
| Method Summary | |
|---|---|
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. |
protected List<AttributeFields> |
flattenOrderedFieldMap(LinkedHashMap<String,AttributeFields> orderedFieldMap)
|
DocumentSearchCriteriaConfiguration |
getDocumentSearchCriteriaConfiguration(DocumentType documentType)
Retrieves the document search criteria configuration for the given document type. |
protected DocumentSearchCustomizationHandlerService |
loadCustomizationService(String applicationId)
|
protected void |
mergeAttributeFields(List<AttributeFields> attributeFieldsList,
LinkedHashMap<String,AttributeFields> orderedFieldMap)
|
List<RemotableAttributeError> |
validateLookupFieldParameters(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
Performs optional validation of document search criteria prior to execution of the search. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentSearchCustomizationMediatorImpl()
| Method Detail |
|---|
public DocumentSearchCriteriaConfiguration getDocumentSearchCriteriaConfiguration(DocumentType documentType)
DocumentSearchCustomizationMediator
getDocumentSearchCriteriaConfiguration in interface DocumentSearchCustomizationMediatordocumentType - the document type for which to find document search criteria configuration, must not be null
public List<RemotableAttributeError> validateLookupFieldParameters(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
DocumentSearchCustomizationMediator
validateLookupFieldParameters in interface DocumentSearchCustomizationMediatordocumentType - the document type against which the lookup is being performeddocumentSearchCriteria - the criteria representing the submission of the document search
public DocumentSearchCriteria customizeCriteria(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
DocumentSearchCustomizationMediator
customizeCriteria in interface DocumentSearchCustomizationMediatordocumentType - the document type against which to perform the criteria customization, should never be nulldocumentSearchCriteria - the criteria to use as the starting point for customization
public DocumentSearchCriteria customizeClearCriteria(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
DocumentSearchCustomizationMediator
customizeClearCriteria in interface DocumentSearchCustomizationMediatordocumentType - the document type against which to check for a custom implementation of criteria clearingdocumentSearchCriteria - the current criteria of the document search prior to being cleared
public DocumentSearchResultValues customizeResults(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria,
DocumentSearchResults results)
DocumentSearchCustomizationMediatorDocumentSearchResultValue 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.
customizeResults in interface DocumentSearchCustomizationMediatordocumentType - 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 customization
public DocumentSearchResultSetConfiguration customizeResultSetConfiguration(DocumentType documentType,
DocumentSearchCriteria documentSearchCriteria)
DocumentSearchCustomizationMediatorDocumentSearchResultSetConfiguration can be used by the calling code to determine how best
to render the lookup results.
customizeResultSetConfiguration in interface DocumentSearchCustomizationMediatordocumentType - the document type for which to customize result set configurationdocumentSearchCriteria - the criteria that was used to perform the lookup
protected DocumentSearchCustomizationHandlerService loadCustomizationService(String applicationId)
protected void mergeAttributeFields(List<AttributeFields> attributeFieldsList,
LinkedHashMap<String,AttributeFields> orderedFieldMap)
protected List<AttributeFields> flattenOrderedFieldMap(LinkedHashMap<String,AttributeFields> orderedFieldMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||