org.kuali.kfs.module.ld.businessobject.lookup
Class LedgerBalanceLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.kfs.module.ld.businessobject.lookup.LedgerBalanceLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService
Direct Known Subclasses:
LedgerBalanceForExpenseTransferLookupableHelperServiceImpl

public class LedgerBalanceLookupableHelperServiceImpl
extends org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

Service implementation of LedgerBalanceLookupableHelperService. The class is the front-end for all Ledger balance inquiry processing.

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
LedgerBalanceLookupableHelperServiceImpl()
           
 
Method Summary
protected  Collection buildBalanceCollection(Iterator iterator, boolean isConsolidated, String pendingEntryOption)
          This method builds the balance collection based on the input iterator
protected  Collection buildConsolidatedBalanceCollection(Iterator iterator, String pendingEntryOption)
          This method builds the balance collection with consolidation option from an iterator
protected  Collection buildDetailedBalanceCollection(Iterator iterator, String pendingEntryOption)
          This method builds the balance collection with detail option from an iterator
protected  List buildSearchResultList(Collection searchResultsCollection, Long actualSize)
          build the serach result list from the given collection and the number of all qualified search results
 LaborLedgerBalanceService getBalanceService()
          Gets the balanceService attribute.
 org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo, String propertyName)
           
 List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
           
 void setBalanceService(LaborLedgerBalanceService balanceService)
          Sets the balanceService attribute value.
 void setLaborInquiryOptionsService(LaborInquiryOptionsService laborInquiryOptionsService)
          Sets the laborInquiryOptionsService attribute value.
 
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, 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

LedgerBalanceLookupableHelperServiceImpl

public LedgerBalanceLookupableHelperServiceImpl()
Method Detail

getInquiryUrl

public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo,
                                                        String propertyName)
Specified by:
getInquiryUrl in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getInquiryUrl in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
org.kuali.rice.kns.lookup.Lookupable#getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String)

getSearchResults

public List<? extends org.kuali.rice.kns.bo.BusinessObject> 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:
Lookupable.getSearchResults(java.util.Map)

buildBalanceCollection

protected Collection buildBalanceCollection(Iterator iterator,
                                            boolean isConsolidated,
                                            String pendingEntryOption)
This method builds the balance collection based on the input iterator

Parameters:
iterator - the iterator of search results of balance
isConsolidated - determine if the consolidated result is desired
pendingEntryOption - the given pending entry option that can be no, approved or all
Returns:
the balance collection

buildConsolidatedBalanceCollection

protected Collection buildConsolidatedBalanceCollection(Iterator iterator,
                                                        String pendingEntryOption)
This method builds the balance collection with consolidation option from an iterator

Parameters:
iterator -
pendingEntryOption - the selected pending entry option
Returns:
the consolidated balance collection

buildDetailedBalanceCollection

protected Collection buildDetailedBalanceCollection(Iterator iterator,
                                                    String pendingEntryOption)
This method builds the balance collection with detail option from an iterator

Parameters:
iterator - the balance iterator
pendingEntryOption - the selected pending entry option
Returns:
the detailed balance collection

buildSearchResultList

protected List buildSearchResultList(Collection searchResultsCollection,
                                     Long actualSize)
build the serach result list from the given collection and the number of all qualified search results

Parameters:
searchResultsCollection - the given search results, which may be a subset of the qualified search results
actualSize - the number of all qualified search results
Returns:
the serach result list with the given results and actual size

setLaborInquiryOptionsService

public void setLaborInquiryOptionsService(LaborInquiryOptionsService laborInquiryOptionsService)
Sets the laborInquiryOptionsService attribute value.

Parameters:
laborInquiryOptionsService - The laborInquiryOptionsService to set.

setBalanceService

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

Parameters:
balanceService - The balanceService to set.

getBalanceService

public LaborLedgerBalanceService getBalanceService()
Gets the balanceService attribute.

Returns:
Returns the balanceService.


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