public abstract class AbstractGeneralLedgerLookupableHelperServiceImpl extends org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Modifier and Type | Field and Description |
---|---|
protected DebitDeterminerService |
debitDeterminerService |
protected GeneralLedgerPendingEntryService |
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 |
---|
AbstractGeneralLedgerLookupableHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected List |
buildSearchResultList(Collection searchResultsCollection,
Long actualSize)
build the serach result list from the given collection and the number of all qualified search results
|
List<org.kuali.rice.kns.lookup.HtmlData> |
getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject bo,
List pkNames)
This method overides that in parent class so that the maintainance actions are surpressed
|
protected String |
getDebitCreditOption(Map fieldValues)
This method tests if the user selects to see the Debit/Credit entries
|
protected DebitDeterminerService |
getDebitDeterminerService() |
protected GeneralLedgerPendingEntryService |
getGeneralLedgerPendingEntryService() |
protected String |
getSelectedAmountViewOption(Map fieldValues)
This method tests if the user selects to see the reports by monthly or accumulated
|
protected String |
getSelectedPendingEntryOption(Map fieldValues)
This method tests if the user selects to see the general ledger pending entries
|
protected boolean |
isConsolidationSelected(Map fieldValues)
This method tests if the user selects to see the details or consolidated results
|
protected boolean |
isCostShareInclusive(Map fieldValues)
This method tests if the user selects to see the results with cost share subaccount
|
Collection |
performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
Collection resultTable,
boolean bounded) |
void |
setDebitDeterminerService(DebitDeterminerService debitDeterminerService) |
void |
setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService) |
protected void |
updateByDebitCreditOption(Collection resultTable,
String debitCreditOption) |
protected void |
updateByPendingLedgerEntry(Collection entryCollection,
Map fieldValues,
String pendingEntryOption,
boolean isConsolidated,
boolean isCostShareInclusive)
This method is used to update amounts of the given entries with the corresponding pending amounts.
|
protected abstract void |
updateEntryCollection(Collection entryCollection,
Map fieldValues,
boolean isApproved,
boolean isConsolidated,
boolean isCostShareInclusive)
This method is an abstract method and implemented to update the given entry collection by the children classes.
|
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, getInquiryUrl, 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, getSearchResults, 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
protected GeneralLedgerPendingEntryService generalLedgerPendingEntryService
protected DebitDeterminerService debitDeterminerService
public AbstractGeneralLedgerLookupableHelperServiceImpl()
public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject bo, List pkNames)
getCustomActionUrls
in interface org.kuali.rice.kns.lookup.LookupableHelperService
getCustomActionUrls
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
protected String getSelectedPendingEntryOption(Map fieldValues)
fieldValues
- the map containing the search fields and valuesprotected String getDebitCreditOption(Map fieldValues)
fieldValues
- the map containing the search fields and valuesprotected String getSelectedAmountViewOption(Map fieldValues)
fieldValues
- the map containing the search fields and valuesprotected boolean isConsolidationSelected(Map fieldValues)
fieldValues
- the map containing the search fields and valuesprotected boolean isCostShareInclusive(Map fieldValues)
fieldValues
- the map containing the search fields and valuesprotected List buildSearchResultList(Collection searchResultsCollection, Long actualSize)
searchResultsCollection
- the given search results, which may be a subset of the qualified search resultsactualSize
- the number of all qualified search resultspublic Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, Collection resultTable, boolean bounded)
performLookup
in interface org.kuali.rice.kns.lookup.LookupableHelperService
performLookup
in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
protected void updateByDebitCreditOption(Collection resultTable, String debitCreditOption)
protected void updateByPendingLedgerEntry(Collection entryCollection, Map fieldValues, String pendingEntryOption, boolean isConsolidated, boolean isCostShareInclusive)
entryCollection
- a collection of balance entriesfieldValues
- the map containing the search fields and valuespendingEntryOption
- flag whether the approved entries or all entries will be processedisCostShareInclusive
- flag whether the user selects to see the results with cost share subaccountisConsolidated
- flag whether the results are consolidated or notprotected abstract void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareInclusive)
entryCollection
- a collection of balance entriesfieldValues
- the map containing the search fields and valuesisApproved
- flag whether the approved entries or all entries will be processedisCostShareInclusive
- flag whether the user selects to see the results with cost share subaccountisConsolidated
- flag whether the results are consolidated or notprotected GeneralLedgerPendingEntryService getGeneralLedgerPendingEntryService()
public void setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService)
protected DebitDeterminerService getDebitDeterminerService()
public void setDebitDeterminerService(DebitDeterminerService debitDeterminerService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.