| java.lang.Object org.kuali.core.lookup.AbstractLookupableHelperServiceImpl org.kuali.module.pdp.lookup.PayeeAchAccountLookupableHelperService
Method Summary | |
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. | public List<? extends BusinessObject> | getSearchResults(Map<String, String> fieldValues) Uses Lookup Service to provide a basic search. | protected List<? extends BusinessObject> | getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded) This method does the actual search, with the parameters specified, and returns the result.
NOTE that it will not do any upper-casing based on the DD forceUppercase. | public List<? extends BusinessObject> | getSearchResultsUnbounded(Map<String, String> fieldValues) Uses Lookup Service to provide a basic unbounded search. | public 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. |
extractVendorNumberToVendorIds | protected void extractVendorNumberToVendorIds(Map fieldValues, String vendorNumber)(Code) | | 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. If the two fields cannot be converted into integers, this
method will add error message to the errorMap in GlobalVariables that the vendor number must be numeric or numerics separated
by a dash.
Parameters: fieldValues - a Map containing only those key-value pairs that have been filled in on the lookup Parameters: vendorNumber - venodr number String |
getSearchResultsHelper | protected List<? extends BusinessObject> getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded)(Code) | | This method does the actual search, with the parameters specified, and returns the result.
NOTE that it will not do any upper-casing based on the DD forceUppercase. That is handled through an external call to
LookupUtils.forceUppercase().
Parameters: fieldValues - A Map of the fieldNames and fieldValues to be searched on. Parameters: unbounded - Whether the results should be bounded or not to a certain max size. A List of search results. |
validateSearchParameters | public void validateSearchParameters(Map fieldValues)(Code) | | |
validateVendorNumber | protected void validateVendorNumber(Map fieldValues)(Code) | | Validates that the Vendor Number has no more than one dash in it, and does not consist solely of one dash. Then it calls
extractVendorNumberToVendorIds to obtain vendorHeaderGeneratedId and vendorDetailAssignedId and if either one of the ids
cannot be converted to integers, it will add error that the vendor number must be numerics or numerics separated by a dash.
Parameters: fieldValues - a Map containing only those key-value pairs that have been filled in on the lookup |
Methods inherited from org.kuali.core.lookup.AbstractLookupableHelperServiceImpl | public boolean allowsMaintenanceNewOrCopyAction()(Code)(Java Doc) public boolean checkForAdditionalFields(Map fieldValues)(Code)(Java Doc) public String getActionUrls(BusinessObject businessObject)(Code)(Java Doc) public String getBackLocation()(Code)(Java Doc) public Class getBusinessObjectClass()(Code)(Java Doc) public BusinessObjectDictionaryService getBusinessObjectDictionaryService()(Code)(Java Doc) public BusinessObjectMetaDataService getBusinessObjectMetaDataService()(Code)(Java Doc) public BusinessObjectService getBusinessObjectService()(Code)(Java Doc) protected int getColumnMaxLength(String attributeName)(Code)(Java Doc) public List<Column> getColumns()(Code)(Java Doc) public DataDictionaryService getDataDictionaryService()(Code)(Java Doc) public List getDefaultSortColumns()(Code)(Java Doc) public String getDocFormKey()(Code)(Java Doc) protected EncryptionService getEncryptionService()(Code)(Java Doc) public String getInquiryUrl(BusinessObject bo, String propertyName)(Code)(Java Doc) protected LookupResultsService getLookupResultsService()(Code)(Java Doc) protected LookupService getLookupService()(Code)(Java Doc) protected String getMaintenanceDocumentTypeName()(Code)(Java Doc) public String getMaintenanceUrl(BusinessObject businessObject, String methodToCall)(Code)(Java Doc) protected Properties getParameters(BusinessObject bo, Map fieldConversions, String lookupImpl)(Code)(Java Doc) protected PersistenceStructureService getPersistenceStructureService()(Code)(Java Doc) public String getPrimaryKeyFieldLabels()(Code)(Java Doc) public List<String> getReadOnlyFieldsList()(Code)(Java Doc) public String getReferencesToRefresh()(Code)(Java Doc) public List getReturnKeys()(Code)(Java Doc) public String getReturnLocation()(Code)(Java Doc) public String getReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl)(Code)(Java Doc) public List<Row> getRows()(Code)(Java Doc) abstract public List<? extends BusinessObject> getSearchResults(Map<String, String> fieldValues)(Code)(Java Doc) public List<? extends BusinessObject> getSearchResultsUnbounded(Map<String, String> fieldValues)(Code)(Java Doc) protected SequenceAccessorService getSequenceAccessorService()(Code)(Java Doc) protected UniversalUserService getUniversalUserService()(Code)(Java Doc) public boolean isSearchUsingOnlyPrimaryKeyValues()(Code)(Java Doc) public Collection performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded)(Code)(Java Doc) public void setBackLocation(String backLocation)(Code)(Java Doc) public void setBusinessObjectClass(Class businessObjectClass)(Code)(Java Doc) public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService)(Code)(Java Doc) public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService)(Code)(Java Doc) public void setBusinessObjectService(BusinessObjectService businessObjectService)(Code)(Java Doc) public void setDataDictionaryService(DataDictionaryService dataDictionaryService)(Code)(Java Doc) public void setDocFormKey(String docFormKey)(Code)(Java Doc) public void setEncryptionService(EncryptionService encryptionService)(Code)(Java Doc) public void setFieldConversions(Map fieldConversions)(Code)(Java Doc) public void setLookupResultsService(LookupResultsService lookupResultsService)(Code)(Java Doc) public void setLookupService(LookupService lookupService)(Code)(Java Doc) public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)(Code)(Java Doc) public void setReadOnlyFieldsList(List<String> readOnlyFieldsList)(Code)(Java Doc) protected void setReferencesToRefresh(String referencesToRefresh)(Code)(Java Doc) protected void setRows()(Code)(Java Doc) public void setSequenceAccessorService(SequenceAccessorService sequenceAccessorService)(Code)(Java Doc) public void setUniversalUserService(UniversalUserService universalUserService)(Code)(Java Doc) public void validateSearchParameters(Map fieldValues)(Code)(Java Doc)
|
|
|