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

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

public class BalanceLookupableHelperServiceImpl
extends AbstractGeneralLedgerLookupableHelperServiceImpl

An extension of KualiLookupableImpl to support 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
BalanceLookupableHelperServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo, String propertyName)
          Returns the url for any drill down links within the lookup
 List getSearchResults(Map fieldValues)
          Generates the list of search results for this inquiry
 void setBalanceService(BalanceService balanceService)
          Sets the balanceService attribute value.
 void setPostBalance(BalanceCalculator postBalance)
          Sets the postBalance attribute value.
 void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareInclusive)
          Updates pending entries before their results are included in the lookup 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, 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

BalanceLookupableHelperServiceImpl

public BalanceLookupableHelperServiceImpl()
Method Detail

getInquiryUrl

public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo,
                                                        String propertyName)
Returns the url for any drill down links within 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 with a property being drilled down on
propertyName - the name of the property being drilled down on
Returns:
a String with the URL of the property
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 the list of search 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 of the query to carry out
Returns:
List the search results returned by the lookup
See Also:
Lookupable.getSearchResults(java.util.Map)

updateEntryCollection

public void updateEntryCollection(Collection entryCollection,
                                  Map fieldValues,
                                  boolean isApproved,
                                  boolean isConsolidated,
                                  boolean isCostShareInclusive)
Updates pending entries before their results are included in the lookup 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.


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