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

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.kfs.gl.businessobject.lookup.PendingEntryLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService

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

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, persistenceStructureService, readOnlyFieldsList, referencesToRefresh, resultColumns, RESULTS_DEFAULT_MAX_COLUMN_LENGTH, rows, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY
 
Constructor Summary
PendingEntryLookupableHelperServiceImpl()
           
 
Method Summary
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.kns.bo.BusinessObject businessObject, String propertyName)
          Returns the url for any drill down links within the lookup (defers to its superclass unless it needs to get the url of the document that created this result pending entry)
 List getSearchResults(Map fieldValues)
          Generates the list of search results for this inquiry
 void setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService)
          Sets the generalLedgerPendingEntryService attribute value.
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
           
 void validateSearchParameters(Map fieldValues)
          Validates the fiscal year searched for in the inquiry
 
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, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PendingEntryLookupableHelperServiceImpl

public PendingEntryLookupableHelperServiceImpl()
Method Detail

getInquiryUrl

public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
                                                        String propertyName)
Returns the url for any drill down links within the lookup (defers to its superclass unless it needs to get the url of the document that created this result pending entry)

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)

validateSearchParameters

public void validateSearchParameters(Map fieldValues)
Validates the fiscal year searched for in the inquiry

Specified by:
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
validateSearchParameters in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
Parameters:
fieldValues - the values of the query
See Also:
AbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)

allRequiredsForAccountSearch

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

Parameters:
fieldValues - field values to check
Returns:
true if all the account-based required search fields are present; false otherwise

allRequiredsForDocumentSearch

protected boolean allRequiredsForDocumentSearch(Map fieldValues)
Determines if all the required values for an document based search are present - fiscal year and document number

Parameters:
fieldValues - field values to check
Returns:
true if all the document-based required search fields are present; false otherwise

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)

setGeneralLedgerPendingEntryService

public void setGeneralLedgerPendingEntryService(GeneralLedgerPendingEntryService generalLedgerPendingEntryService)
Sets the generalLedgerPendingEntryService attribute value.

Parameters:
generalLedgerPendingEntryService - The generalLedgerPendingEntryService to set.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Overrides:
setParameterService in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl


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