public class DisbursementPayeeLookupableHelperServiceImpl extends AbstractPayeeLookupableHelperServiceImpl
Modifier and Type | Field and Description |
---|---|
protected DisbursementVoucherPaymentReasonService |
disbursementVoucherPaymentReasonService |
disbursementVoucherPayeeService, vendorLookupable
searchUsingOnlyPrimaryKeyValues
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, 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 |
---|
DisbursementPayeeLookupableHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSplit(String payeeName)
Decides if the specified payeeName can be split into lastName and firstName, i.e.
|
boolean |
checkMinimumFieldsFilled(Map fieldValues)
Deprecated.
|
protected boolean |
containsLookupWildcard(String s)
Determines if the given String contains a lookup wildcard
|
protected boolean |
filledEnough(String s)
Determines if a String is "filled enough" - ie, is not null, has a length greater than zero and if a wildcard is present, has a length greater than 4 (3 characters, plus a wildcard)
|
protected void |
filterReturnUrl(List<org.kuali.rice.kns.web.ui.ResultRow> resultRowList,
List<DisbursementPayee> payeeList,
String paymentReasonCode)
Removes its return URLs if a row is not qualified for returning.
|
protected int |
getNameLengthWithWildcardRequirement() |
protected Map<String,String> |
getPersonFieldValues(Map<String,String> fieldValues)
Gets the search criteria valid for vendor lookup, from the specified field value map.
|
List<? extends org.kuali.rice.krad.bo.BusinessObject> |
getSearchResults(Map<String,String> fieldValues) |
protected Map<String,String> |
getVendorFieldValues(Map<String,String> fieldValues)
Gets the search criteria valid for vendor lookup, from the specified field value map.
|
protected String |
getVendorName(String payeeName)
Gets the proper vendor name based on the given payee name.
|
Collection |
performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
Collection resultTable,
boolean bounded) |
void |
setDisbursementVoucherPaymentReasonService(DisbursementVoucherPaymentReasonService disbursementVoucherPaymentReasonService)
Sets the disbursementVoucherPaymentReasonService attribute value.
|
protected List<? extends org.kuali.rice.krad.bo.BusinessObject> |
sortSearchResults(List<DisbursementPayee> searchResults)
Sorts search results.
|
protected String |
splitFirstName(String payeeName)
Splits the first name from the specified payeeName, which is in the format of "lastName,firstName".
|
protected String |
splitLastName(String payeeName)
Splits the last name from the specified payeeName, which is in the format of "lastName,firstName".
|
void |
validateEmployeeNameUse(Map fieldValues)
Deprecated.
|
void |
validateSearchParameters(Map fieldValues) |
void |
validateTaxNumberCriteria(Map fieldValues)
Deprecated.
|
void |
validateVendorNameUse(Map fieldValues)
Deprecated.
|
getAttributeLabel, getPayeeFromPerson, getPayeeFromVendor, getPersonAsPayees, getVendorName, getVendorsAsPayees, replaceFieldKeys, setDisbursementVoucherPayeeService, setVendorLookupable
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResultsHelper, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues
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, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getRows, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperators
protected DisbursementVoucherPaymentReasonService disbursementVoucherPaymentReasonService
public DisbursementPayeeLookupableHelperServiceImpl()
@Deprecated public boolean checkMinimumFieldsFilled(Map fieldValues)
@Deprecated public void validateVendorNameUse(Map fieldValues)
@Deprecated public void validateTaxNumberCriteria(Map fieldValues)
@Deprecated public void validateEmployeeNameUse(Map fieldValues)
public void validateSearchParameters(Map fieldValues)
validateSearchParameters
in interface org.kuali.rice.kns.lookup.LookupableHelperService
validateSearchParameters
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)
public Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, Collection resultTable, boolean bounded)
performLookup
in interface org.kuali.rice.kns.lookup.LookupableHelperService
performLookup
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
AbstractLookupableHelperServiceImpl.performLookup(org.kuali.rice.kns.web.struts.form.LookupForm,
java.util.Collection, boolean)
public List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults
in interface org.kuali.rice.kns.lookup.LookupableHelperService
getSearchResults
in class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
KualiLookupableHelperServiceImpl.getSearchResults(java.util.Map)
protected List<? extends org.kuali.rice.krad.bo.BusinessObject> sortSearchResults(List<DisbursementPayee> searchResults)
protected boolean canSplit(String payeeName)
protected String splitLastName(String payeeName)
protected String splitFirstName(String payeeName)
protected boolean filledEnough(String s)
s
- the String to testprotected int getNameLengthWithWildcardRequirement()
protected boolean containsLookupWildcard(String s)
s
- the String to testprotected Map<String,String> getVendorFieldValues(Map<String,String> fieldValues)
getVendorFieldValues
in class AbstractPayeeLookupableHelperServiceImpl
protected String getVendorName(String payeeName)
protected Map<String,String> getPersonFieldValues(Map<String,String> fieldValues)
getPersonFieldValues
in class AbstractPayeeLookupableHelperServiceImpl
protected void filterReturnUrl(List<org.kuali.rice.kns.web.ui.ResultRow> resultRowList, List<DisbursementPayee> payeeList, String paymentReasonCode)
resultRowList
- payeeList
- paymentReasonCode
- public void setDisbursementVoucherPaymentReasonService(DisbursementVoucherPaymentReasonService disbursementVoucherPaymentReasonService)
disbursementVoucherPaymentReasonService
- The disbursementVoucherPaymentReasonService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.