|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface Lookupable
This class defines an interface for lookupables. They should act as facades for LookupableHelperServices and also expose bean handlers (getCreateNewUrl, getHtmlMenuBar, getTitle, getRows, getExtraButton{Source,Params})
Method Summary | |
---|---|
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. |
Class<? extends BusinessObject> |
getBusinessObjectClass()
Deprecated. |
List<Column> |
getColumns()
Deprecated. |
String |
getCreateNewUrl()
Deprecated. Builds the Url for a maintenance new document for the lookup business object class |
List<String> |
getDefaultSortColumns()
Deprecated. This method returns a list of the default columns used to sort the result set. |
String |
getExtraButtonParams()
Deprecated. |
String |
getExtraButtonSource()
Deprecated. |
Field |
getExtraField()
Deprecated. get extra field |
String |
getExtraOnLoad()
Deprecated. method returns the extraOnLoad variable. |
String |
getHtmlMenuBar()
Deprecated. |
LookupableHelperService |
getLookupableHelperService()
Deprecated. Returns the LookupableHelperService designated to help this lookup |
Map<String,String[]> |
getParameters()
Deprecated. |
String |
getPrimaryKeyFieldLabels()
Deprecated. Returns a comma delimited list of primary key field labels, as defined in the DD |
String |
getReturnLocation()
Deprecated. |
HtmlData |
getReturnUrl(BusinessObject businessObject,
Map<String,String> fieldConversions,
String lookupImpl,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. Builds the return value url. |
List<Row> |
getRows()
Deprecated. |
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. |
String |
getTitle()
Deprecated. |
boolean |
isSearchUsingOnlyPrimaryKeyValues()
Deprecated. Returns whether this search was performed using the values of the primary keys only |
void |
performClear(LookupForm lookupForm)
Deprecated. This method allows for customization of the lookup clear |
boolean |
performCustomAction(boolean ignoreErrors)
Deprecated. This method is called from a custom action button or script |
Collection<? extends BusinessObject> |
performLookup(LookupForm lookupForm,
List<ResultRow> resultTable,
boolean bounded)
Deprecated. This method performs the lookup and returns a collection of lookup items |
void |
setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
Deprecated. Initializes the lookup with a businss object class. |
void |
setExtraOnLoad(String extraOnLoad)
Deprecated. |
void |
setFieldConversions(Map<String,String> fieldConversions)
Deprecated. Sets the requested fields conversions in the lookupable |
void |
setLookupableHelperService(LookupableHelperService helper)
Deprecated. Sets the helper service for instance |
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. This method checks whether the header non maint actions should be shown |
boolean |
shouldDisplayLookupCriteria()
Deprecated. This method checks whether the criteria should be shown |
void |
validateSearchParameters(Map<String,String> fieldValues)
Deprecated. Validates the values filled in as search criteria, also checks for required field values. |
Method Detail |
---|
void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
boClass
- Class<? extends BusinessObject> getBusinessObjectClass()
void setParameters(Map<String,String[]> parameters)
parameters
- Map<String,String[]> getParameters()
String getHtmlMenuBar()
String getSupplementalMenuBar()
List<Row> getRows()
String getTitle()
String getReturnLocation()
List<Column> getColumns()
void validateSearchParameters(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairsCollection<? extends BusinessObject> performLookup(LookupForm lookupForm, List<ResultRow> resultTable, boolean bounded)
lookupForm
- resultTable
- bounded
-
List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairs
Exception
List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
fieldValues
-
String getExtraButtonSource()
String getExtraButtonParams()
boolean checkForAdditionalFields(Map<String,String> fieldValues)
fieldValues
- - Map of property/value pairs
HtmlData getReturnUrl(BusinessObject businessObject, Map<String,String> fieldConversions, String lookupImpl, 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 name
String getCreateNewUrl()
businessObject
-
void setFieldConversions(Map<String,String> fieldConversions)
fieldConversions
- void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
readOnlyFieldsList
- void setLookupableHelperService(LookupableHelperService helper)
helper
- the helper serviceLookupableHelperService getLookupableHelperService()
boolean isSearchUsingOnlyPrimaryKeyValues()
String getPrimaryKeyFieldLabels()
List<String> getDefaultSortColumns()
void performClear(LookupForm lookupForm)
boolean shouldDisplayHeaderNonMaintActions()
boolean shouldDisplayLookupCriteria()
boolean performCustomAction(boolean ignoreErrors)
Field getExtraField()
String getExtraOnLoad()
void setExtraOnLoad(String extraOnLoad)
void applyFieldAuthorizationsFromNestedLookups(Field field)
void applyConditionalLogicForFieldDisplay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |