|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.lookup.KualiLookupableImpl
@Deprecated @Transactional public class KualiLookupableImpl
Kuali lookup implementation. Implements methods necessary to render the lookup and provides search and return methods.
Field Summary | |
---|---|
protected Class |
businessObjectClass
Deprecated. |
protected String |
extraOnLoad
Deprecated. |
protected static String[] |
IGNORE_LIST
Deprecated. |
protected LookupableHelperService |
lookupableHelperService
Deprecated. |
Constructor Summary | |
---|---|
KualiLookupableImpl()
Deprecated. Default constructor initializes services from spring |
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. This overridden method ... |
boolean |
checkForAdditionalFields(Map<String,String> fieldValues)
Deprecated. Determines if there should be more search fields rendered based on already entered search criteria. |
String |
getBackLocation()
Deprecated. |
Class |
getBusinessObjectClass()
Deprecated. |
protected BusinessObjectDictionaryService |
getBusinessObjectDictionaryService()
Deprecated. |
List<Column> |
getColumns()
Deprecated. Constructs the list of columns for the search results. |
String |
getCreateNewUrl()
Deprecated. Builds the Url for a maintenance new document for the lookup business object class |
protected String |
getCreateNewUrl(String url)
Deprecated. |
protected DataDictionaryService |
getDataDictionaryService()
Deprecated. |
List<String> |
getDefaultSortColumns()
Deprecated. This method returns a list of the default columns used to sort the result set. |
String |
getDocFormKey()
Deprecated. |
String |
getExtraButtonParams()
Deprecated. |
String |
getExtraButtonSource()
Deprecated. |
Field |
getExtraField()
Deprecated. This overridden method ... |
String |
getExtraOnLoad()
Deprecated. This overridden 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 |
List<String> |
getReturnKeys()
Deprecated. |
String |
getReturnLocation()
Deprecated. |
HtmlData |
getReturnUrl(BusinessObject bo,
Map fieldConversions,
String lookupImpl,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. Builds the return value url. |
List<Row> |
getRows()
Deprecated. |
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Deprecated. Uses Lookup Service to provide a basic search. |
List<? extends BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Deprecated. Uses Lookup Service to provide a basic unbounded search. |
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. calls the lookup helper service to do "clear" behaviors |
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. Performs a lookup that can only return one row. |
void |
setBackLocation(String backLocation)
Deprecated. |
void |
setBusinessObjectClass(Class boClass)
Deprecated. Sets the business object class for the lookup instance, then rows can be set for search render. |
void |
setDocFormKey(String docFormKey)
Deprecated. // this method is public because unit tests depend upon it |
void |
setExtraOnLoad(String extraOnLoad)
Deprecated. |
void |
setFieldConversions(Map fieldConversions)
Deprecated. Sets the requested fields conversions in the lookupable |
void |
setLookupableHelperService(LookupableHelperService lookupableHelperService)
Deprecated. Sets the lookupableHelperService attribute value. |
void |
setParameters(Map<String,String[]> parameters)
Deprecated. Initializes the lookup with the given Map of parameters. |
void |
setReadOnlyFieldsList(List<String> readOnlyFieldsList)
Deprecated. Sets the readOnlyFieldsList attribute value. |
boolean |
shouldDisplayHeaderNonMaintActions()
Deprecated. calls the lookup helper service to check if non maintenance actions should be displayed |
boolean |
shouldDisplayLookupCriteria()
Deprecated. calls the lookup helper service to check if criteria should be displayed |
void |
validateSearchParameters(Map<String,String> fieldValues)
Deprecated. Checks that any required search fields have value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String[] IGNORE_LIST
protected Class businessObjectClass
protected LookupableHelperService lookupableHelperService
protected String extraOnLoad
Constructor Detail |
---|
public KualiLookupableImpl()
Method Detail |
---|
public void setBusinessObjectClass(Class boClass)
setBusinessObjectClass
in interface Lookupable
boClass
- Class for the lookup business objectpublic void setParameters(Map<String,String[]> parameters)
setParameters
in interface Lookupable
parameters
- public Map<String,String[]> getParameters()
getParameters
in interface Lookupable
public List<Column> getColumns()
getColumns
in interface Lookupable
public void validateSearchParameters(Map<String,String> fieldValues)
validateSearchParameters
in interface Lookupable
fieldValues
- - Map of property/value pairsLookupable.validateSearchParameters(java.util.Map)
public List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded
in interface Lookupable
fieldValues
- - Map containing prop name keys and search values
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults
in interface Lookupable
fieldValues
- - Map containing prop name keys and search values
public HtmlData getReturnUrl(BusinessObject bo, Map fieldConversions, String lookupImpl, BusinessObjectRestrictions businessObjectRestrictions)
Lookupable
getReturnUrl
in interface Lookupable
bo
- - Instance of a business object containing the return valuesfieldConversions
- - Map of conversions mapping bo names to caller field names.lookupImpl
- - Current lookup impl name
public String getCreateNewUrl()
Lookupable
getCreateNewUrl
in interface Lookupable
Lookupable.getCreateNewUrl()
public String getHtmlMenuBar()
getHtmlMenuBar
in interface Lookupable
Lookupable.getHtmlMenuBar()
public String getSupplementalMenuBar()
getSupplementalMenuBar
in interface Lookupable
Lookupable.getSupplementalMenuBar()
public List<Row> getRows()
getRows
in interface Lookupable
Lookupable.getRows()
public String getTitle()
getTitle
in interface Lookupable
Lookupable.getTitle()
public String getReturnLocation()
getReturnLocation
in interface Lookupable
Lookupable.getReturnLocation()
public Class getBusinessObjectClass()
getBusinessObjectClass
in interface Lookupable
public List<String> getReturnKeys()
public String getExtraButtonSource()
getExtraButtonSource
in interface Lookupable
Lookupable.getExtraButtonSource()
public String getExtraButtonParams()
getExtraButtonParams
in interface Lookupable
Lookupable.getExtraButtonParams()
public List<String> getDefaultSortColumns()
Lookupable
getDefaultSortColumns
in interface Lookupable
public boolean checkForAdditionalFields(Map<String,String> fieldValues)
Lookupable
checkForAdditionalFields
in interface Lookupable
fieldValues
- - Map of property/value pairs
Lookupable.checkForAdditionalFields(java.util.Map)
public String getBackLocation()
public void setBackLocation(String backLocation)
backLocation
- The backLocation to set.public String getDocFormKey()
public void setDocFormKey(String docFormKey)
docFormKey
- The docFormKey to set.protected BusinessObjectDictionaryService getBusinessObjectDictionaryService()
public void setFieldConversions(Map fieldConversions)
Lookupable
setFieldConversions
in interface Lookupable
Lookupable.setFieldConversions(java.util.Map)
protected DataDictionaryService getDataDictionaryService()
public void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
setReadOnlyFieldsList
in interface Lookupable
readOnlyFieldsList
- The readOnlyFieldsList to set.public LookupableHelperService getLookupableHelperService()
Lookupable
getLookupableHelperService
in interface Lookupable
public void setLookupableHelperService(LookupableHelperService lookupableHelperService)
setLookupableHelperService
in interface Lookupable
lookupableHelperService
- The lookupableHelperService to set.public Collection<? extends BusinessObject> performLookup(LookupForm lookupForm, List<ResultRow> resultTable, boolean bounded)
performLookup
in interface Lookupable
Lookupable#performLookup(org.kuali.rice.krad.web.struts.form.LookupForm, java.util.List, boolean)
public boolean isSearchUsingOnlyPrimaryKeyValues()
Lookupable
isSearchUsingOnlyPrimaryKeyValues
in interface Lookupable
public String getPrimaryKeyFieldLabels()
Lookupable
getPrimaryKeyFieldLabels
in interface Lookupable
public void performClear(LookupForm lookupForm)
performClear
in interface Lookupable
Lookupable#performClear()
public boolean shouldDisplayHeaderNonMaintActions()
shouldDisplayHeaderNonMaintActions
in interface Lookupable
Lookupable.shouldDisplayHeaderNonMaintActions()
public boolean shouldDisplayLookupCriteria()
shouldDisplayLookupCriteria
in interface Lookupable
Lookupable.shouldDisplayLookupCriteria()
protected String getCreateNewUrl(String url)
public boolean performCustomAction(boolean ignoreErrors)
Lookupable
performCustomAction
in interface Lookupable
Lookupable.performCustomAction(boolean)
public Field getExtraField()
getExtraField
in interface Lookupable
Lookupable.getExtraField()
public void applyFieldAuthorizationsFromNestedLookups(Field field)
applyFieldAuthorizationsFromNestedLookups
in interface Lookupable
Lookupable#applyFieldAuthorizationsFromNestedLookups(org.kuali.rice.krad.web.ui.Field)
public String getExtraOnLoad()
getExtraOnLoad
in interface Lookupable
Lookupable.getExtraOnLoad()
public void setExtraOnLoad(String extraOnLoad)
setExtraOnLoad
in interface Lookupable
extraOnLoad
- the extraOnLoad to setpublic void applyConditionalLogicForFieldDisplay()
Lookupable
applyConditionalLogicForFieldDisplay
in interface Lookupable
Lookupable.applyConditionalLogicForFieldDisplay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |