@Deprecated public interface LookupableHelperService extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMaintenanceNewOrCopyAction()
Deprecated.
Determines if underlying lookup bo has associated maintenance document that allows new or copy maintenance actions.
|
boolean |
allowsNewOrCopyAction(String documentTypeName)
Deprecated.
Determines if underlying lookup bo has associated document that allows new or copy maintenance actions.
|
void |
applyConditionalLogicForFieldDisplay()
Deprecated.
Performs conditional logic (based on current search values or other parameters) to
override field hidden, read-only, and required attributes previously set.
|
void |
applyFieldAuthorizationsFromNestedLookups(Field field)
Deprecated.
|
boolean |
checkForAdditionalFields(Map<String,String> fieldValues)
Deprecated.
Determines if there should be more search fields rendered based on already entered search criteria.
|
String |
getActionUrls(BusinessObject businessObject,
List pkNames,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated.
Builds string of action urls that can take place for a result row
|
String |
getBackLocation()
Deprecated.
|
Class |
getBusinessObjectClass()
Deprecated.
|
BusinessObjectDictionaryService |
getBusinessObjectDictionaryService()
Deprecated.
This method returns the BusinessObjectDictionaryService used to initialize this helper service and is used by Lookupable implementations to
retrieve the proper service.
|
List<Column> |
getColumns()
Deprecated.
|
List<HtmlData> |
getCustomActionUrls(BusinessObject businessObject,
List pkNames)
Deprecated.
This method is a template method that allows child classes to return their own custom action html data.
|
DataDictionaryService |
getDataDictionaryService()
Deprecated.
This method returns the DataDictionaryService used to initialize this helper service and is used by Lookupable implementations to
retrieve the proper service.
|
List<String> |
getDefaultSortColumns()
Deprecated.
This method returns a list of the default columns used to sort the result set.
|
String |
getDocFormKey()
Deprecated.
|
String |
getDocNum()
Deprecated.
|
Field |
getExtraField()
Deprecated.
get an extra field
|
HtmlData |
getInquiryUrl(BusinessObject businessObject,
String propertyName)
Deprecated.
Builds string an inquiry url for drill down on a result field
|
String |
getMaintenanceUrl(BusinessObject businessObject,
HtmlData htmlData,
List pkNames,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated.
This method builds a maintenance url.
|
Map<String,String[]> |
getParameters()
Deprecated.
|
String |
getPrimaryKeyFieldLabels()
Deprecated.
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
|
List<String> |
getReadOnlyFieldsList()
Deprecated.
Gets the readOnlyFieldsList attribute.
|
List<String> |
getReturnKeys()
Deprecated.
This method is public because some unit tests depend on it.
|
String |
getReturnLocation()
Deprecated.
|
HtmlData |
getReturnUrl(BusinessObject businessObject,
LookupForm lookupForm,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated.
This method builds the return url
|
HtmlData |
getReturnUrl(BusinessObject businessObject,
Map fieldConversions,
String lookupImpl,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated.
Builds the return value url.
|
List<Row> |
getRows()
Deprecated.
Returns a list of Row objects to be used to generate the search query screen
Generally, setDataObjectClass needs to be called with a non-null value for proper operation
|
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Deprecated.
Performs a search and returns result list.
|
List<? extends BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Deprecated.
Similar to getSearchResults, but the number of returned rows is not bounded
|
String |
getSupplementalMenuBar()
Deprecated.
This method gets the supplemental lookup menu if any
|
String |
getTitle()
Deprecated.
|
boolean |
isResultReturnable(BusinessObject object)
Deprecated.
Determines whether a given BusinessObject that's returned as one of the lookup's results is considered returnable, which means that for
single-value lookups, a "return value" link may be rendered, and for multiple value lookups, a checkbox is rendered.
|
boolean |
isSearchUsingOnlyPrimaryKeyValues()
Deprecated.
This method returns whether the previously executed getSearchResults used the primary key values to search, ignoring all non key values
|
void |
performClear(LookupForm lookupForm)
Deprecated.
This method allows for overriding the clear behavior
|
boolean |
performCustomAction(boolean ignoreErrors)
Deprecated.
performs custom actions.
|
Collection<? extends BusinessObject> |
performLookup(LookupForm lookupForm,
Collection<ResultRow> resultTable,
boolean bounded)
Deprecated.
This method performs the lookup and returns a collection of BO items
|
void |
setBackLocation(String backLocation)
Deprecated.
|
void |
setBusinessObjectClass(Class businessObjectClass)
Deprecated.
Initializes the lookup with a business object class.
|
void |
setDocFormKey(String docFormKey)
Deprecated.
|
void |
setDocNum(String docNum)
Deprecated.
|
void |
setFieldConversions(Map fieldConversions)
Deprecated.
Sets the requested fields conversions in the lookupable
|
void |
setParameters(Map<String,String[]> parameters)
Deprecated.
Initializes the lookup with the given Map of parameters.
|
void |
setReadOnlyFieldsList(List<String> readOnlyFieldsList)
Deprecated.
Sets the requested read only fields list in the lookupable
|
boolean |
shouldDisplayHeaderNonMaintActions()
Deprecated.
|
boolean |
shouldDisplayLookupCriteria()
Deprecated.
|
void |
validateSearchParameters(Map<String,String> fieldValues)
Deprecated.
Validates the values filled in as search criteria, also checks for required field values.
|
void setBusinessObjectClass(Class businessObjectClass)
businessObjectClass
- Class getBusinessObjectClass()
void setParameters(Map<String,String[]> parameters)
parameters
- Map<String,String[]> getParameters()
String getReturnLocation()
List<Column> getColumns()
void validateSearchParameters(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairsList<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairsException
List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
fieldValues
- boolean checkForAdditionalFields(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairsHtmlData getReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
businessObject
- - Instance of a business object containing the return valuesfieldConversions
- - Map of conversions mapping bo names to caller field names.lookupImpl
- - Current lookup impl namereturnKeys
- - Keys to returnHtmlData getReturnUrl(BusinessObject businessObject, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
businessObject
- lookupForm
- returnKeys
- String getActionUrls(BusinessObject businessObject, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
businessObject
- - Instance of a business object containing the return valuespkNames
- - List of primary key namesList<HtmlData> getCustomActionUrls(BusinessObject businessObject, List pkNames)
businessObject
- pkNames
- HtmlData getInquiryUrl(BusinessObject businessObject, String propertyName)
businessObject
- - Instance of a business object containing the return valuespropertyName
- - Name of the property in the business objectvoid setFieldConversions(Map fieldConversions)
fieldConversions
- List<String> getReadOnlyFieldsList()
void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
readOnlyFieldsList
- List<String> getReturnKeys()
String getDocFormKey()
void setDocFormKey(String docFormKey)
String getMaintenanceUrl(BusinessObject businessObject, HtmlData htmlData, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
businessObject
- htmlData
- pkNames
- boolean allowsMaintenanceNewOrCopyAction()
boolean allowsNewOrCopyAction(String documentTypeName)
List<Row> getRows()
DataDictionaryService getDataDictionaryService()
BusinessObjectDictionaryService getBusinessObjectDictionaryService()
void setBackLocation(String backLocation)
String getBackLocation()
Collection<? extends BusinessObject> performLookup(LookupForm lookupForm, Collection<ResultRow> resultTable, boolean bounded)
lookupForm
- resultTable
- bounded
- List<String> getDefaultSortColumns()
boolean isSearchUsingOnlyPrimaryKeyValues()
getPrimaryKeyFieldLabels()
String getPrimaryKeyFieldLabels()
isSearchUsingOnlyPrimaryKeyValues()
boolean isResultReturnable(BusinessObject object)
object
- an object from the search result setvoid performClear(LookupForm lookupForm)
boolean shouldDisplayHeaderNonMaintActions()
boolean shouldDisplayLookupCriteria()
String getSupplementalMenuBar()
boolean performCustomAction(boolean ignoreErrors)
ignoreErrors
- Field getExtraField()
void applyFieldAuthorizationsFromNestedLookups(Field field)
void applyConditionalLogicForFieldDisplay()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.