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

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.AccountBalanceLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService

public class AccountBalanceLookupableHelperServiceImpl
extends AbstractGeneralLedgerLookupableHelperServiceImpl

A class to support Account Balance 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
AccountBalanceLookupableHelperServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo, String propertyName)
          Returns the url for the account balance inquiry
 OptionsService getOptionsService()
          Gets the optionsService attribute.
 List getSearchResults(Map fieldValues)
          Given a map of fieldValues, actually searches for the appropriate account balance records to return
 void setAccountBalanceService(AccountBalanceService accountBalanceService)
          Sets the accountBalanceService attribute value.
 void setOptionsService(OptionsService optionsService)
          Sets the optionsService attribute value
 void setPostAccountBalance(AccountBalanceCalculator postAccountBalance)
          Sets the postAccountBalance attribute value.
protected  void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareExcluded)
          Updates the collection of entries that will be applied to the results of the inquiry
 
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, getRows, 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

AccountBalanceLookupableHelperServiceImpl

public AccountBalanceLookupableHelperServiceImpl()
Method Detail

getInquiryUrl

public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo,
                                                        String propertyName)
Returns the url for the account balance inquiry

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 with a property that an inquiry drill down url is being asked for
propertyName - the property of that bo that the inquiry drill down url is being asked for
Returns:
the URL for the inquiry
See Also:
org.kuali.rice.kns.lookup.Lookupable#getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String)

getSearchResults

public List getSearchResults(Map fieldValues)
Given a map of fieldValues, actually searches for the appropriate account balance records to return

Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Specified by:
getSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Parameters:
fieldValues - a map of keys for the search
Returns:
a List of AccountBalance records that match the search criteria
See Also:
Lookupable.getSearchResults(java.util.Map)

updateEntryCollection

protected void updateEntryCollection(Collection entryCollection,
                                     Map fieldValues,
                                     boolean isApproved,
                                     boolean isConsolidated,
                                     boolean isCostShareExcluded)
Updates the collection of entries that will be applied to the results of the inquiry

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)

setPostAccountBalance

public void setPostAccountBalance(AccountBalanceCalculator postAccountBalance)
Sets the postAccountBalance attribute value.

Parameters:
postAccountBalance - The postAccountBalance to set.

setAccountBalanceService

public void setAccountBalanceService(AccountBalanceService accountBalanceService)
Sets the accountBalanceService attribute value.

Parameters:
accountBalanceService - The accountBalanceService to set.

setOptionsService

public void setOptionsService(OptionsService optionsService)
Sets the optionsService attribute value

Parameters:
optionsService - The optionsService to set.

getOptionsService

public OptionsService getOptionsService()
Gets the optionsService attribute.

Returns:
Returns the optionsService.


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