org.kuali.kfs.sec.businessobject.lookup
Class AccessSecurityAccountBalanceByConsolidationLookupableHelperServiceImpl

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

public class AccessSecurityAccountBalanceByConsolidationLookupableHelperServiceImpl
extends AccountBalanceByConsolidationLookupableHelperServiceImpl

Override of AccountBalanceByConsolidation lookup helper to integrate access security

See Also:
Serialized Form

Field Summary
protected  AccessSecurityService accessSecurityService
           
protected  org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService
           
protected  ObjectTypeService objectTypeService
           
 
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
AccessSecurityAccountBalanceByConsolidationLookupableHelperServiceImpl()
           
 
Method Summary
protected  List buildAccountBalanceTotals(List balanceDetails, Integer universityFiscalYear, String subAccountNumber, TransientBalanceInquiryAttributes dbo)
          Rebuilds the account balance total lines, logic mostly duplicated from AccountBalanceServiceImpl:findAccountBalanceByConsolidation
 List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map fieldValues)
          Checks security on the detail balance records, if user does not have access to view any of those records they are removed and total lines are updated
 void setAccessSecurityService(AccessSecurityService accessSecurityService)
          Sets the accessSecurityService attribute value.
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
          Sets the kualiConfigurationService attribute value.
 void setObjectTypeService(ObjectTypeService objectTypeService)
          Sets the objectTypeService attribute value.
 
Methods inherited from class org.kuali.kfs.gl.businessobject.lookup.AccountBalanceByConsolidationLookupableHelperServiceImpl
getInquiryUrl, setAccountBalanceService
 
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, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, 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

accessSecurityService

protected AccessSecurityService accessSecurityService

objectTypeService

protected ObjectTypeService objectTypeService

kualiConfigurationService

protected org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService
Constructor Detail

AccessSecurityAccountBalanceByConsolidationLookupableHelperServiceImpl

public AccessSecurityAccountBalanceByConsolidationLookupableHelperServiceImpl()
Method Detail

getSearchResults

public List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map fieldValues)
Checks security on the detail balance records, if user does not have access to view any of those records they are removed and total lines are updated

Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getSearchResults in class AccountBalanceByConsolidationLookupableHelperServiceImpl
Parameters:
fieldValues - - Map containing prop name keys and search values
Returns:
a List of found business objects
See Also:
AccountBalanceByConsolidationLookupableHelperServiceImpl.getSearchResults(java.util.Map)

buildAccountBalanceTotals

protected List buildAccountBalanceTotals(List balanceDetails,
                                         Integer universityFiscalYear,
                                         String subAccountNumber,
                                         TransientBalanceInquiryAttributes dbo)
Rebuilds the account balance total lines, logic mostly duplicated from AccountBalanceServiceImpl:findAccountBalanceByConsolidation

Parameters:
balanceDetails - List of AccountBalance detail lines
universityFiscalYear - Fiscal Year being searched
subAccountNumber - Sub Account number being searched
dbo - TransientBalanceInquiryAttributes object that will be set on total lines
Returns:
List of AccountBalance total lines

setAccessSecurityService

public void setAccessSecurityService(AccessSecurityService accessSecurityService)
Sets the accessSecurityService attribute value.

Parameters:
accessSecurityService - The accessSecurityService to set.

setObjectTypeService

public void setObjectTypeService(ObjectTypeService objectTypeService)
Sets the objectTypeService attribute value.

Parameters:
objectTypeService - The objectTypeService to set.

setKualiConfigurationService

public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value.

Parameters:
kualiConfigurationService - The kualiConfigurationService to set.


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