@Transactional public class KualiLookupableHelperServiceImpl extends AbstractLookupableHelperServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
protected boolean |
searchUsingOnlyPrimaryKeyValues |
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 and Description |
|---|
KualiLookupableHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
Get the name of the property which represents the ExternalizableBusinessObject for the given property.
|
protected Class<? extends ExternalizableBusinessObject> |
getExternalizableBusinessObjectClass(Class boClass,
String propertyName)
Given an property on the main BO class, return the defined type of the ExternalizableBusinessObject.
|
protected Map<String,String> |
getExternalizableBusinessObjectFieldValues(String eboPropertyName,
Map<String,String> fieldValues)
Return the EBO fieldValue entries explicitly for the given eboPropertyName.
|
protected List<String> |
getExternalizableBusinessObjectProperties(Class boClass,
Map<String,String> fieldValues)
Get the complete list of all properties referenced in the fieldValues that are ExternalizableBusinessObjects.
|
String |
getPrimaryKeyFieldLabels()
Returns a comma delimited list of primary key field labels, to be used on the UI to tell the user which fields were used to search
These labels are generated from the DD definitions for the lookup fields
|
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic search.
|
protected List<? extends BusinessObject> |
getSearchResultsHelper(Map<String,String> fieldValues,
boolean unbounded)
This method does the actual search, with the parameters specified, and returns the result.
|
List<? extends BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic unbounded search.
|
protected boolean |
hasExternalBusinessObjectProperty(Class boClass,
Map<String,String> fieldValues)
Checks whether any of the fieldValues being passed refer to a property within an ExternalizableBusinessObject.
|
protected boolean |
isExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
Check whether the given property represents a property within an EBO starting
with the sampleBo object given.
|
boolean |
isSearchUsingOnlyPrimaryKeyValues()
This method returns whether the previously executed getSearchResults used the primary key values to search, ignoring all non key values
|
protected Map<String,String> |
removeExternalizableBusinessObjectFieldValues(Class boClass,
Map<String,String> fieldValues)
Returns a map stripped of any properties which refer to ExternalizableBusinessObjects.
|
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, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getRows, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, performLookup, 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, validateSearchParameterWildcardAndOperatorsprotected static final org.apache.log4j.Logger LOG
protected boolean searchUsingOnlyPrimaryKeyValues
public KualiLookupableHelperServiceImpl()
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface LookupableHelperServicegetSearchResults in class AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search valuesLookupableHelperService.getSearchResults(java.util.Map)public List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface LookupableHelperServicegetSearchResultsUnbounded in class AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search valuesLookupableHelperService.getSearchResultsUnbounded(java.util.Map)protected boolean isExternalBusinessObjectProperty(Object sampleBo, String propertyName)
protected String getExternalBusinessObjectProperty(Object sampleBo, String propertyName)
protected boolean hasExternalBusinessObjectProperty(Class boClass, Map<String,String> fieldValues)
protected Map<String,String> removeExternalizableBusinessObjectFieldValues(Class boClass, Map<String,String> fieldValues)
protected Map<String,String> getExternalizableBusinessObjectFieldValues(String eboPropertyName, Map<String,String> fieldValues)
protected List<String> getExternalizableBusinessObjectProperties(Class boClass, Map<String,String> fieldValues)
protected Class<? extends ExternalizableBusinessObject> getExternalizableBusinessObjectClass(Class boClass, String propertyName)
boClass - propertyName - protected List<? extends BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
fieldValues - A Map of the fieldNames and fieldValues to be searched on.unbounded - Whether the results should be bounded or not to a certain max size.public boolean isSearchUsingOnlyPrimaryKeyValues()
LookupableHelperServiceisSearchUsingOnlyPrimaryKeyValues in interface LookupableHelperServiceisSearchUsingOnlyPrimaryKeyValues in class AbstractLookupableHelperServiceImplLookupableHelperService.isSearchUsingOnlyPrimaryKeyValues()public String getPrimaryKeyFieldLabels()
getPrimaryKeyFieldLabels in interface LookupableHelperServicegetPrimaryKeyFieldLabels in class AbstractLookupableHelperServiceImplLookupableHelperService.isSearchUsingOnlyPrimaryKeyValues(),
LookupableHelperService.getPrimaryKeyFieldLabels()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.