public class ThresholdLookupableHelperService extends org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
KualiLookupableHelperServiceImpl, but differs in that this class will
not remove search criteria containing values corresponding to hidden fields.ACTION_URLS_CHILDREN_END, ACTION_URLS_CHILDREN_SEPARATOR, ACTION_URLS_CHILDREN_STARTER, ACTION_URLS_EMPTY, ACTION_URLS_SEPARATOR, backLocation, businessObjectAuthorizationService, businessObjectClass, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, configurationService, dataDictionaryService, docFormKey, docNum, encryptionService, fieldConversions, forceLookupResultFieldInquiryCache, inquirableClassCache, kualiInquirable, LOG, lookupResultsService, lookupService, maintenanceDocumentDictionaryService, noLookupResultFieldInquiryCache, parameters, parameterService, persistenceStructureService, readOnlyFieldsList, referencesToRefresh, resultColumns, RESULTS_DEFAULT_MAX_COLUMN_LENGTH, rows, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY| Constructor and Description |
|---|
ThresholdLookupableHelperService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractVendorNumberToVendorIds(Map fieldValues,
String vendorNumber)
Parses the vendorNumber string into vendorHeaderGeneratedIdentifier and vendorDetailAssignedIdentifier, validates that both
fields would be able to be converted into integers, if so it will add both fields into the search criterias map in the
fieldValues and remove the vendorNumber from the fieldValues.
|
List<? extends org.kuali.rice.krad.bo.BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic search.
|
protected List<? extends org.kuali.rice.krad.bo.BusinessObject> |
getSearchResultsHelper(Map<String,String> fieldValues,
boolean unbounded)
This method does the actual search, with the parameters specified, and returns the result.
|
List<? extends org.kuali.rice.krad.bo.BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic unbounded search.
|
void |
validateSearchParameters(Map fieldValues) |
protected void |
validateVendorNumber(Map fieldValues)
Validates that the Vendor Number has no more than one dash in it, and does not consist solely of one dash.
|
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, allowsNewOrCopyAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, checkForAdditionalFields, getActionUrlHref, getActionUrls, getActionUrlTitleText, getBackLocation, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getColumnMaxLength, getColumns, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getCustomActionUrls, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPrimaryKeyFieldLabels, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getRows, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, isSearchUsingOnlyPrimaryKeyValues, maskValueIfNecessary, performClear, performCustomAction, performLookup, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperatorspublic ThresholdLookupableHelperService()
public void validateSearchParameters(Map fieldValues)
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperServicevalidateSearchParameters in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplprotected void validateVendorNumber(Map fieldValues)
fieldValues - a Map containing only those key-value pairs that have been filled in on the lookupprotected void extractVendorNumberToVendorIds(Map fieldValues, String vendorNumber)
fieldValues - a Map containing only those key-value pairs that have been filled in on the lookupvendorNumber - venodr number Stringpublic List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperServicegetSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search valuesLookupableHelperService.getSearchResults(java.util.Map)public List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface org.kuali.rice.kns.lookup.LookupableHelperServicegetSearchResultsUnbounded in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search valuesLookupableHelperService.getSearchResultsUnbounded(java.util.Map)protected List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
fieldValues - A Map of the fieldNames and fieldValues to be searched on.unbounded - Whether the results should be bounded or not to a certain max size.Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.