public class BalanceLookupableHelperServiceImpl extends AbstractGeneralLedgerLookupableHelperServiceImpl
debitDeterminerService, generalLedgerPendingEntryService
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 and Description |
---|
BalanceLookupableHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
accumulate(Collection balanceCollection,
boolean isAccumulated)
This method updates the balance collection with accumulated amounts if required (isAccumulated is true)
|
org.kuali.rice.kns.lookup.HtmlData |
getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject bo,
String propertyName)
Returns the url for any drill down links within the lookup
|
List<org.kuali.rice.kns.web.ui.Row> |
getRows() |
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
|
buildSearchResultList, getCustomActionUrls, getDebitCreditOption, getDebitDeterminerService, getGeneralLedgerPendingEntryService, getSelectedAmountViewOption, getSelectedPendingEntryOption, isConsolidationSelected, isCostShareInclusive, performLookup, setDebitDeterminerService, setGeneralLedgerPendingEntryService, updateByDebitCreditOption, updateByPendingLedgerEntry
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, 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
public BalanceLookupableHelperServiceImpl()
public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject bo, String propertyName)
getInquiryUrl
in interface org.kuali.rice.kns.lookup.LookupableHelperService
getInquiryUrl
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
bo
- the business object with a property being drilled down onpropertyName
- the name of the property being drilled down onorg.kuali.rice.kns.lookup.Lookupable#getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject, java.lang.String)
public List getSearchResults(Map fieldValues)
getSearchResults
in interface org.kuali.rice.kns.lookup.LookupableHelperService
getSearchResults
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
fieldValues
- the field values of the query to carry outKRAD Conversion: Lookupable modifies the search results based on the fields consolidated.
But all field definitions are in data dictionary.
protected void accumulate(Collection balanceCollection, boolean isAccumulated)
balanceCollection
- the balance collection to be updatedisAccumulated
- determine if the accumulated result is desiredpublic void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareInclusive)
updateEntryCollection
in class AbstractGeneralLedgerLookupableHelperServiceImpl
entryCollection
- a collection of balance entriesfieldValues
- the map containing the search fields and valuesisApproved
- flag whether the approved entries or all entries will be processedisConsolidated
- flag whether the results are consolidated or notisCostShareExcluded
- flag whether the user selects to see the results with cost share subaccountorg.kuali.module.gl.web.lookupable.AbstractGLLookupableImpl#updateEntryCollection(java.util.Collection, java.util.Map,
boolean, boolean, boolean)
public void setPostBalance(BalanceCalculator postBalance)
postBalance
- The postBalance to set.public void setBalanceService(BalanceService balanceService)
balanceService
- The balanceService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.