public abstract class KraLookupableHelperServiceImpl
extends org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MEDUSA |
LOG, searchUsingOnlyPrimaryKeyValuesACTION_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 |
|---|
KraLookupableHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEditHtmlData(List<org.kuali.rice.kns.lookup.HtmlData> htmlDataList,
org.kuali.rice.krad.bo.BusinessObject businessObject) |
List<org.kuali.rice.kns.lookup.HtmlData> |
getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject businessObject,
List pkNames)
create 'edit' link
|
protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData |
getCustomLink(org.kuali.rice.krad.document.Document document,
String methodToCall,
String linkName,
Boolean readOnly) |
protected abstract String |
getDocumentTypeName()
This method to set document type of the lookup bo's document
|
protected abstract String |
getHtmlAction()
htmlaction for 'edit' link
|
protected abstract String |
getKeyFieldName()
This method is set the key field to retrieve bo for editing.
|
protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData |
getMedusaLink(org.kuali.rice.krad.document.Document document,
Boolean readOnly) |
protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData |
getViewLink(org.kuali.rice.krad.document.Document document) |
Collection |
performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
Collection resultTable,
boolean bounded)
To force to it to show action links, such as 'edit' if it is not 'lookup' to search of return value.
|
protected void |
setBackLocationDocFormKey(Map<String,String> fieldValues)
This method to set both fields if child class override getSearchResults
|
protected void |
updateLookupField(org.kuali.rice.kns.web.ui.Field field,
String keyName,
String className)
This method is to set up field definitions for lookup fields.
|
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResults, getSearchResultsHelper, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValuesaddToReturnHref, 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, getRows, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, 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 String MEDUSA
public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject businessObject, List pkNames)
getCustomActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperServicegetCustomActionUrls in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplAbstractLookupableHelperServiceImpl.getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject, java.util.List)protected void addEditHtmlData(List<org.kuali.rice.kns.lookup.HtmlData> htmlDataList, org.kuali.rice.krad.bo.BusinessObject businessObject)
businessObject - protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData getViewLink(org.kuali.rice.krad.document.Document document)
protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData getMedusaLink(org.kuali.rice.krad.document.Document document,
Boolean readOnly)
protected org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData getCustomLink(org.kuali.rice.krad.document.Document document,
String methodToCall,
String linkName,
Boolean readOnly)
document - methodToCall - method to call on actionlinkName - readOnly - whether the document should be readOnly or notpublic Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, Collection resultTable, boolean bounded)
performLookup in interface org.kuali.rice.kns.lookup.LookupableHelperServiceperformLookup in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImplorg.kuali.core.lookup.AbstractLookupableHelperServiceImpl#performLookup(org.kuali.core.web.struts.form.LookupForm, java.util.Collection, boolean)protected void setBackLocationDocFormKey(Map<String,String> fieldValues)
fieldValues - protected void updateLookupField(org.kuali.rice.kns.web.ui.Field field,
String keyName,
String className)
field - keyName - className - protected abstract String getHtmlAction()
protected abstract String getDocumentTypeName()
protected abstract String getKeyFieldName()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.