public class EncumbranceLookupableHelperServiceImpl extends AbstractGeneralLedgerLookupableHelperServiceImpl
debitDeterminerService, generalLedgerPendingEntryServiceACTION_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 |
|---|
EncumbranceLookupableHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allRequiredsForAccountSearch(Map fieldValues)
Determines if all the required values for an account based search are present - fiscal year, chart, account number, and fiscal period code
|
protected boolean |
allRequiredsForDocumentSearch(Map fieldValues)
Determines if all the required values for an document based search are present - fiscal year and document number
|
org.kuali.rice.kns.lookup.HtmlData |
getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject businessObject,
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
|
protected String |
getSelectedZeroEncumbranceOption(Map fieldValues)
Method tests to see if the user selected to include or exclude zero encumbrances
|
void |
setEncumbranceService(EncumbranceService encumbranceService)
Sets the encumbranceService attribute value.
|
void |
setPostEncumbrance(EncumbranceCalculator postEncumbrance)
Sets the postEncumbrance attribute value.
|
protected void |
updateEntryCollection(Collection entryCollection,
Map fieldValues,
boolean isApproved,
boolean isConsolidated,
boolean isCostShareInclusive)
Updates pending entries before their results are included in the lookup results
|
void |
validateSearchParameters(Map fieldValues)
Validates the fiscal year searched for in the inquiry
|
buildSearchResultList, getCustomActionUrls, getDebitCreditOption, getDebitDeterminerService, getGeneralLedgerPendingEntryService, getSelectedAmountViewOption, getSelectedPendingEntryOption, isConsolidationSelected, isCostShareInclusive, performLookup, setDebitDeterminerService, setGeneralLedgerPendingEntryService, updateByDebitCreditOption, updateByPendingLedgerEntryaddToReturnHref, 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, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperatorspublic EncumbranceLookupableHelperServiceImpl()
public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject businessObject, String propertyName)
getInquiryUrl in interface org.kuali.rice.kns.lookup.LookupableHelperServicegetInquiryUrl in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplbo - 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 void validateSearchParameters(Map fieldValues)
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperServicevalidateSearchParameters in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplfieldValues - the values of the queryAbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)protected boolean allRequiredsForAccountSearch(Map fieldValues)
fieldValues - field values to checkprotected boolean allRequiredsForDocumentSearch(Map fieldValues)
fieldValues - field values to checkpublic List getSearchResults(Map fieldValues)
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperServicegetSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplfieldValues - the field values of the query to carry outLookupable.getSearchResults(java.util.Map)protected void updateEntryCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, boolean isCostShareInclusive)
updateEntryCollection in class AbstractGeneralLedgerLookupableHelperServiceImplentryCollection - 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)protected String getSelectedZeroEncumbranceOption(Map fieldValues)
fieldValues - the lookup field valuespublic void setPostEncumbrance(EncumbranceCalculator postEncumbrance)
postEncumbrance - The postEncumbrance to set.public void setEncumbranceService(EncumbranceService encumbranceService)
encumbranceService - The encumbranceService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.