org.kuali.kfs.gl.businessobject.lookup
Class CashBalanceLookupableHelperServiceImpl

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

public class CashBalanceLookupableHelperServiceImpl
extends AbstractGeneralLedgerLookupableHelperServiceImpl

An extension of KualiLookupableImpl to support cash lookups

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
CashBalanceLookupableHelperServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo, String propertyName)
          Returns the URL for inquiries on fields returned in the lookup
 List<org.kuali.rice.kns.web.ui.Row> getRows()
           
 List getSearchResults(Map fieldValues)
          Generates a list of results for this inquiry
 void setBalanceService(BalanceService balanceService)
          Sets the balanceService attribute value.
 void setPostBalance(BalanceCalculator postBalance)
          Sets the postBalance attribute value.
protected  void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareInclusive)
          Allows an updating of pending entry records before they are applied to the inquiry results
 
Methods inherited from class org.kuali.kfs.gl.businessobject.lookup.AbstractGeneralLedgerLookupableHelperServiceImpl
buildSearchResultList, getCustomActionUrls, getGeneralLedgerPendingEntryService, getSelectedAmountViewOption, getSelectedPendingEntryOption, isConsolidationSelected, isCostShareInclusive, setGeneralLedgerPendingEntryService, updateByPendingLedgerEntry
 
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, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPrimaryKeyFieldLabels, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSearchResultsUnbounded, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, isSearchUsingOnlyPrimaryKeyValues, maskValueIfNecessary, performClear, performCustomAction, performLookup, 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, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CashBalanceLookupableHelperServiceImpl

public CashBalanceLookupableHelperServiceImpl()
Method Detail

getInquiryUrl

public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo,
                                                        String propertyName)
Returns the URL for inquiries on fields returned in the lookup

Specified by:
getInquiryUrl in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getInquiryUrl in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Parameters:
bo - the business object the field to inquiry on is in
propertyName - the name of the property that an inquiry url is being asked of
Returns:
the String of the url
See Also:
org.kuali.rice.kns.lookup.Lookupable#getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String)

getSearchResults

public List getSearchResults(Map fieldValues)
Generates a list of results for this inquiry

Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Specified by:
getSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Parameters:
fieldValues - the field values that the user entered for this inquiry
Returns:
a List of results
See Also:
Lookupable.getSearchResults(java.util.Map)

updateEntryCollection

protected void updateEntryCollection(Collection entryCollection,
                                     Map fieldValues,
                                     boolean isApproved,
                                     boolean isConsolidated,
                                     boolean isCostShareInclusive)
Allows an updating of pending entry records before they are applied to the inquiry results

Specified by:
updateEntryCollection in class AbstractGeneralLedgerLookupableHelperServiceImpl
Parameters:
entryCollection - a collection of balance entries
fieldValues - the map containing the search fields and values
isApproved - flag whether the approved entries or all entries will be processed
isConsolidated - flag whether the results are consolidated or not
isCostShareExcluded - flag whether the user selects to see the results with cost share subaccount
See Also:
org.kuali.module.gl.web.lookupable.AbstractGLLookupableImpl#updateEntryCollection(java.util.Collection, java.util.Map, boolean, boolean, boolean)

setPostBalance

public void setPostBalance(BalanceCalculator postBalance)
Sets the postBalance attribute value.

Parameters:
postBalance - The postBalance to set.

setBalanceService

public void setBalanceService(BalanceService balanceService)
Sets the balanceService attribute value.

Parameters:
balanceService - The balanceService to set.

getRows

public List<org.kuali.rice.kns.web.ui.Row> getRows()
Specified by:
getRows in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getRows in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl


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