Package org.kuali.rice.kns.lookup
Class KualiLookupableImpl
java.lang.Object
org.kuali.rice.kns.lookup.KualiLookupableImpl
- All Implemented Interfaces:
Serializable,Lookupable
Deprecated.
Kuali lookup implementation. Implements methods necessary to render the lookup and provides search and return methods.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClassDeprecated.protected StringDeprecated.protected static final String[]Deprecated.protected LookupableHelperServiceDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor initializes services from spring -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Performs conditional logic (based on current search values or other parameters) to override field hidden, read-only, and required attributes previously set.voidDeprecated.booleancheckForAdditionalFields(Map<String, String> fieldValues) Deprecated.Determines if there should be more search fields rendered based on already entered search criteria.Deprecated.Deprecated.protected BusinessObjectDictionaryServiceDeprecated.Deprecated.Constructs the list of columns for the search results.Deprecated.Builds the Url for a maintenance new document for the lookup business object classprotected StringgetCreateNewUrl(String url) Deprecated.protected DataDictionaryServiceDeprecated.Deprecated.This method returns a list of the default columns used to sort the result set.Deprecated.Deprecated.Deprecated.Deprecated.get extra fieldDeprecated.This overridden method returns the extraOnLoad variable.Deprecated.Deprecated.Returns the LookupableHelperService designated to help this lookupDeprecated.Deprecated.Returns a comma delimited list of primary key field labels, as defined in the DDDeprecated.Deprecated.getReturnUrl(BusinessObject bo, Map fieldConversions, String lookupImpl, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Builds the return value url.getRows()Deprecated.List<? extends BusinessObject> getSearchResults(Map<String, String> fieldValues) Deprecated.Uses Lookup Service to provide a basic search.booleanDeprecated.Determines if the actual size of search results (without limiting) is known.List<? extends BusinessObject> getSearchResultsUnbounded(Map<String, String> fieldValues) Deprecated.Uses Lookup Service to provide a basic unbounded search.Deprecated.getTitle()Deprecated.booleanDeprecated.Returns whether this search was performed using the values of the primary keys onlyvoidperformClear(LookupForm lookupForm) Deprecated.calls the lookup helper service to do "clear" behaviorsbooleanperformCustomAction(boolean ignoreErrors) Deprecated.This method is called from a custom action button or scriptCollection<? extends BusinessObject> performLookup(LookupForm lookupForm, List<ResultRow> resultTable, boolean bounded) Deprecated.Performs a lookup that can only return one row.voidsetBackLocation(String backLocation) Deprecated.voidsetBusinessObjectClass(Class boClass) Deprecated.Sets the business object class for the lookup instance, then rows can be set for search render.voidsetDocFormKey(String docFormKey) Deprecated.// this method is public because unit tests depend upon itvoidsetExtraOnLoad(String extraOnLoad) Deprecated.voidsetFieldConversions(Map fieldConversions) Deprecated.Sets the requested fields conversions in the lookupablevoidsetLookupableHelperService(LookupableHelperService lookupableHelperService) Deprecated.Sets the lookupableHelperService attribute value.voidsetParameters(Map<String, String[]> parameters) Deprecated.Initializes the lookup with the given Map of parameters.voidsetReadOnlyFieldsList(List<String> readOnlyFieldsList) Deprecated.Sets the readOnlyFieldsList attribute value.booleanDeprecated.calls the lookup helper service to check if non maintenance actions should be displayedbooleanDeprecated.calls the lookup helper service to check if criteria should be displayedvoidvalidateSearchParameters(Map<String, String> fieldValues) Deprecated.Checks that any required search fields have value.
-
Field Details
-
IGNORE_LIST
Deprecated. -
businessObjectClass
Deprecated. -
lookupableHelperService
Deprecated. -
extraOnLoad
Deprecated.
-
-
Constructor Details
-
KualiLookupableImpl
public KualiLookupableImpl()Deprecated.Default constructor initializes services from spring
-
-
Method Details
-
setBusinessObjectClass
Deprecated.Sets the business object class for the lookup instance, then rows can be set for search render.- Specified by:
setBusinessObjectClassin interfaceLookupable- Parameters:
boClass- Class for the lookup business object
-
setParameters
Deprecated.Initializes the lookup with the given Map of parameters.- Specified by:
setParametersin interfaceLookupable- Parameters:
parameters-
-
getParameters
Deprecated.- Specified by:
getParametersin interfaceLookupable- Returns:
- Returns the parameters passed to this lookup
-
getColumns
Deprecated.Constructs the list of columns for the search results. All properties for the column objects come from the DataDictionary.- Specified by:
getColumnsin interfaceLookupable- Returns:
- List of Column objects used to render the result table
-
validateSearchParameters
Deprecated.Checks that any required search fields have value.- Specified by:
validateSearchParametersin interfaceLookupable- Parameters:
fieldValues- - Map of property/value pairs- See Also:
-
getSearchResultsUnbounded
Deprecated.Uses Lookup Service to provide a basic unbounded search.- Specified by:
getSearchResultsUnboundedin interfaceLookupable- Parameters:
fieldValues- - Map containing prop name keys and search values- Returns:
- List found business objects
-
getSearchResultsActualSizeKnown
public boolean getSearchResultsActualSizeKnown()Deprecated.Description copied from interface:LookupableDetermines if the actual size of search results (without limiting) is known. This should be false if search results are limited in SQL and there is post-SQL filtering of search results.- Specified by:
getSearchResultsActualSizeKnownin interfaceLookupable- Returns:
- boolean
-
getSearchResults
Deprecated.Uses Lookup Service to provide a basic search.- Specified by:
getSearchResultsin interfaceLookupable- Parameters:
fieldValues- - Map containing prop name keys and search values- Returns:
- List found business objects
-
getReturnUrl
public HtmlData getReturnUrl(BusinessObject bo, Map fieldConversions, String lookupImpl, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Description copied from interface:LookupableBuilds the return value url.- Specified by:
getReturnUrlin interfaceLookupable- Parameters:
bo- - Instance of a business object containing the return valuesfieldConversions- - Map of conversions mapping bo names to caller field names.lookupImpl- - Current lookup impl name- Returns:
- the return url for each result row.
-
getCreateNewUrl
Deprecated.Description copied from interface:LookupableBuilds the Url for a maintenance new document for the lookup business object class- Specified by:
getCreateNewUrlin interfaceLookupable- Returns:
- String rendered on Lookup screen for maintenance new document
- See Also:
-
getHtmlMenuBar
Deprecated.- Specified by:
getHtmlMenuBarin interfaceLookupable- Returns:
- the html to be displayed as a menu bar
- See Also:
-
getSupplementalMenuBar
Deprecated.- Specified by:
getSupplementalMenuBarin interfaceLookupable- Returns:
- the html to be displayed as a supplemental menu bar
- See Also:
-
getRows
Deprecated.- Specified by:
getRowsin interfaceLookupable- Returns:
- List of Row objects used to render the search area
- See Also:
-
getTitle
Deprecated.- Specified by:
getTitlein interfaceLookupable- Returns:
- String displayed as title for the lookup
- See Also:
-
getReturnLocation
Deprecated.- Specified by:
getReturnLocationin interfaceLookupable- Returns:
- String url for the location to return to after the lookup
- See Also:
-
getBusinessObjectClass
Deprecated.- Specified by:
getBusinessObjectClassin interfaceLookupable- Returns:
- Returns the dataObjectClass.
-
getReturnKeys
Deprecated.- Returns:
- a List of the names of fields which are marked in data dictionary as return fields.
-
getExtraButtonSource
Deprecated.- Specified by:
getExtraButtonSourcein interfaceLookupable- Returns:
- String providing source for optional extra button
- See Also:
-
getExtraButtonParams
Deprecated.- Specified by:
getExtraButtonParamsin interfaceLookupable- Returns:
- String providing return parameters for optional extra button
- See Also:
-
getDefaultSortColumns
Deprecated.Description copied from interface:LookupableThis method returns a list of the default columns used to sort the result set. For multiple value lookups, this method does not change when different columns are sorted.- Specified by:
getDefaultSortColumnsin interfaceLookupable- Returns:
- property names that will be used to sort on by default
-
checkForAdditionalFields
Deprecated.Description copied from interface:LookupableDetermines if there should be more search fields rendered based on already entered search criteria.- Specified by:
checkForAdditionalFieldsin interfaceLookupable- Parameters:
fieldValues- - Map of property/value pairs- Returns:
- boolean
- See Also:
-
getBackLocation
Deprecated.- Returns:
- Returns the backLocation.
-
setBackLocation
Deprecated.- Parameters:
backLocation- The backLocation to set.
-
getDocFormKey
Deprecated.- Returns:
- Returns the docFormKey.
-
setDocFormKey
Deprecated.// this method is public because unit tests depend upon it- Parameters:
docFormKey- The docFormKey to set.
-
getBusinessObjectDictionaryService
Deprecated.- Returns:
- Returns the businessObjectDictionaryService.
-
setFieldConversions
Deprecated.Description copied from interface:LookupableSets the requested fields conversions in the lookupable- Specified by:
setFieldConversionsin interfaceLookupable- Parameters:
fieldConversions-- See Also:
-
getDataDictionaryService
Deprecated.- Returns:
- Returns the dataDictionaryService.
-
setReadOnlyFieldsList
Deprecated.Sets the readOnlyFieldsList attribute value.- Specified by:
setReadOnlyFieldsListin interfaceLookupable- Parameters:
readOnlyFieldsList- The readOnlyFieldsList to set.
-
getLookupableHelperService
Deprecated.Description copied from interface:LookupableReturns the LookupableHelperService designated to help this lookup- Specified by:
getLookupableHelperServicein interfaceLookupable- Returns:
-
setLookupableHelperService
Deprecated.Sets the lookupableHelperService attribute value.- Specified by:
setLookupableHelperServicein interfaceLookupable- Parameters:
lookupableHelperService- The lookupableHelperService to set.
-
performLookup
public Collection<? extends BusinessObject> performLookup(LookupForm lookupForm, List<ResultRow> resultTable, boolean bounded) Deprecated.Performs a lookup that can only return one row.- Specified by:
performLookupin interfaceLookupable- Parameters:
lookupForm-resultTable-bounded-- Returns:
- results of lookup
- See Also:
-
isSearchUsingOnlyPrimaryKeyValues
public boolean isSearchUsingOnlyPrimaryKeyValues()Deprecated.Description copied from interface:LookupableReturns whether this search was performed using the values of the primary keys only- Specified by:
isSearchUsingOnlyPrimaryKeyValuesin interfaceLookupable- Returns:
-
getPrimaryKeyFieldLabels
Deprecated.Description copied from interface:LookupableReturns a comma delimited list of primary key field labels, as defined in the DD- Specified by:
getPrimaryKeyFieldLabelsin interfaceLookupable- Returns:
-
performClear
Deprecated.calls the lookup helper service to do "clear" behaviors- Specified by:
performClearin interfaceLookupable- See Also:
-
shouldDisplayHeaderNonMaintActions
public boolean shouldDisplayHeaderNonMaintActions()Deprecated.calls the lookup helper service to check if non maintenance actions should be displayed- Specified by:
shouldDisplayHeaderNonMaintActionsin interfaceLookupable- See Also:
-
shouldDisplayLookupCriteria
public boolean shouldDisplayLookupCriteria()Deprecated.calls the lookup helper service to check if criteria should be displayed- Specified by:
shouldDisplayLookupCriteriain interfaceLookupable- See Also:
-
getCreateNewUrl
Deprecated. -
performCustomAction
public boolean performCustomAction(boolean ignoreErrors) Deprecated.Description copied from interface:LookupableThis method is called from a custom action button or script- Specified by:
performCustomActionin interfaceLookupable
-
getExtraField
Deprecated.Description copied from interface:Lookupableget extra field- Specified by:
getExtraFieldin interfaceLookupable- Returns:
-
applyFieldAuthorizationsFromNestedLookups
Deprecated.- Specified by:
applyFieldAuthorizationsFromNestedLookupsin interfaceLookupable
-
getExtraOnLoad
Deprecated.This overridden method returns the extraOnLoad variable. The varible is currently accessed in page.tag and is called in the onLoad. it allows us to inject javascript onload.- Specified by:
getExtraOnLoadin interfaceLookupable- See Also:
-
setExtraOnLoad
Deprecated.- Specified by:
setExtraOnLoadin interfaceLookupable- Parameters:
extraOnLoad- the extraOnLoad to set
-
applyConditionalLogicForFieldDisplay
public void applyConditionalLogicForFieldDisplay()Deprecated.Description copied from interface:LookupablePerforms conditional logic (based on current search values or other parameters) to override field hidden, read-only, and required attributes previously set.- Specified by:
applyConditionalLogicForFieldDisplayin interfaceLookupable- See Also:
-