org.kuali.kfs.module.cam.businessobject.lookup
Class AssetLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
          extended by org.kuali.kfs.module.cam.businessobject.lookup.AssetLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService
Direct Known Subclasses:
AssetPaymentLookupableHelperServiceImpl

public class AssetLookupableHelperServiceImpl
extends org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl

This class overrids the base getActionUrls method

See Also:
Serialized Form

Field Summary
protected  AssetService assetService
           
 
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
searchUsingOnlyPrimaryKeyValues
 
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
AssetLookupableHelperServiceImpl()
           
 
Method Summary
protected  void convertOrganizationOwnerAccountField()
          Goes through all the rows, making sure that problematic field conversions are fixed
protected  String fixProblematicField(String problemChildField)
          Fixes the field conversions - replaces "organizationOwnerAccount.chartOfAccountsCode" with "organizationOwnerChartOfAccountsCode"
 AssetService getAssetService()
           
 List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject bo, List pkNames)
          Custom action urls for Asset.
protected  org.kuali.rice.kns.lookup.HtmlData getLoanUrl(Asset asset)
           
protected  org.kuali.rice.kns.lookup.HtmlData getMergeUrl(Asset asset)
           
protected  org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
           
 List<org.kuali.rice.kns.web.ui.Row> getRows()
          Overridden to fix a field conversion
protected  List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
           
protected  Properties getSeparateParameters(Asset asset)
           
protected  org.kuali.rice.kns.lookup.HtmlData getSeparateUrl(Asset asset)
           
protected  org.kuali.rice.kns.lookup.HtmlData getTransferUrl(Asset asset)
           
protected  org.kuali.rice.kns.lookup.HtmlData getViewAssetUrl(Asset asset)
           
 void setAssetService(AssetService assetService)
           
protected  void setRows()
          Overridden to fix a field conversion
 
Methods inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResults, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues
 
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, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, 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, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assetService

protected AssetService assetService
Constructor Detail

AssetLookupableHelperServiceImpl

public AssetLookupableHelperServiceImpl()
Method Detail

getCustomActionUrls

public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject bo,
                                                                    List pkNames)
Custom action urls for Asset.

Specified by:
getCustomActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getCustomActionUrls in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject, List pkNames)

getViewAssetUrl

protected org.kuali.rice.kns.lookup.HtmlData getViewAssetUrl(Asset asset)

getMergeUrl

protected org.kuali.rice.kns.lookup.HtmlData getMergeUrl(Asset asset)

getLoanUrl

protected org.kuali.rice.kns.lookup.HtmlData getLoanUrl(Asset asset)

getSeparateUrl

protected org.kuali.rice.kns.lookup.HtmlData getSeparateUrl(Asset asset)

getSeparateParameters

protected Properties getSeparateParameters(Asset asset)

getTransferUrl

protected org.kuali.rice.kns.lookup.HtmlData getTransferUrl(Asset asset)

getAssetService

public AssetService getAssetService()

setAssetService

public void setAssetService(AssetService assetService)

getRows

public List<org.kuali.rice.kns.web.ui.Row> getRows()
Overridden to fix a field conversion

Specified by:
getRows in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getRows in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.getRows()

setRows

protected void setRows()
Overridden to fix a field conversion

Overrides:
setRows in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.setRows()

convertOrganizationOwnerAccountField

protected void convertOrganizationOwnerAccountField()
Goes through all the rows, making sure that problematic field conversions are fixed


fixProblematicField

protected String fixProblematicField(String problemChildField)
Fixes the field conversions - replaces "organizationOwnerAccount.chartOfAccountsCode" with "organizationOwnerChartOfAccountsCode"

Parameters:
fieldConversions - the original field conversions
Returns:
the fixed field conversions

getSearchResultsHelper

protected List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues,
                                                                                      boolean unbounded)
Overrides:
getSearchResultsHelper in class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl

getPersonService

protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
Returns:
Returns the personService.


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