org.kuali.kfs.sys.businessobject.lookup
Class ElectronicPaymentClaimLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.kfs.sys.businessobject.lookup.ElectronicPaymentClaimLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService

@Transactional
public class ElectronicPaymentClaimLookupableHelperServiceImpl
extends org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

A helper class that gives us the ability to do special lookups on electronic payment claims.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
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 Summary
ElectronicPaymentClaimLookupableHelperServiceImpl()
           
 
Method Summary
protected  String getAdvanceDepositsWithOrganizationReferenceId(String organizationReferenceId)
          Finds the document ids for all AD documents which have an accounting line with the given organizationReferenceId
protected  List<org.kuali.kfs.sys.businessobject.lookup.ElectronicPaymentClaimLookupableHelperServiceImpl.GeneratingLineHolder> getGeneratingLinesForDocuments(String matchingAdvanceDepositDocumentNumbers, String organizationReferenceId)
          Looks up all of the generating lines and stores essential information about them on documents given by the matchingAdvanceDepositDocumentNumbers parameter and matching the given organization reference id
 List<org.kuali.rice.kns.bo.PersistableBusinessObject> getSearchResults(Map<String,String> fieldValues)
           
 boolean isResultReturnable(org.kuali.rice.kns.bo.BusinessObject claimAsBO)
           
 Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, Collection resultTable, boolean bounded)
          Using default results, add columnAnchor link for reference financial document number to open document
protected  List<org.kuali.rice.kns.bo.PersistableBusinessObject> pruneResults(List<org.kuali.rice.kns.bo.PersistableBusinessObject> paymentsToPrune, String organizationReferenceId)
          If organization reference id was present in lookup fields, only returns electronic payment claims which associate with the given organization reference id
 void setLookupDao(org.kuali.rice.kns.dao.LookupDao lookupDao)
          Sets the lookupDao attribute value.
 void validateSearchParameters(Map fieldValues)
           
 
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
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, getSearchResultsUnbounded, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isSearchUsingOnlyPrimaryKeyValues, maskValueIfNecessary, performClear, performCustomAction, preprocessDateFields, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectronicPaymentClaimLookupableHelperServiceImpl

public ElectronicPaymentClaimLookupableHelperServiceImpl()
Method Detail

getSearchResults

public List<org.kuali.rice.kns.bo.PersistableBusinessObject> getSearchResults(Map<String,String> fieldValues)
Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Specified by:
getSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.getSearchResults(java.util.Map)

pruneResults

protected List<org.kuali.rice.kns.bo.PersistableBusinessObject> pruneResults(List<org.kuali.rice.kns.bo.PersistableBusinessObject> paymentsToPrune,
                                                                             String organizationReferenceId)
If organization reference id was present in lookup fields, only returns electronic payment claims which associate with the given organization reference id

Parameters:
paymentsToPrune - the Collection of electronic payment claims, still unfiltered by organization reference id
organizationReferenceId - the organization reference id to use as a filter
Returns:
the filtered results

getAdvanceDepositsWithOrganizationReferenceId

protected String getAdvanceDepositsWithOrganizationReferenceId(String organizationReferenceId)
Finds the document ids for all AD documents which have an accounting line with the given organizationReferenceId

Parameters:
organizationReferenceId - the organization reference id to find advance deposit documents for
Returns:
a lookup String that holds the document numbers of the matching advance deposit documents

getGeneratingLinesForDocuments

protected List<org.kuali.kfs.sys.businessobject.lookup.ElectronicPaymentClaimLookupableHelperServiceImpl.GeneratingLineHolder> getGeneratingLinesForDocuments(String matchingAdvanceDepositDocumentNumbers,
                                                                                                                                                              String organizationReferenceId)
Looks up all of the generating lines and stores essential information about them on documents given by the matchingAdvanceDepositDocumentNumbers parameter and matching the given organization reference id

Parameters:
matchingAdvanceDepositDocumentNumbers - the document numbers of matching advance deposit documents in lookup form
organizationReferenceId - the organization reference id the accounting line must match
Returns:
a List of essential information about each of the matching accounting lines

validateSearchParameters

public void validateSearchParameters(Map fieldValues)
Specified by:
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
validateSearchParameters in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)

isResultReturnable

public boolean isResultReturnable(org.kuali.rice.kns.bo.BusinessObject claimAsBO)
Specified by:
isResultReturnable in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
isResultReturnable in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.isResultReturnable(org.kuali.rice.kns.bo.BusinessObject)

performLookup

public Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
                                Collection resultTable,
                                boolean bounded)
Using default results, add columnAnchor link for reference financial document number to open document

Specified by:
performLookup in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
performLookup in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Parameters:
lookupForm -
kualiLookupable -
resultTable -
bounded -
Returns:

setLookupDao

public void setLookupDao(org.kuali.rice.kns.dao.LookupDao lookupDao)
Sets the lookupDao attribute value.

Parameters:
lookupDao - The lookupDao to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.