org.kuali.rice.kew.framework.document.lookup
Interface DocumentLookupCustomizer


public interface DocumentLookupCustomizer

Provides for various ways for an application to customize the behavior of the Document Lookup functionality for their document types. Client applications should provide implementations of this interface if they need to enact some of these customizations on document lookups. These customizers then get mapped to the appropriate document types via the KEW extension framework (see ExtensionRepositoryService).

The customization functionality includes the ability to process document lookup criteria before it gets submitted to the search engine, effectively allowing for a level of customimzation to the search.

This also, includes the ability to defining how results from document lookup should be displayed and processed. Implementations of this class can be created by application owners and tied to Document Types as attributes in order to customize the behavior of document lookup for documents of that type.

Since some of the operations on this component could potentially add expense to the overall search process in the cases where customization is only done on certain document types or only certain customization features are being utilized, this interface provides for a set of boolean operations which indicate which customization features should be activated by the document lookup framework for a given document type.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 DocumentLookupCriteria customizeClearCriteria(DocumentLookupCriteria documentLookupCriteria)
           
 DocumentLookupCriteria customizeCriteria(DocumentLookupCriteria documentLookupCriteria)
           
 List<DocumentLookupResult> customizeResults(DocumentLookupCriteria documentLookupCriteria, List<DocumentLookupResult> defaultResults)
           
 List<RemotableAttributeField> customizeResultSetFields(DocumentLookupCriteria documentLookupCriteria, List<RemotableAttributeField> defaultResultSetFields)
           
 boolean isCustomizeClearCriteriaEnabled(String documentTypeName)
           
 boolean isCustomizeCriteriaEnabled(String documentTypeName)
           
 boolean isCustomizeResultsEnabled(String documentTypeName)
           
 boolean isCustomizeResultSetFieldsEnabled(String documentTypeName)
           
 

Method Detail

customizeCriteria

DocumentLookupCriteria customizeCriteria(DocumentLookupCriteria documentLookupCriteria)

customizeClearCriteria

DocumentLookupCriteria customizeClearCriteria(DocumentLookupCriteria documentLookupCriteria)

customizeResultSetFields

List<RemotableAttributeField> customizeResultSetFields(DocumentLookupCriteria documentLookupCriteria,
                                                       List<RemotableAttributeField> defaultResultSetFields)

customizeResults

List<DocumentLookupResult> customizeResults(DocumentLookupCriteria documentLookupCriteria,
                                            List<DocumentLookupResult> defaultResults)

isCustomizeCriteriaEnabled

boolean isCustomizeCriteriaEnabled(String documentTypeName)

isCustomizeClearCriteriaEnabled

boolean isCustomizeClearCriteriaEnabled(String documentTypeName)

isCustomizeResultsEnabled

boolean isCustomizeResultsEnabled(String documentTypeName)

isCustomizeResultSetFieldsEnabled

boolean isCustomizeResultSetFieldsEnabled(String documentTypeName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.