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

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

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

Calls the access security service to simulate validation for the specified user, attribute, and action

See Also:
Serialized Form

Field Summary
protected  AccessSecurityService accessSecurityService
           
protected  List<org.kuali.rice.kns.web.ui.Row> rows
           
protected  UniversityDateService universityDateService
           
 
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
LOG, 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, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY
 
Constructor Summary
AccessSecuritySimulationLookupableHelperServiceImpl()
           
 
Method Summary
 List<org.kuali.rice.kns.web.ui.Column> getColumns()
           
protected  List<String> getDocumentTemplateFields()
          Builds List of search field names for searching document templates
protected  List<String> getInquiryTemplateFields()
          Builds List of search field names for searching the inquiry template
protected  List<String> getLookupTemplateFields()
          Builds List of search field names for searching the lookup template
 List<org.kuali.rice.kns.web.ui.Row> getRows()
           
 List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
           
protected  List<? extends org.kuali.rice.kns.bo.BusinessObject> runSimulation(org.kuali.rice.kim.bo.Person person, String attributeName, String templateId, org.kuali.rice.kim.bo.types.dto.AttributeSet additionalPermissionDetails)
           
 void setAccessSecurityService(AccessSecurityService accessSecurityService)
          Sets the accessSecurityService attribute value.
protected  void setRows()
           
 void setUniversityDateService(UniversityDateService universityDateService)
          Sets the universityDateService attribute value.
 
Methods inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResultsHelper, 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, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getCustomActionUrls, 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

accessSecurityService

protected AccessSecurityService accessSecurityService

universityDateService

protected UniversityDateService universityDateService

rows

protected List<org.kuali.rice.kns.web.ui.Row> rows
Constructor Detail

AccessSecuritySimulationLookupableHelperServiceImpl

public AccessSecuritySimulationLookupableHelperServiceImpl()
Method Detail

getSearchResults

public List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getSearchResults in class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
See Also:
KualiLookupableHelperServiceImpl.getSearchResults(java.util.Map)

runSimulation

protected List<? extends org.kuali.rice.kns.bo.BusinessObject> runSimulation(org.kuali.rice.kim.bo.Person person,
                                                                             String attributeName,
                                                                             String templateId,
                                                                             org.kuali.rice.kim.bo.types.dto.AttributeSet additionalPermissionDetails)
Parameters:
person -
attribute -
templateId -
additionalPermissionDetails -
Returns:

setRows

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

getRows

public List<org.kuali.rice.kns.web.ui.Row> getRows()
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()

getColumns

public List<org.kuali.rice.kns.web.ui.Column> getColumns()
Specified by:
getColumns in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getColumns in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.getColumns()

getInquiryTemplateFields

protected List<String> getInquiryTemplateFields()
Builds List of search field names for searching the inquiry template

Returns:
List containing lookup field names

getLookupTemplateFields

protected List<String> getLookupTemplateFields()
Builds List of search field names for searching the lookup template

Returns:
List containing lookup field names

getDocumentTemplateFields

protected List<String> getDocumentTemplateFields()
Builds List of search field names for searching document templates

Returns:
List containing lookup field names

setAccessSecurityService

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

Parameters:
accessSecurityService - The accessSecurityService to set.

setUniversityDateService

public void setUniversityDateService(UniversityDateService universityDateService)
Sets the universityDateService attribute value.

Parameters:
universityDateService - The universityDateService to set.


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